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

Extension: Allow interface to specify chain ID when connecting, update when approved #1078

Open
jurevans opened this issue Sep 9, 2024 · 0 comments · May be fixed by #1091 or #1142
Open

Extension: Allow interface to specify chain ID when connecting, update when approved #1078

jurevans opened this issue Sep 9, 2024 · 0 comments · May be fixed by #1091 or #1142

Comments

@jurevans
Copy link
Collaborator

jurevans commented Sep 9, 2024

Right now, we have a simple chain ID field in the Extension settings.

When Namadillo connects to the extension, it could provide a chain ID, which the user should review in the extension for approval, if it would require that the extension needs to sign for a different chain. As we already track chain ID, we can keep this in storage, but allow approvals to change it.

  • Extension is released with a "default" chain ID
  • When interface connects, it provides the chain ID returned from the indexer
  • If this chain Id is different than what is in the extension, the extension approval will notify the user to review
  • Upon approval, the chain ID in the extension is updated, and the user won't see the notification until the chain is requested to be changed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment