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

feat: add ability to switch networks #214

Open
sirpy opened this issue Jul 10, 2024 · 1 comment
Open

feat: add ability to switch networks #214

sirpy opened this issue Jul 10, 2024 · 1 comment
Assignees

Comments

@sirpy
Copy link
Contributor

sirpy commented Jul 10, 2024

If user is not connected to Celo currently UI just shows unsupported network.
Usually it should be a button or modal triggering switch network request to metamask.
Also since we are just on celo perhaps it should already say switch to celo

image.png

Implementation Description:
When user is connected to a non supported network the UI should automatically ask user to switch network

  • only trigger switch if user has connected a wallet
  • show a modal to user asking to switch network
  • trigger switch network on metamask like wallets

Technical description

  • handle edge case when connecting to a wallet via walletconnect, and the wallet doesnt support Celo
@decentralauren
Copy link

@sirpy good catch. Let's please follow the pattern we have on GoodDapp / implementation we have there. cc @L03TJ3

@sirpy sirpy changed the title no option to switch network feat: add ability to switch networks Oct 8, 2024
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

2 participants