Skip to content

Solana, From First Principles

The throughline of this whole book is a single question: how do you build a single global state machine that runs at hardware speed without falling apart? Every part answers one piece of that question — from the account model and cryptography, through Proof of History, consensus, and parallel execution, up to the runtime, the validator pipeline, and the economics and reliability that hold it all together.

Read it in dependency order — each part only uses ideas already covered, so resist the urge to skip ahead. When you reach a Check your understanding prompt, answer it in your own words before moving on. Favor depth over speed: understanding one part deeply is worth more than skimming five.

Foundations — Why Solana Exists

The Account Model

Cryptography & Keys

Transactions & Instructions

Proof of History — The Clock

Consensus — Tower BFT & Proof of Stake

Parallel Execution — Sealevel

The Runtime & Programs (SBF)

Writing Programs & Anchor

The Validator Pipeline

Fees, Rent & Economics

The Ecosystem — SPL, DeFi & NFTs

Reliability — Outages & Congestion

Build Your Own Solana Runtime in Rust

Advanced & Frontier