Uniswap / Uniswap/interface

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

Open
#6,771 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
5.5k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named in the issue. Start by reproducing the WalletConnect V2 flow, changing the network in the dapp, and tracing where the selected chain and displayed wallet address are read. Done means the address updates for the selected network while balances and tokens continue to use the corresponding network.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.