Skip to content

Instantly share code, notes, and snippets.

@yangga
Last active April 21, 2019 00:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yangga/f66fc4200378893c9f5566339cc08452 to your computer and use it in GitHub Desktop.
Save yangga/f66fc4200378893c9f5566339cc08452 to your computer and use it in GitHub Desktop.
truffle(develop)> let instance = await ToToToken.deployed()
truffle(develop)> instance.totalSupply()
<BN: 71afd498cfff6>
truffle(develop)> let accounts = await web3.eth.getAccounts()
truffle(develop)> instance.balanceOf(accounts[0])
<BN: 71afd498cfff6>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment