-
Notifications
You must be signed in to change notification settings - Fork 635
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to select chain when connecting from WalletConnectV2 #4924
Comments
Hey there! I'm from the WalletConnect team, taking a look |
I'd recommend setting |
We have also tried this, but it does not seem to fix the chain selection, is the expectation that after both chains are requested, the chainId is taken from the header of that individual request? |
I'm facing the similar issue on Android Rainbow. It connects to the first network from the wagmi chains list (optimism in this case), but I'm unable to switch network in Rainbow Android app. It doesn't offer Switch Network option at all, I have only Switch Wallet and Disconnect options. I've configured wagmi (v0.12.18) like this:
The same thing with wagmi v1.3.5. |
hmm, it appears initializing the mobile eip155 provider with |
I have a similar problem so I change the sessionParams to this :
rainbow wallet connected success but when I request
the session.namespaces maybe not include |
I am getting this with Goerli and @wagmi/core latest |
hey everybody, we rolled out support for optional namespaces a few weeks ago which should alleviate any network specific issues as well as remove connection errors based on unsupported RPC methods, etc as for unsupported RPC methods, rainbow shows all of a users assets across all supported networks so we don't fully support with walletconnect v2 this shouldn't be a problem since the connection will support all of the networks concurrently as well Closing this for now but please reach out if anything else isn't working as expect! 🌈 |
I am currently implementing @walletconnect/modal-react-native with the latest version of Rainbow.
During connection I am having issues selecting the chain I would like to use.
I am initializing walletconnectv2 with
However, when I attempt to connect I am unable to choose which chain I would like to connect with despite both namespaces declared showing up:
If i attempt a subsequent request I am defaulted to the chain my Rainbow app is already on.
Additionally, because
wallet_switchEthereumChain
is unsupported:I am unable to initialize a WalletConnect session that allows other wallets to use
wallet_switchEthereumChain
without disrupting the ability to connect with Rainbow.The text was updated successfully, but these errors were encountered: