interface icon indicating copy to clipboard operation
interface copied to clipboard

WalletConnect V2 the address doesn't change according to the network

Open MaksHladun opened this issue 2 years ago • 4 comments

Bug Description When you connect via walletconnect v2 and change the network, the wallet address does not change, chain 1 is always displayed. Although balances and tokens are requested for the selected network, but with the wrong wallet address

Steps to Reproduce

  1. You connect the wallet through walletconnect v2, you can even through the official test wallethttps://react-wallet.walletconnect.com/walletconnect.

https://github.com/Uniswap/interface/assets/91897479/a36ba0c9-7efa-4c0d-b561-fe8f90d52b41

  1. Сhange the network in dapp.
  2. See that the wallet address does not change according to the network.

Expected Behavior The wallet address should vary depending on the selected network

MaksHladun avatar Jun 15 '23 09:06 MaksHladun

+1

I am facing the same issue

luanccp avatar Jun 21 '23 12:06 luanccp

I am not familiar with the pattern you're describing. I would always expect the address to remain the same as networks change. (Since the key pair is valid on all networks.)

What wallet are you using and how is it configured?

JFrankfurt avatar Jun 22 '23 01:06 JFrankfurt

Also experiencing this problem. @JFrankfurt on Fireblocks wallet the address for your Mainnet Eth is always different from your Testnet address.

Besides, WalletConnectV2 allows you to supply an address for each chain separately, I expect that if I supply different addresses they are not ignored by the dapp.

amiryadid-fb avatar Jun 28 '23 14:06 amiryadid-fb

We are facing the same issue, wallets can have different addresses on different EVM networks, and changing chains should update the address and assets. It requires an additional page refresh on Uniswap after changing the chain to show the correct address and assets.

vivekkumar15 avatar Oct 29 '23 16:10 vivekkumar15