Sahin Boydas
Random theme
Select theme
Mastering Bitcoin: Programming the Open Blockchain (3rd Edition) cover

Mastering Bitcoin: the developer's guide to Bitcoin's internals, third edition

by Andreas M. Antonopoulos & David A. Harding · O'Reilly, 2014

By Sahin Boydas✓ Updated December 2026On 1 book list

Andreas M. Antonopoulos first published Mastering Bitcoin with O'Reilly in 2014, and it became the standard technical book on Bitcoin. The third edition, from 2023, was revised with David A. Harding, a technical writer on Bitcoin. The full text is published on GitHub under a Creative Commons license, alongside the printed book.

The book explains Bitcoin from the inside: keys and addresses, wallets and recovery codes, the transaction format, the scripts that lock and unlock coins, digital signatures, transaction fees, the peer-to-peer network, the blockchain, mining and consensus, and security. The third edition brings it up to date with segregated witness, Taproot and Schnorr signatures, and its last chapter covers second-layer applications, from payment channels to the Lightning Network.

Engineers recommend it because it is precise enough to build from. A team writing a wallet, integrating Bitcoin payments or running an exchange needs to know how transactions are constructed and validated, and this is the book that explains it.

How Tech People Read It

Engineers building on Bitcoin

The crypto books list on sahin.io marks it as the book for engineers. Developers building wallets, exchange integrations or payment systems use it to understand exactly how a transaction is formed, signed and checked by the network.

Security and infrastructure teams

Teams responsible for custody read the chapters on keys, wallets and network security closely. Knowing how keys are derived and how scripts lock funds is the base for any decision about storing other people's money.

Technical founders and CTOs

CTOs evaluating whether to build on Bitcoin, or on Lightning for payments, get an accurate picture of what the protocol supports and where its limits are. That prevents promises to customers that the technology cannot keep.

The Main Ideas

  • Bitcoin ownership is control of private keys, and wallets are tools for managing those keys.
  • A transaction spends earlier outputs and creates new ones, each locked by a small script.
  • Nodes validate every rule independently, so no single party decides what counts as valid.
  • Mining orders transactions into blocks and makes rewriting history costly through proof of work.
  • Upgrades such as segwit and Taproot add capability through soft forks that older nodes still accept.

Who Should Read It

Read it if you are a developer or technical lead who needs to understand Bitcoin precisely enough to build on it. It also suits technical investors doing diligence on Bitcoin infrastructure. Skip it if you want the history or the investment case; Digital Gold and The Bitcoin Standard serve those, and Bitcoin and Cryptocurrency Technologies is a gentler start.

The Book

Cover of Mastering Bitcoin: Programming the Open Blockchain (3rd Edition) by Andreas M. Antonopoulos & David A. Harding

Book 01 For engineers

Mastering Bitcoin: Programming the Open Blockchain (3rd Edition)

by Andreas M. Antonopoulos & David A. Harding

Publisher
O'Reilly, 2023 (first published 2014)
Free online
Yes, on GitHub

Why read it

The developer's reference to Bitcoin: keys and addresses, wallets, the transaction format, scripts, the peer-to-peer network, mining and consensus. The third edition (2023), revised with David A. Harding, adds segwit, Taproot, Schnorr signatures and the Lightning Network. Read it if your team will build a wallet, an exchange integration or anything that touches Bitcoin directly. The full text is free on GitHub under a Creative Commons licence.

Watch

EB77 – Andreas M. Antonopoulos: Mastering BitcoinEpicenter PodcastAntonopoulos on why he wrote the book and how he explains Bitcoin to newcomers (2015, first edition).

On These Book Lists

Frequently Asked Questions

Is Mastering Bitcoin free?

Yes. The authors publish the full text on GitHub under a Creative Commons license. O'Reilly sells the print and ebook editions.

What is new in the third edition of Mastering Bitcoin?

The 2023 edition, revised with David A. Harding, covers segwit, Taproot, Schnorr signatures and current wallet practices.

Do I need to be a programmer to read Mastering Bitcoin?

It helps. The early chapters are readable by anyone technical, but later chapters on transactions and scripts assume comfort with code and data formats.

Does Mastering Bitcoin cover Ethereum?

No. It covers Bitcoin only. The companion book Mastering Ethereum, also on sahin.io's crypto list, covers smart contracts and the EVM.