Package Exports
- erc-20-abi
- erc-20-abi/src/abi.json
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (erc-20-abi) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
erc-20-abi
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