Skip to content

bloq/erc-20-abi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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