WalletConnectModalFlutter icon indicating copy to clipboard operation
WalletConnectModalFlutter copied to clipboard

Metamask balance (cannot read property 'balance' of undefined

Open Hardu2203 opened this issue 2 years ago • 2 comments

          Hi Luzzotica,

Thank you for all the effort, I appreciate it.

I tried with the latest metamask version. And it seems like it cannot find the return value balance?

image

Everything in the code looks fine to me, what wallet did you use while testing?

Also the transaction gets automatically rejected which is strange as well...

image

Originally posted by @Hardu2203 in https://github.com/WalletConnect/WalletConnectModalFlutter/issues/13#issuecomment-1703892492

Hardu2203 avatar Sep 02 '23 17:09 Hardu2203

Trust wallet is working, which is awesome!!

But it is returning the transaction hash... not the return value of the function?

I would expect it to return the dollar value that Vitalik has in USDT?

Hardu2203 avatar Sep 09 '23 17:09 Hardu2203

Also trust wallet on mobile does not support custom rpc. So it is not great for local development as you cannot connect to a local ganache blockchain rpc instance

Hardu2203 avatar Sep 25 '23 17:09 Hardu2203