0.8.0 • Published 8 months ago
@redstone-finance/rpc-providers v0.8.0
Magic providers, compatible with ethers.Provider interface
:::info Tested only with JsonRpcProviders :::
ProviderWithFallback
- If the provider fails on some operation new provider is elected.
- If all providers fail on the same operation error is thrown.
- When we switch to the next provider, all operations are executed by it till it fails.
- Providers are elected by the sequence given in array. If array ends we start from the beginning.
ProviderWithAgreement
- Works like `ProviderWithFallback, with an exception for two methods.
getBlockNumberasks all providers for blockNumber and then picks (default is median)callasks all providers for result- if at least
Nanswers are the same, it returns call result - ignores all errors
- as soon as it will receive
Nmatching responses returns. (doesn't wait for the rest of the providers to finish)
- if at least
0.7.5
9 months ago
0.7.2
11 months ago
0.8.0
8 months ago
0.7.4
9 months ago
0.7.3
11 months ago
0.6.2
1 year ago
0.5.4
1 year ago
0.5.3
1 year ago
0.6.1
1 year ago
0.5.2
1 year ago
0.6.0
1 year ago
0.5.1
1 year ago
0.5.0-alpha.0
1 year ago
0.5.0
1 year ago
0.4.0-alpha.0
2 years ago
0.4.0
2 years ago
0.3.6
2 years ago
0.3.5
2 years ago
0.3.4
2 years ago
0.3.3
2 years ago
0.3.3-alpha.0
2 years ago