Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paradigmxyz/reth-exex-examples
Collection of ExEx examples built on Reth
https://github.com/paradigmxyz/reth-exex-examples
blockchain ethereum example modular reth rust
Last synced: 4 days ago
JSON representation
Collection of ExEx examples built on Reth
- Host: GitHub
- URL: https://github.com/paradigmxyz/reth-exex-examples
- Owner: paradigmxyz
- License: apache-2.0
- Created: 2024-06-25T11:05:13.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-12-10T11:46:45.000Z (24 days ago)
- Last Synced: 2024-12-29T16:47:39.438Z (4 days ago)
- Topics: blockchain, ethereum, example, modular, reth, rust
- Language: Rust
- Homepage: https://reth.rs/developers/exex/exex.html
- Size: 878 KB
- Stars: 123
- Watchers: 10
- Forks: 18
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# Reth Execution Extension (ExEx) Examples
This repository is a collection of [ExEx](https://reth.rs/developers/exex/exex.html) examples
built on [Reth](https://github.com/paradigmxyz/reth) that demonstrates common patterns and may serve as an inspiration
for new developers.[![Telegram chat][telegram-badge]][telegram-url]
[telegram-badge]: https://img.shields.io/endpoint?color=neon&style=for-the-badge&url=https%3A%2F%2Ftg.sumanjay.workers.dev%2Fparadigm_reth
[telegram-url]: https://t.me/paradigm_reth## Overview
| Example | Description | Run |
| ------------------------------------ | -------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Backfill](./backfill) | Exposes an RPC to backfill (execute) a range of blocks | `cargo run --bin backfill -- node --http` to start Reth node with an RPC endpoint opened on HTTP port 8545
`ETH_RPC_URL=http://localhost:8545 TIP=$(cast bn); cast rpc backfill_start $(($TIP - 10)) $TIP` to start the backfill of the last 10 blocks |
| [Discv5](./discv5) | Runs discv5 discovery stack | `cargo run --bin discv5` |
| [In Memory State](./in-memory-state) | Tracks the plain state in memory | `cargo run --bin in-memory-state -- node` |
| [Minimal](./minimal) | Logs every chain commit, reorg and revert notification | `cargo run --bin minimal -- node` |
| [OP Bridge](./op-bridge) | Decodes Optimism deposit and withdrawal receipts from L1 | `cargo run --bin op-bridge -- node` |
| [Oracle](./oracle) | Oracle protocol that observes off-chain data and attests to it on-chain | `cargo run --bin oracle -- node` |
| [Remote](./remote) | Emits notifications using a gRPC server, and a consumer that receives them | `cargo run --bin remote-exex -- node` to start Reth node with the ExEx and a gRPC server
`cargo run --bin remote-consumer` to start a gRPC client |
| [Rollup](./rollup) | Rollup that derives the state from L1 | `cargo run --bin rollup -- node` |#### License
Licensed under either of Apache License, Version
2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in these crates by you, as defined in the Apache-2.0 license,
shall be dual licensed as above, without any additional terms or conditions.