Prerequisites
Before building reth-private-transaction, ensure you have the following installed:- Rust toolchain (1.70 or later)
- Cargo package manager
- Git for cloning the repository
This project is built as an extension to reth,
the modular Ethereum execution client. All reth dependencies will be automatically
fetched during the build process.
Building from source
The project uses Cargo for building and dependency management. Follow these steps to build the binary:Build the release binary
Build the project in release mode for optimal performance:The compiled binary will be located at
./target/release/reth-private-transaction.Dependencies
The project relies on the following key dependencies:Core reth dependencies
reth- Core reth functionalityreth-node-ethereum- Ethereum node implementationreth-transaction-pool- Transaction pool managementreth-cli- Command-line interfacereth-rpc-eth-types- Ethereum RPC typesreth-primitives- Core primitives
Additional dependencies
alloy-primitives- Ethereum primitives libraryjsonrpsee- JSON-RPC server and clientreqwest- HTTP client for builder communicationserde&serde_json- Serialization/deserializationfutures- Asynchronous programming utilities
Build configuration
The project is configured with the following settings inCargo.toml: