Not able to switch network Trustwallet dapp browser chainID sticks
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.5k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Bug Description
Trust wallet locks to a single network and unable to change, not sure if it's wallet related since the trustwallet has a different setup for selecting chain ID.
Steps to Reproduce
open trustwallet connect to uniswap after try to change chain (either in UI or wallet)
Steps to change chain ID
I am only able to switch after clearing all app data and re initializing the wallet with seed, at this point I'm able to choose the locked chain ID, by using the correct chain in the URL ie
https://app.uniswap.org/#/swap?chain=mainnet for ETHER
https://app.uniswap.org/#/swap?chain=polygon for poly
first time loading will ask for wallet connection, at this point it is needed to choose the same network used in the URL by clicking the wallet and selecting the chain
should load to proper chain.


repeat steps to change networks :(
Expected Behavior
using either UI or wallet (preferably both) would allow to change between chains
Additional Context


Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in Trust Wallet's dapp browser with the mentioned Uniswap swap URLs for mainnet and Polygon. Compare changing the chain from the Uniswap UI and wallet, including after reconnecting; done means switching between those chains works without clearing app data or reinitializing the wallet.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- blockchain, typescript
- Domain
- blockchain, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100