0

I made a customrpc network on metamask using the correct server and imported a private key from ganache, which worked but the eth balance is displaying 0 when I expected it to display 100.

According to some user reports adding a / to the end of the rpc server fixes the problem, but it didn't work for me. I also deleted and reinstalled metamask from chrome, restarted computer and that didn't work either.

Does anyone know why this might be happening and some possible solutions that might fix it? Do i have to install some dependencies or something to sync the two clients? or perhaps I just give it some time to load the proper balances, maybe the network is clogged idk.

Any help would be greatly appreciated.

  • /*displaying 0 when I expected it to display 100*/ did you restart ganache after connect ? if yes ganache generated new address. I had similar problems with metamask ganache , sometimes Metamask was crashing stoped showing balance. – Baracuda May 9 at 19:44
1

This might be a problem with copy and pasting the Ganance RPC URL directly from the UX.

Unfortunately, the UX shows HTTP://127.0.0.1:7545 with a capital HTTP, but you should use http://127.0.0.1:7545 with a lowercase http, or else it won't work and you will get a balance of 0 in Metamask :(

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.