Easy Javascript library to interact with Ethereum ERC20 tokens.
npm install erc20-js
const erc20 = require('erc20-js');
const tokenInst = new erc20.ERC20(tokenContractAddress);
tokenInst.name().then(function(name) {
...
});
erc20.OmiseGo.totalSupply().then(function(supply) {
...
});
- Add unit tests
- Add dependencies (web3.js)