This repository was archived by the owner on Feb 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Add light clients as an alternative to ApiPromise #40
Comments
Love the motivation behind this, but wouldn't the UX suffer if the "default" is waiting for a Light Client to initialize ~10 seconds? 🤔 IMO, this should be more of a user-initiated switch or should be set by the developers proactively for very sensitive interactions. |
This is good feedback @wottpal. I think you are right. I will update the issue |
There is a grant from ink!ubator supporting this issue. Trusted vs Light ClientI think we want to allow either ApiPromise or Light Clients on a per chain basis. Then we could expose these to a developer:
You can imagine a UI where the user can choose how they want to connect on a per chain basis or globally. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Feature Request
Add light clients as an alternative to calling third party RPC nodes. Read more here
Suggestion
Implement this. The client takes about 10 seconds to initialize, so we should allow a user to opt in to this as @wottpal suggested. RPC nodes should be default.
Motivation
Decentralization. Cut out the middle man.
Use Cases
The text was updated successfully, but these errors were encountered: