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:
| Part | What 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:
- PROVED — a theorem about the Lean definitions, checked by the Lean kernel. Its name is recorded in
PROOF_LEDGER.md, andscripts/audit-axioms.shprints the axioms it rests on (only Lean's standardpropext,Classical.choiceandQuot.soundare allowed; nosorry, nonative_decide). A proof says nothing about the Lean compiler, the C compiler, the runtime, the operating system or the hardware. - TESTED — executed against named inputs with recorded counts: official test vectors ("43,353 of 43,353 fixtures pass"), a live devnet transcript, a differential comparison with another client. A test shows behaviour on the inputs tried, nothing more.
- TRUSTED — assumed, with a reason: the Lean kernel and compiler, the C toolchain, the operating system, the fidelity of
Spec/to the upstream text, and every foreign function.TRUST.mdlists them.
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 #
- No telemetry, no phone-home, no analytics, no update checks. The node contacts only the peers you give it and the peers it discovers from the bootnode records you give it.
- No built-in checkpoint provider, no relay, no default external service of any kind. Every input comes from the operator.
- No allowlists or blocklists of addresses, peers or transactions.
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.