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

[feature] - Persist web3 connection even when on unsupported chain #2105

Open
fatherGoose1 opened this issue Apr 2, 2024 · 1 comment
Open

Comments

@fatherGoose1
Copy link

fatherGoose1 commented Apr 2, 2024

What problem does this new feature solve?

Web3Modal drops the connection when the user switches off of a supported chain. This removes the ability for the dApp to use dApp integrations that offer cross-chain functionality, such as:

  • Squid Router
  • Gasbot.xyz
  • Li.Fi
  • Stargate

Dapps using Web3Modal cannot use such dApp integrations because their widgets rely on chain switching for the user to initiate bridge transactions.

Similar to #1891 which disables the popup message when a user switches off of a supported chain. On top of disabling the popup, the web3 connection must remain open to allow the user to sign messages on other chains. This functionality is already possible in RainbowKit and Web3-React, for example.

Describe the solution you'd like

Do not drop the wallet connection even when the user has switched off of the supported chains.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant