Mastering Bitcoin by Andreas M. Antonopoulos
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Andreas M. Antonopoulos 6d1c26e164
Moved bitcoin dev kit contribution to contrib folder
3 months ago
code Remove unused code examples 8 months ago
contrib Moved bitcoin dev kit contribution to contrib folder 3 months ago
draft_images moving images files 7 months ago
images Thumbnail of cover image 3 months ago
meta OTD initial edits 6 months ago
snippets Move getrawtx example to snippet for reuse 1 year ago
theme Edited theme/epub/epub.css with Atlas code editor 6 months ago
tools Edited tools/intake_report.txt with Atlas code editor 7 months ago
.gitignore Cleanup gitignore and remove travis config 3 months ago
BOOK.md Added BOOK.md for free reading on Github 3 months ago
CONTRIBUTING.md Updated CONTRIBUTING 3 months ago
LICENSE Updated LICENSE information to reflect the third edition 3 months ago
README.md Updated README for the third edition 3 months ago
appa_whitepaper.adoc QC2 and checklist edits 6 months ago
appb_errata.adoc Edited appb_errata.adoc with Atlas code editor 6 months ago
appc_bips.adoc QC2 and checklist edits 6 months ago
atlas.json Updated atlas.json 6 months ago
author_bio.html OTD initial edits 6 months ago
book.adoc Updated book.adoc 3 months ago
ch01_intro.adoc index 6 months ago
ch02_overview.adoc OTD initial edits 6 months ago
ch03_bitcoin-core.adoc qc2 continued check 6 months ago
ch04_keys.adoc paragraph adjust 6 months ago
ch05_wallets.adoc Edited ch05_wallets.adoc with Atlas code editor 6 months ago
ch06_transactions.adoc Edited ch06_transactions.adoc with Atlas code editor 6 months ago
ch07_authorization-authentication.adoc center text 6 months ago
ch08_signatures.adoc Edited ch08_signatures.adoc with Atlas code editor 6 months ago
ch09_fees.adoc index cleanup 6 months ago
ch10_network.adoc eliminating class = center 6 months ago
ch11_blockchain.adoc OTD check 6 months ago
ch12_mining.adoc OTD check 6 months ago
ch13_security.adoc Edited ch13_security.adoc with Atlas code editor 6 months ago
ch14_applications.adoc OTD initial edits 6 months ago
colo.html QC2 and checklist edits 6 months ago
copyright.html PR and QC1 6 months ago
cover.html Edited cover.html with Atlas code editor 6 months ago
dedication.html Edited dedication.html with Atlas code editor 6 months ago
glossary.asciidoc removing 2e index tags 7 months ago
ix.html Adding theme directory, boilerplate files, and readme to new repo 9 years ago
praise.html Edited praise.html with Atlas code editor 6 months ago
preface.adoc Renamed preface filename extension to "adoc" for consistency 3 months ago
tapscript.asciidoc bips links 2 years ago
titlepage.html ran PFI script 7 months ago
toc.html ran PFI script 7 months ago

README.md

Mastering Bitcoin

Mastering Bitcoin is a technical book that explains what Bitcoin is and how it works.

This repository contains the complete text of three editions of the book Mastering Bitcoin as published in paperback and ebook formats by O'Reilly Media. Different editions of this book are covered by different open licenses (see LICENSE). The three editions are:

Reading This Book

To read this book for free, see BOOK.md. Click on each of the chapters to read in your browser.

Please note that some of the links in each chapter do not work when reading the book on Github. This is because those links are intended for the print and ebook editions of the book and only work when all the chapters are rendered together. Unfortunatelly, Github does not have the ability to render the complete book at once.

Where is the PDF?

The current edition is not available as a PDF, deliberately. Why? Because the publisher (O'Reilly Media) is a for-profit publisher who puts considerable resources behind producing, editing and distributing this book. The third edition of "Mastering Bitcoin" is available under a CC-BY-NC-ND license, not a CC-BY-SA license. The book will eventually (within a year of publication) be released under a CC-BY-SA license, at which point PDF copies and translations will be allowed (a PDF is a "derivative" product, which is what the "ND-NoDerivatives" part of the license prohibits).

Making PDF copies violates the license and interferes with the publisher's and the authors' ability to earn from their work. Furthermore, if you make it so the publisher can't recoup their investment, they may delay the release into CC-BY-SA. A beautifully rendered PDF or epub version of this book is offered for sale by the publisher. Convenient packaging is the for-profit product, whereas the version available here is slightly less convenient but entirely free for personal and non-commercial use. If you want convenience and nice packaging, buy the book!

Please don't create or distribute PDFs until the license is changed to CC-BY-SA. It is rare for a publisher to even agree to a CC-BY-NC-ND license. Don't make it harder for free culture by violating even that, already generous, license.

Mastering Bitcoin Third Edition

"Mastering Bitcoin: Programming the Open Blockchain (3rd Edition)" is now available in paperback and ebook formats by many booksellers worldwide, such as:

The tag third_edition_print_1 corresponds to the first print of the third edition of Mastering Bitcoin as published in paperback and ebook by O'Reilly Media in December 2023.

Mastering Bitcoin: Programming the Open Blockchain (Third Edition) by Andreas M. Antonopoulos, David A. Harding is licensed under Attribution-NonCommercial-NoDerivatives 4.0 International

Other Editions and Languages

Mastering Bitcoin - First Edition

The tags Edition1Print1, Edition1Print2 correspond to the two existing prints of Mastering Bitcoin (First Edition) as published by O'Reilly Media.

Creative Commons License
Mastering Bitcoin - First Edition by aantonop Books LLC is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Mastering Bitcoin - Second Edition

The tags, second_edition_print_1 second_edition_print2, second_edition_print3, correspond to the first (June 8th, 2017), second (July 20th, 2017) and third (March 23rd, 2018) print of Mastering Bitcoin (Second Edition), as published by O'Reilly Media.

Creative Commons License
Mastering Bitcoin - Second Edition by aantonop Books LLC is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Mastering Bitcoin (Open Second Edition), based on the Seond Edition, is also available in English and Spanish at https://aantonop.com. Mastering Bitcoin 2nd Edition is also published in German, Polish, Japanese, Korean, Chinese and other languages by publishers in the respective countries.

Issues, Errors, Comments, Contributions

To contribute to this book, see CONTRIBUTING.md. All contributions must be your original work and contributed under a public domain (CC0), or attribution (CC-BY) license. You must include your own attribution in the pull request, as an edit to the github_contrib.asciidoc file.

If you know how to make a pull request to contribute a fix, please write the correction and use a pull request to submit it for consideration against the develop branch. If you are making several changes, please use a separate commit for each to make it easier to cherry-pick or resolve conflicts. Otherwise, please submit an issue, explaining the error or comment. If you would like to contribute extensive changes or new material, please coordinate with the author first; contact information can be found on his website: https://aantonop.com/

Translations

If you are interested in translating this book, please join our team of volunteers at: https://www.transifex.com/bitcoinbook/mastering-bitcoin/