0.0.20 • Published 2 years ago

oluup v0.0.20

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

oluup-node

Nodejs package for Oluup

Install

yarn add oluup

Node And Get Contract

import Oluup from 'oluup';

// Get Node, Testnet or Mainnet
const OluupNode = new Oluup(wallet.ethereum); // eth provider.

// Collection Contract Address
const contract_address = "xxxxxx";

// Contract Object
const contract = await OluupNode.contract("Single", contract_address);

Mint

// Example token uri
const tokenURI = "https://gateway.pinata.cloud/ipfs/QmYFmJgQGH4uPHRYN15Xdv4aLd9o4Aq63y1e4GgN6kj5aK/2";

// Mint
contract.mint({
    tokenURI,
    from: wallet.account, // Minter Account
    price: "0.01", // Nft price
});

İpfs

const tokenURI = await OluupNode.ipfs({
  name: "dsdsds",
  description: "dsdsdss",
  image,

  attributes: [
    {
      trait_type: "Body",
      value: "Standard",
    },
  ],
});
0.0.20

2 years ago

0.0.19

2 years ago

0.0.18

2 years ago

0.0.17

2 years ago

0.0.16

2 years ago

0.0.15

2 years ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago