Skip to content
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

Can't switch chain with universalWalletConnector #22

Open
robyn3choi opened this issue Mar 27, 2024 · 0 comments
Open

Can't switch chain with universalWalletConnector #22

robyn3choi opened this issue Mar 27, 2024 · 0 comments

Comments

@robyn3choi
Copy link

Describe the bug
When connected with the universal wallet connector, calling the switchChain method from wagmi's useSwitchChain hook doesn't do anything. I also noticed that the universal wallet connector doesn't have a switchChain method on it.

To Reproduce
Steps to reproduce the behavior:

  1. add universalWalletConnector as a connector in wagmi's createConfig(), making sure to include all chains and networks.
  2. Connect with that connector
  3. Call switchChain from the useSwitchChain hook

Expected behavior
It should switch chains.

Desktop (please complete the following information):

  • OS: macOS 14
  • Browser: Google Chrome
  • Version 123.0.6312.59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant