erc-20-abi

ERC-20 token ABI

Usage no npm install needed!

<script type="module">
  import erc20Abi from 'https://cdn.skypack.dev/erc-20-abi';
</script>

README

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