Closed medied closed 6 years ago
Forgot to state am using web3 v0.20.7
Take a look at:
ethjs -> https://github.com/ethjs
bignumberJS -> https://github.com/MikeMcl/bignumber.js/
NOTE: I found that with web3 if I needed to make a call for token symbol, token balance, total supply etc I would have to set something like setTimeout to wait for a response (sometimes its a little slow)
On Thu, Oct 18, 2018 at 10:05 AM Eduardo Medina notifications@github.com wrote:
Forgot to state am using web3 v0.20.7
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/danfinlay/human-standard-token-abi/issues/3#issuecomment-431021969, or mute the thread https://github.com/notifications/unsubscribe-auth/AZTrFVNTefBhJi0OBJsCYpdqFHwCoQqbks5umIqkgaJpZM4XnNKi .
thanks @conorwatt1, ended up figuring out the issue was in web3 provider setup
@danfinlay am pretty happy to have come across you human-standard-token-abi package as I was having issues importing abi manually. Those issues were resolved with your package but it seems I'm missing something from the set up still as I'm not getting correct values, allow me to expand:
truffle develop
with port 9545const contract = web3.eth.contract(abi).at(contractAddress);
seems to be finetotalSupply()
andbalanceOf()
return empty bigNumbers/0balanceOf
in the Chrome console thoughHope this is making sense. Should I take care of working in client/server side in Meteor? Any ideas on what I could be missing?