pocketh
pocketh copied to clipboard
Feature Request: Take Abi and create class methods
Here's a feature request:
It would be really cool if we could give pocketh an ABI and it would auto-generate a class where the methods are the smart contract functions. So for example:
let abi = erc20ABI; let token = new ERC20(abi, account, web3provider, defaultGas);
token.mint() token.transfer() token.burn()
Maybe something like that? Just an Idea!
Hey @crazyrabbitLTC! Not sure I follow... Where would erc20ABI come from and what would it be?