rubb1sh / Roppo

npm module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

erc-20-abi

Build Status

Just the ERC-20 standard token contract ABI in an NPM package. As simple as that!

Install

npm install erc-20-abi

Usage

const abi = require('erc-20-abi')

const token = new web3.eth.Contract(abi, address)

token.methods.symbol().call().then(console.log) // prints the token's symbol

License

MIT

About

npm module

License:MIT License