Skip to content


Folders and files

Last commit message
Last commit date

Latest commit


Repository files navigation

Mastering the Lightning Network

CC BY-SA 4.0

STATUS: First Edition published on Dec 21, 2021

Mastering Lightning Cover


Mastering the Lightning Network is an O'Reilly Media book, by authors Andreas M. Antonopoulos (@aantonop), Olaoluwa Osuntokun (@roasbeef), Rene Pickhardt (@renepickhardt). It was published on Dec 21, 2021, in paperback and e-book, by O'Reilly Media. It is available everywhere that books are sold. This repository contains the manuscript of the book as published by O'Reilly Media, tagged as firstedition_firstprint.

The book describes the Lightning Network (LN), a Peer-to-Peer protocol running on top of Bitcoin and other blockchains, which provides near-instant, secure, micro-payments.

The book is suitable for technical readers with an understanding of the fundamentals of Bitcoin and other open blockchains.



Part 1

Part 2



Author Bios and Colophon

Creative Commons Attribution Sharealike License

Mastering the Lightning Network is released under the Creative Commons CC-BY-SA 4.0 license. The full terms of the license can be found here:

CC BY-SA 4.0

Creative Commons License
Mastering the Lightning Network by Andreas M. Antonopoulos, Olaoluwa Osuntokun, Rene Pickhardt is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Based on a work at

This "Free Culture" compliant license was approved by our publisher O'Reilly Media (, who understands the value of open source. O'Reilly Media is not just the world's best publisher of technical books, but is also a strong supporter of this open culture and the sharing of knowledge.

Thank you O'Reilly Media!

Translations and Derivatives (eg. PDF, HTML, EPUB ebooks)

The current license permits derivative work, such as independent translations and the production and circulation of PDF, HTML or other derivative renderings of the source ASCIIDOC. The license does not extend to O'Reilly Media intellectual property, such as the cover page.

If you are interested in translating this book please see