/ethers-reth

An ether-rs middleware to access reth's db directly, bypassing JSON-RPC

Primary LanguageRustMIT LicenseMIT

Ethers-reth

A ether-rs middleware for reth that bypasses JSON-RPC allowing for faster db queries. From our preliminary benchmarks we have seen a 2x speedup relative to IPC, and 3x speedup relative to local reth Http. See anvil-benchmarks for more details.

Work in Progress!

Please note that Ethers-reth is currently in its early stages of development.

In order to keep this codebase working under Reth rapid developement, we are pinning it to a fixed commit and periodically update, following Reth's release schedule. Once Reth's interface is stable, we will remove this pinning and follow the latest Reth version.

Todo:

  • Full log functionality
  • Full parity & geth trace functionality, not currently functional hope to fix this week
  • Mock ethers-reth client for github CI testing
  • Integration with Anvil: We plan to integrate with Anvil to offer super-fast simulation in fork mode. See fastfoundry & anvil-benchmarks
  • Full test coverage

Contact

For any questions or enhancements requests, please open an issue on this repository or dm me on twitter.