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

Multiple provider support #1508

Open
digorithm opened this issue Sep 18, 2024 · 0 comments
Open

Multiple provider support #1508

digorithm opened this issue Sep 18, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@digorithm
Copy link
Member

Because we'll now have multiple official third-party RPC providers for the Fuel network, we should support more advanced use cases for setting providers within the Rust SDK, including multiple providers with basic failover logic.

Ideally, we want to support the building of something like the Ethers JS FallbackProvider.

This RPC failover support should allow developers to provide an ordered list of RPC endpoint URLs. The first endpoint in the list should be tried first, followed by the second, and so on until a successful response is returned or the list is exhausted.

@digorithm digorithm added the enhancement New feature or request label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant