burner-wallet / burner-wallet-2

A modular, extendable Burner Wallet
MIT License
87 stars 39 forks source link

Local wallet does not show up Ganache balance #7

Closed PaulRBerg closed 4 years ago

PaulRBerg commented 4 years ago

Current Behavior

When running the local wallet, the ganache balance does not show up in the UI, even if the terminal I am told there has been a transfer.

Expected Behavior

The balance should show up in the UI, according to the development guide ("running yarn start will load Ganache ETH into the Burner Wallet account before starting the development server").

Description

  1. cd ./local-wallet && yarn run install-all
  2. yarn run start
  3. Transfer is logged in the terminal
  4. Balance does not show up in the UI

Sending 1 ETH from 0x90F8bf6A479f320ead074411a4B0e7944Ea8c9C1 to 0x6e7Dfb3179d78505414F78C69401e3C9ecf5aA5A

Screen Shot 2019-09-29 at 00 50 34

Environment

PaulRBerg commented 4 years ago

Update: the address in the terminal log does not match the address in the UI. If I connect to my local ganache node and query the balance of the terminal address via an RPC call, I can see the correct balance of 1 Ether.

It seems the local wallet somehow creates a different account on startup.

dmihal commented 4 years ago

Do you know if the wallet was using the address from metamask?

PaulRBerg commented 4 years ago

@dmihal Yup, that must be it. I've just recognised my development account in the screenshot. Sorry!

This MetaMask issue keeps popping up. Particularly for the local wallet, maybe it'd be worth it to ignore any injected web3?