https://github.com/SorellaLabs/ethers-reth
An ether-rs middleware to access reth's db directly, bypassing JSON-RPC
https://github.com/SorellaLabs/ethers-reth
Last synced: 2 months ago
JSON representation
An ether-rs middleware to access reth's db directly, bypassing JSON-RPC
- Host: GitHub
- URL: https://github.com/SorellaLabs/ethers-reth
- Owner: SorellaLabs
- License: mit
- Created: 2023-05-14T14:56:27.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-18T18:44:41.000Z (over 1 year ago)
- Last Synced: 2024-07-31T15:01:24.282Z (10 months ago)
- Language: Rust
- Size: 2.46 MB
- Stars: 259
- Watchers: 4
- Forks: 24
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-reth - ethers-reth - rs](https://ethers.rs)-aware middleware by [Sorella Labs](https://github.com/SorellaLabs) for accessing Reth state directly ([Tweet](https://x.com/0xvanbeethoven/status/1668434735281090560)) (Development Tools ##)
README

# 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](https://github.com/SorellaLabs/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:
- [x] Full log functionality
- [x] Full parity & geth trace functionality, not currently functional hope to fix this week
- [x] Mock ethers-reth client for github CI testing
- [x] Integration with Anvil: We plan to integrate with Anvil to offer super-fast simulation in fork mode. See [fastfoundry](https://github.com/SorellaLabs/fastfoundry) & [anvil-benchmarks](https://github.com/SorellaLabs/anvil-benchmarks)
- [x] Full test coverage### Contact
For any questions or enhancements requests, please open an issue on this repository or dm me on [twitter](https://twitter.com/0xvanbeethoven).