Skip to content

client

The client crate group assembles the full Base Reth Node. It supplies the CLI, Engine API integration, flashblocks support, metering RPC, proof extensions, and transaction pool tracing.

CratePackage NamePurpose
clibase-client-cliCLI argument parsing and node configuration
enginebase-client-engineEngine API client for consensus-execution communication
flashblocks-nodebase-flashblocks-nodeFlashblocks-enabled node assembly
flashblocksbase-flashblocksFlashblocks RPC provider and pending state cache
meteringbase-meteringMetering RPC endpoints for resource tracking
proofsbase-proofs-extensionProof generation extensions
txpool-tracingbase-txpool-tracingTransaction pool tracing and diagnostics

The client crate group is the primary interface for node operators. It:

  1. Parses CLI arguments and configures the node (cli)
  2. Manages the Engine API connection between execution and consensus (engine)
  3. Assembles the flashblocks-enabled node with all components (flashblocks-node)
  4. Provides the Flashblocks RPC for querying preconfirmed state (flashblocks)
  5. Exposes metering endpoints for gas and resource tracking (metering)
  6. Supports proof generation for the fault proof system (proofs)
  7. Adds tracing to the transaction pool for debugging (txpool-tracing)

The base-reth-node binary (in bin/node) depends primarily on this crate group.

crates/client/