WalletConnect/web3modal-examples

switchNetwork

Closed this issue · 1 comments

https://github.com/WalletConnect/web3modal-examples/tree/main/web3modal-wagmi-html
Why is the Demo configured with chains that cannot be switched
image

xzilja commented

Dapp can configure any chains they want, we chose these 4 for examples.

When connected to wallet, modal shows only chains that were approved by it, in this case looks like only ethereum was approved.

If wallet also approved wallet_addEthereumChain method, all chains are available.

What you are seeing (just 1 approved chain) usually happens on wallets who have not fully implemented WalletConnect v2