Skip to content

loocapro/reth-exex-examples

 
 

Repository files navigation

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

Example Description Run
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 Runs discv5 discovery stack cargo run --bin discv5
In Memory State Tracks the plain state in memory cargo run --bin in-memory-state -- node
Minimal Logs every chain commit, reorg and revert notification cargo run --bin minimal -- node
OP Bridge Decodes Optimism deposit and withdrawal receipts from L1 cargo run --bin op-bridge -- node
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 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.

About

Collection of ExEx examples built on Reth

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%