0 of 10 done
Writing programs for the machine in section 02. Solidity is a small language pointed at a very strange computer — most of what surprises you is the EVM showing through.
Read section 04 alongside this one, not after it. The security material isn’t an advanced topic here; it’s part of learning the language.
Reading order
- what-a-smart-contract-is — [Beginner] — immutable, public, permissionless, holding money; what contracts genuinely can’t do; and why “code is law” was tested once and lost
- solidity-fundamentals — [Intermediate] — the language, assuming you can already program. Types, globals, errors, visibility, and the 0.8 arithmetic change that made SafeMath obsolete
- storage-memory-calldata — [Intermediate] — the reference-vs-copy rule that silently does nothing, caching storage in loops, memory’s quadratic cost, and transient storage
- functions-modifiers-visibility — [Intermediate] — four-byte selectors, what modifiers compile to,
receive/fallback, and why.transfer()is deprecated advice - events-and-logs — [Intermediate] — the write-only side channel; indexed vs not; the bloom filter and why
eth_getLogsis slow; reorg safety - inheritance-and-libraries — [Intermediate] — C3 linearisation, what
libraryreally compiles to, and why inheritance depth is a security property here - token-standards — [Intermediate] — ERC-20/721/1155/4626, the four ways real tokens break the spec, and why
SafeERC20exists - upgradeability-and-proxies — [Advanced] —
DELEGATECALL, the three rules you can’t break, and the honest argument that upgradeability converts code-risk into key-risk - gas-optimisation — [Intermediate] — the wins worth taking, in order, and the ones that trade safety for pennies
- testing-and-tooling — [Intermediate] — Foundry, and why fuzzing and invariant testing are the baseline here rather than advanced practice
Related
- web3 curriculum map
- 04-smart-contract-security — read in parallel
- the Solidity toolchain — Foundry, Hardhat, OpenZeppelin
- Rust for web3 — the other major contract language
Jump to a subject
Software engineering
Infrastructure & security
Computer science
Hardware & engineering