Skip to content

Ethereum, From First Principles

This book asks one question and refuses to stop until it is answered from the ground up: how do untrusting strangers agree on the state of a shared world computer — and what does it cost to run one? Everything else — accounts, cryptography, the EVM, gas, consensus, tries, rollups — is a consequence you can derive once you take that question seriously.

How to read it. The parts are arranged in dependency order: each one assumes the ones before it and earns the ones after, so read them in sequence rather than jumping ahead. At the end of every page, answer the Check-your-understanding prompts in your own words before moving on — if you cannot, reread rather than push forward. Favor depth over speed; the goal is to understand why Ethereum is shaped the way it is, not to memorize that it is.

Foundations — Why Ethereum Exists

Accounts, State & the World Computer

Cryptography & Addresses

Transactions & the Mempool

The EVM — Ethereum’s Virtual Machine

Smart Contracts & Solidity

Gas, Fees & EIP-1559

Consensus — Proof of Stake & The Merge

State — Merkle-Patricia Tries

Scaling — Rollups & L2s

The Ecosystem — DeFi, NFTs & DAOs

Security — Reentrancy, MEV & Famous Hacks

Build Your Own EVM in Rust

Advanced & Frontier