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

Add network connection button #25

Open
SlnPons opened this issue Mar 1, 2024 · 1 comment
Open

Add network connection button #25

SlnPons opened this issue Mar 1, 2024 · 1 comment

Comments

@SlnPons
Copy link

SlnPons commented Mar 1, 2024

To do:

  • Enable users to easily switch network between the buildnet and the mainnet.
  • When users change network, refresh the page and update the info.
@Thykof
Copy link
Collaborator

Thykof commented Mar 1, 2024

in the code we know thanks to a env var that we are in buildnet or mainnet. So we can fetch the selected network in the wallet (station or bearby) via wallet provider and show to the user a warning if the network of the deployed version is not the same of the one of the connected wallet.

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

2 participants