0.0.20 • Published 3 years ago

oluup v0.0.20

Weekly downloads
-
License
MIT
Repository
github
Last release
3 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

3 years ago

0.0.19

3 years ago

0.0.18

3 years ago

0.0.17

3 years ago

0.0.16

3 years ago

0.0.15

3 years ago

0.0.14

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago