specborn documentation contents ↓

Introduction #

What specborn is #

specborn is an Ethereum client — execution layer (EL) and consensus layer (CL) in one binary — written entirely in Lean 4. The EVM, the state trie, RLP and SSZ, the cryptography (Keccak, SHA-256, secp256k1, BLS12-381, KZG), the consensus state transition, fork choice, the peer-to-peer stack (discv5, libp2p with Noise and yamux, gossipsub, req/resp, devp2p RLPx and eth/snap) and the storage engine are Lean code in the repository. Apart from the Lean runtime itself, the only code in the client that is not Lean is a small C file, native/netio.c, that wraps the operating system calls for sockets, the clock, randomness and positional file reads; each of its functions is listed in TRUST.md. Replacing it with the Lean runtime's own interfaces, so that no C of the project's own remains, was decided and then deferred until Lean offers positional file reads and socket close/reset (decision D-27 in PROOF_LEDGER.md).

Because the EL and the CL live in one process, there is no Engine API and no JWT secret: the consensus side hands each execution payload to the execution side as an ordinary function call. You do not pair specborn with another client; you also cannot pair it with one.

The fork targets are Fusaka (Osaka on the EL, Fulu on the CL, with the BPO blob-parameter forks) and Glamsterdam (Amsterdam on the EL, Gloas on the CL). Earlier EL rules (Cancun, Prague) exist only as far as they are needed to execute history.

specborn is pre-alpha. The status page lists exactly what runs today; the short version is that it follows local multi-client devnets, executing every payload, with a localhost JSON-RPC, a transaction pool and a read-only beacon API; that it follows the Hoodi and Sepolia consensus heads optimistically from a checkpoint; and that on local devnets its validator client performs the validator duties (attestations, aggregation, sync committee, Gloas PTC votes) and proposes blocks (Fulu, and Gloas self-build) with slashing protection. Do not use real validator keys with it (Validators).

How it is built: specification, implementation, proofs #

The repository is split into parts with different rules:

PartWhat it is
Spec/A literal Lean translation of the pinned upstream specifications (specs/pins.json: ethereum/execution-specs, ethereum/consensus-specs and others). It is frozen: changing it needs a recorded, independently reviewed amendment, and it is never changed to make code or proofs pass.
Specborn/The implementation that ships: written for speed, and never allowed to import Spec/ (enforced by scripts/scan-banned.sh), so the client is not a wrapper around the reference.
Proofs/Kernel-checked theorems that relate the implementation to the specification ("refinement": the shipped function computes what the reference computes, under stated conditions).
Tests/Runners for the official test vectors (execution-spec-tests fixtures, consensus-spec-tests and others), live transcripts, differential tests.

The rules every contributor follows are in AGENTS.md; the plan and its milestones are in PLAN.md; the current numbers are in STATUS.md.

How to read a claim: PROVED, TESTED, TRUSTED #

Every statement about specborn's behaviour, in this guide and in the repository, is one of three kinds:

Unproved parts are not hidden: an open gap is recorded in PROOF_LEDGER.md (entries marked OPEN) until it is closed. See Security and trust model for what this means for an operator.

What specborn does not do #

Licence and source #

specborn is MIT-licensed. The source repository is not public yet, and no binaries, releases or container images are published; see Installation. Opening the repository is planned once specborn validators have passed the local-devnet gate (decision D-26 in PROOF_LEDGER.md), with a not-for-production disclaimer. Paths such as docs/pieces/node.md in this guide refer to files in that repository.