Hanzo Skills Reference
Hanzo EVM - Rust Execution Engine for Post-Quantum Web3 Hanzo EVM is a Rust EVM execution engine — a 146-crate modular toolkit for post-quantum Web3 infrastructure, L2/L3 app chains, and high-performance blockchain nodes. Ethereum mainnet compatible, single `hanzo-evm` binary.
Hanzo EVM is a Rust EVM execution engine : a 146-crate modular toolkit for building post-quantum Web3 infrastructure, L2/L3 app chains, and high-performance blockchain nodes. Take the whole node as one hanzo-evm binary, or take the crates you need — the storage layer, the transaction pool, the RPC server — and compose your own.
Modular architecture : Plug-and-play components for custom chains
Post-quantum ready : Integration with Hanzo PQC (ML-KEM, ML-DSA)
High performance : Parallel EVM execution, optimized storage
Clean abstractions : Neutral naming, beautiful API surface
Ethereum compatible : mainnet, sepolia and holesky rules, full JSON-RPC surface
hanzoai/evm. Version 2.2.0. Rust edition 2024, MSRV 1.93. License MIT OR Apache-2.0.
Building blockchain nodes with EVM execution
L2/L3 app chain development on Lux or standalone
Post-quantum Web3 infrastructure
High-performance transaction processing
Custom consensus + EVM combinations
Rust 1.93+ (edition 2024)
~1300+ source files across workspace
Build: cargo build --release (~15-30 min first build)
Item Value Binary hanzo-evmRepo github.com/hanzoai/evmVersion 2.2.0 Workspace crates 146 Rust edition 2024 MSRV 1.93 Build cargo build --releaseTest cargo testLicense MIT OR Apache-2.0
Layer Convention Example Crate names hanzo-evm-*hanzo-evm-executionModule imports hanzo_evm_*hanzo_evm_executionInternal modules clean/neutral mod evm;Types clean Evm* EvmApi, EvmRpcModuleEnv vars EVM_*neutral, no hanzo prefix Config/data neutral evm.toml, evm/, evm.ipcBinary hanzo-evmsingle binary
Crate Purpose hanzo-evmMain binary + CLI hanzo-evm-primitivesCore types (Block, Transaction, Receipt) hanzo-evm-executionEVM execution engine hanzo-evm-ethereumEthereum umbrella (mainnet, sepolia, holesky) hanzo-evm-eth-executionEthereum-specific EVM rules
Crate Purpose hanzo-evm-dbDatabase abstraction (MDBX) hanzo-evm-db-apiDatabase trait interfaces hanzo-evm-db-commonShared DB utilities hanzo-evm-nippy-jarCompressed static file storage hanzo-evm-stagesSync pipeline stages hanzo-evm-static-file-typesStatic file type definitions
Crate Purpose hanzo-evm-networkP2P networking (devp2p) hanzo-evm-network-apiNetwork trait interfaces hanzo-evm-discv4Node discovery v4 hanzo-evm-discv5Node discovery v5 hanzo-evm-dns-discoveryDNS-based discovery hanzo-evm-eth-wireEthereum wire protocol
Crate Purpose hanzo-evm-rpcJSON-RPC server hanzo-evm-rpc-apiRPC trait interfaces hanzo-evm-rpc-eth-apieth_* namespace hanzo-evm-rpc-engine-apiEngine API (consensus layer)
Crate Purpose hanzo-evm-consensusConsensus trait + validators hanzo-evm-auto-sealDev mode auto-sealing hanzo-evm-beacon-consensusBeacon chain consensus
Crate Purpose hanzo-evm-payload-builderBlock payload construction hanzo-evm-transaction-poolTransaction mempool hanzo-evm-basic-payload-builderDefault payload builder
# Build from source
git clone https://github.com/hanzoai/evm.git
cd evm
cargo build --release
# Run mainnet node
./target/release/hanzo-evm node --chain mainnet
# Run with HTTP + WS RPC
./target/release/hanzo-evm node \
--chain mainnet \
--http \
--http.port 8545 \
--http.api eth,net,web3,debug,trace \
--ws \
--ws.port 8546
# Run dev mode (auto-sealing)
./target/release/hanzo-evm node --dev
# Custom data directory
EVM_DATA_DIR = /data/evm ./target/release/hanzo-evm node --chain mainnet
hanzo-evm node # Run full node
hanzo-evm node --dev # Development mode
hanzo-evm init # Initialize database
hanzo-evm import < fil e > # Import blocks from file
hanzo-evm db stats # Database statistics
hanzo-evm db diff # Compare DB states
hanzo-evm p2p header < has h > # Fetch header via P2P
hanzo-evm p2p body < has h > # Fetch body via P2P
hanzo-evm stage run --stage < n > # Run specific sync stage
hanzo-evm recover storage-tries # Recover storage tries
[ node ]
chain = "mainnet"
datadir = "/data/evm"
instance = 1
[ rpc ]
http = true
http_addr = "0.0.0.0"
http_port = 8545
ws = true
ws_port = 8546
[ network ]
port = 30303
max_peers = 100
[ stages.sync ]
pipeline_batch_size = 10000
Crate names : hanzo-evm-* (required for publishing)
Internal code : FREE of hanzo branding unless necessary
No compound words : Evm not HanzoEvm
Neutral env/config : EVM_* not HANZO_EVM_*
Clean, beautiful, simple to build a Hanzo node with
Hanzo EVM = execution engine / toolkit for Post-Quantum Web3
L2/L3 app chains on Lux consensus for verticals (commerce, AI compute)
Eventual L1 capability; toolkit supports all layers
Commerce chain: blockchain backend for Hanzo Commerce
Fork alloy + revm for full post-quantum ZK EVM stack
Issue Cause Solution Build fails Rust too old Install Rust 1.93+ MDBX error Max readers Increase EVM_DB_MAX_READERS Sync stalls Network issues Check peers with hanzo-evm p2p info OOM on build Low memory Use cargo build -j 2 to limit parallelism
hanzo/hanzo-node.md - Distributed AI node (uses EVM plugin)
hanzo/rust-sdk.md - Rust SDK (PQC crypto for EVM)
hanzo/hanzo-contracts.md - Smart contracts deployed on EVM
How is this guide?
Good Bad