ethrex-blockchain 17.0.0

Block validation, execution, fork choice, mempool, and payload building for the ethrex client
Documentation

ethrex-blockchain

Core blockchain logic for the ethrex Ethereum client.

For detailed API documentation, see the rustdocs:

cargo doc --package ethrex-blockchain --open

Quick Start

use ethrex_blockchain::Blockchain;

let blockchain = Blockchain::new(store, BlockchainOptions::default());

// Add a block
blockchain.add_block(&block)?;

// Add transaction to mempool
blockchain.add_transaction_to_mempool(tx).await?;

Features

  • metrics: Enable Prometheus metrics collection

Notes

ethrex is a post-merge client and does not support pre-merge (PoW) forks.