human-standard-multi-collectible-abi

1.0.4 • Public • Published

Human Standard Multi Collectible ABI

A simple node module that exports the Ethereum ABI for ERC 1155 compatible tokens.

Use

import Web3 from 'web3';

const abi = require('human-standard-multi-collectible-abi');
const web3 = new Web3(Web3.givenProvider || 'http://localhost:8545');

const collectible = new web3.eth.Contract(abi, contractAddress);

// Get token's balance
const balance = await collectible.methods.balanceOf(walletPublicAddress,tokenId).call()

References

Package Sidebar

Install

npm i human-standard-multi-collectible-abi

Weekly Downloads

25

Version

1.0.4

License

ISC

Unpacked Size

6.79 kB

Total Files

3

Last publish

Collaborators

  • gantunesr