You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 7, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 7, 2026. It is now read-only.
hey @damianlluch , this depends on your connector - but the good news is that the complexity is mostly abstracted for you. typically, if a connector's activate method takes something like a chainId parameter (see e.g. https://github.com/NoahZinsmeister/web3-react/blob/main/packages/metamask/src/index.ts#L109), the connector will handle the relevant network switching logic (in this case, using wallet_switchEthereumChain)
Activity
NoahZinsmeister commentedon Feb 24, 2022
hey @damianlluch , this depends on your connector - but the good news is that the complexity is mostly abstracted for you. typically, if a connector's
activatemethod takes something like a chainId parameter (see e.g. https://github.com/NoahZinsmeister/web3-react/blob/main/packages/metamask/src/index.ts#L109), the connector will handle the relevant network switching logic (in this case, usingwallet_switchEthereumChain)