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

Snap Should Support More Networks and/or Allow Users to Provide Network Details #138

Open
danforbes opened this issue Jul 12, 2022 · 2 comments
Assignees

Comments

@danforbes
Copy link
Collaborator

danforbes commented Jul 12, 2022

Currently, only the Westend and Kusama Networks are supported. If possible, the Snap should support a larger list of networks, such as those supported by the Polkadot-JS Apps UI. It's possible to determine the address prefix of a FRAME-based network at runtime by querying the system.ss58Prefix constant storage item. It would also be nice if users could provide their own network details, which is another feature provided by the Polkadot-JS Apps UI.
image

@danforbes
Copy link
Collaborator Author

@mpetrunic @BeroBurny @irubido - as we discussed, there is a lot of information that can be determined by querying the chain to inspect details such as the runtime metadata or even individual storage items, such as the system.ss58Prefix mentioned above. It would be cool to demonstrate a UI that allows the user to enter the WebSocket URL, and then the UI can query the chain to determine the details mentioned by Marin in a comment on a related PR and auto-populate those details for the user - this is also a good way to make sure that the WebSocket URL that the user entered actually worked. I also think we should consider providing built-in support for as many networks as possible, such as those mentioned in the ss58 registry as well as the well-known endpoints that are maintained by Polkadot-JS Apps UI.

@semuelle
Copy link

Even though this issue is already quite old, I still want to express that we would be quite interested in the snap moving in this direction. It's unlikely for a wallet to gain any traction in the ecosystem if it only supports the relay chains.

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

3 participants