Sahin Boydas
Random theme
Select theme
Mastering Ethereum: Implementing Smart Contracts (2nd Edition) cover

Mastering Ethereum, Second Edition: the developer's reference for smart contracts

by Carlo Parisi, Alessandro Mazza, Niccolò Pozzolini, Gavin Wood & Andreas M. Antonopoulos · O'Reilly, 2018

By Sahin Boydas✓ Updated December 2026On 1 book list

Mastering Ethereum first appeared in 2018, written by Andreas M. Antonopoulos, author of Mastering Bitcoin, and Gavin Wood, an Ethereum cofounder who wrote the protocol's formal specification, the Yellow Paper. Ethereum then changed under it. The network left mining for proof-of-stake in 2022, and most activity moved to layer-two rollups. The second edition, published by O'Reilly in 2025, was rewritten by Carlo Parisi, Alessandro Mazza and Niccolò Pozzolini to match.

The book runs in seventeen chapters from first principles to the edges of current research. It starts with nodes, keys, wallets and transactions, moves to contracts written in Solidity and Vyper, then covers tokens, oracles, decentralized apps and decentralized finance. The last chapters open the Ethereum Virtual Machine and explain consensus, scaling and zero-knowledge proofs.

Engineers keep pointing to it because it is one of the few complete references that is also free. The full text is online at masteringethereum.xyz under a Creative Commons license. The chapter on smart contract security walks through the classes of bugs, such as reentrancy, that have drained real money from deployed contracts.

How Tech People Read It

Founders shipping a smart contract

The crypto list on this site singles out the security chapter for any founder about to deploy code that holds other people's funds. Once a contract is live it is hard or impossible to patch, so the time to learn the known attack patterns is before launch. Reading that chapter also makes a founder a better client for an outside audit, because they can follow what the auditors report.

Backend engineers new to Ethereum

A web or systems engineer who joins a crypto team needs the vocabulary fast: accounts, gas, nonces, events, the EVM's stack model. The book gives that in the order an engineer would want it, with code. The chapters on nodes and transactions help most, because they explain what actually happens between a wallet click and a block.

Technical investors

An investor reviewing a protocol pitch can use the chapters on consensus, rollups and zero-knowledge proofs to check claims about speed, cost and security. They will not make anyone a protocol engineer. They do give enough grounding to ask which assumptions a design rests on and where its trust sits.

The Main Ideas

  • Ethereum is a shared computer whose state every node can verify, and gas is the price of using it.
  • A deployed contract is public and permanent, so security has to be designed in before launch.
  • Tokens, oracles and decentralized finance are built from the same contract primitives the early chapters teach.
  • Since 2022 Ethereum secures itself with staked ether, not mining.
  • Most scaling now happens on rollups, which settle back to the main chain, with zero-knowledge proofs as one way to verify them.

Who Should Read It

Read it if you write, review or audit Ethereum contracts, or if you lead a team that does. Work through the security chapter even if you skim the rest. Skip it if you want the story of crypto or an investment view: it is a technical manual, and readers who only need the history will get more from The Infinite Machine or The Cryptopians on the same list.

The Book

Cover of Mastering Ethereum: Implementing Smart Contracts (2nd Edition) by Carlo Parisi, Alessandro Mazza, Niccolò Pozzolini, Gavin Wood & Andreas M. Antonopoulos

Book 01 For engineers

Mastering Ethereum: Implementing Smart Contracts (2nd Edition)

by Carlo Parisi, Alessandro Mazza, Niccolò Pozzolini, Gavin Wood & Andreas M. Antonopoulos

Publisher
O'Reilly, 2025 (first published 2018)

Why read it

The developer's guide to Ethereum, rewritten for its second edition (2025): accounts and transactions, Solidity and Vyper, smart contract security, tokens, oracles, decentralized finance, the Ethereum Virtual Machine, proof-of-stake consensus, scaling and zero-knowledge proofs. The security chapter alone is worth it for any founder about to ship a contract that holds other people's money. The book is free to read online.

On These Book Lists

Frequently Asked Questions

Is Mastering Ethereum free?

Yes. The second edition can be read in full at masteringethereum.xyz under a Creative Commons license, and O'Reilly sells the print and ebook editions.

Is the first edition of Mastering Ethereum still useful?

Only in parts. The 2018 edition predates proof-of-stake and the move to rollups, so the 2025 second edition is the one to read.

Who wrote Mastering Ethereum?

The first edition was by Andreas M. Antonopoulos and Gavin Wood. The second edition was rewritten by Carlo Parisi, Alessandro Mazza and Niccolò Pozzolini, with Wood and Antonopoulos still credited.

Does Mastering Ethereum teach Solidity?

It has a chapter on Solidity and another on Vyper, but it teaches them as part of how Ethereum works. A dedicated Solidity course goes deeper on the language itself.

What should I read after Mastering Ethereum?

Mastering Bitcoin covers the other major chain at the same depth. Bitcoin and Cryptocurrency Technologies, also on this site's crypto list, gives the theory behind both.