truffle-box / tutorialtoken-box

A box containing all you need to get started with our OpenZeppelin (TutorialToken) tutorial.
MIT License
56 stars 23 forks source link

It doesn't display the balance correctly and doesn't start Metamask. #2

Open alexsicart opened 7 years ago

alexsicart commented 7 years ago

Hello! I've downloaded this truffle-box & completed several times the tutorial, and doesn't display the balance (It shows 0), when I've written this

  string public name = 'TutorialToken';
  string public symbol = 'TT';
  uint public decimals = 2;
  uint public INITIAL_SUPPLY = 12000;

Doesn't shows anything, only 0, and when I try to transfer doesn't make anything, I have the testrpc activated, and with metamask running Localhost:8545.

raid5 commented 7 years ago

Try importing one of your private keys that is displayed when you start up testrpc into MetaMask. I had a similar issue where Account 0 in MetaMask had a zero balance but I was able to import multiple accounts by their private key.

balibou commented 6 years ago

I had this issue too @alexsicart . My solution:

Et voila:

screen shot 2017-12-10 at 16 57 40