Home

Awesome

Reth Execution Extension (ExEx) Examples

This repository is a collection of ExEx examples built on Reth that demonstrates common patterns and may serve as an inspiration for new developers.

Telegram chat

Overview

ExampleDescriptionRun
BackfillExposes an RPC to backfill (execute) a range of blockscargo run --bin backfill -- node --http to start Reth node with an RPC endpoint opened on HTTP port 8545<br><br>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
Discv5Runs discv5 discovery stackcargo run --bin discv5
In Memory StateTracks the plain state in memorycargo run --bin in-memory-state -- node
MinimalLogs every chain commit, reorg and revert notificationcargo run --bin minimal -- node
OP BridgeDecodes Optimism deposit and withdrawal receipts from L1cargo run --bin op-bridge -- node
OracleOracle protocol that observes off-chain data and attests to it on-chaincargo run --bin oracle -- node
RemoteEmits notifications using a gRPC server, and a consumer that receives themcargo run --bin remote-exex -- node to start Reth node with the ExEx and a gRPC server<br><br>cargo run --bin remote-consumer to start a gRPC client
RollupRollup that derives the state from L1cargo run --bin rollup -- node

License

<sup> Licensed under either of <a href="LICENSE-APACHE">Apache License, Version 2.0</a> or <a href="LICENSE-MIT">MIT license</a> at your option. </sup> <br> <sub> 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. </sub>