-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RPC MEV Blocker and fallback switcher (#139)
- Refactor stuff to `eth_defi.provider` - Add MEV blocking support in the form of `eth_defi.mev_blocker.MEVBlockerProvider` - Add JSON-RPC fallback switching in the form of `eth_defi.fallback_provider.FallbackProvider` - Add `HotWallet.create_for_testing`
- Loading branch information
Showing
17 changed files
with
1,560 additions
and
926 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
JSON-RPC provider API | ||
--------------------- | ||
|
||
This submodule offers functionality to connect and enhance robustness of various EVM JSON-RPC API providers.. | ||
|
||
- Support for test and mainnet fork backends like :py:mod:`eth_defi.provider.anvil` and :py:mod:`eth_defi.provider.ganache` | ||
|
||
- `Malicious Extractable Value (MEV) <https://tradingstrategy.ai/glossary/mev>`__ mitigations | ||
in :py:mod:`eth_defi.provider.mev_blocker` | ||
|
||
- Using multiple JSON-APRC providers and fallback providers in :py:mod:`eth_defi.provider.fallback` | ||
|
||
- For the list of available Ethereum, Binance Smart Chain and such API providers please see `ethereumnodes.com <https://ethereumnodes.com>`__ | ||
|
||
.. autosummary:: | ||
:toctree: _autosummary_provider | ||
:recursive: | ||
|
||
eth_defi.provider.mev_blocker | ||
eth_defi.provider.fallback | ||
eth_defi.provider.anvil | ||
eth_defi.provider.ganache | ||
eth_defi.provider.named | ||
|
Oops, something went wrong.