Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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