Skip to main content

Chain Infrastructure

CoreChain is the shared blockchain engine that powers both DevChain and AppChains. It provides the foundational components for running an Ethereum-compatible execution layer entirely in-process.

Architecture

Key Components

  • TransactionProcessor — validates signatures and nonces, executes EVM bytecode, produces receipts
  • BlockProducer — assembles pending transactions into blocks, calculates state roots via Patricia trie
  • Pluggable Storage — in-memory (testing), SQLite (DevChain), or RocksDB (production) via IBlockStore, ITransactionStore, IStateStore, ILogStore, ITrieNodeStore
  • JSON-RPC Handlers — built-in handlers for all standard eth_*, net_*, web3_*, and debug_trace* methods
  • Merkle Proof Generationeth_getProof for state verification
  • Forking — fork state from live Ethereum networks via ForkingNodeDataService

Packages

PackageDescription
Nethereum.CoreChainCore blockchain engine with EVM, block production, and RPC
Nethereum.CoreChain.RocksDBRocksDB persistent storage backend for production use

Built On By

  • DevChain — adds instant mining, SQLite storage, Hardhat/Anvil compatibility methods, and Aspire templates
  • AppChains (Preview) — adds genesis building, sequencer, P2P networking, and L1 anchoring