Mastering the Lightning Network is an O'Reilly Media book, due for publication in Q2'2021, and announced in August 2019 by authors Andreas M. Antonopoulos (@aantonop), Olaoluwa Osuntokun (@roasbeef), Rene Pickhardt (@renepickhardt).
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.
The current status of the book is "IN PROGRESS". See below for status of specific chapters and read the contribution guide to learn how and where to contribute.
- ๐ LIVE EDITS - Continuously changing: Submit focused/small Issues and PRs
- ๐ REVIEW - Ready for review: Submit Issues and PRs as needed
- ๐ EARLY DRAFT - In progress, changing often: Submit issues only, NO PRs or fixes
- ๐ OUTLINE - Rough outline - Please contribute! PRs welcome.
- ๐ญ PLANNED - Planned section - Do nothing yet.
- โ๏ธ DRAFT PUBLISHED - Published in early release - Copy edit only.
Section | Length (Word Count) | Status |
---|---|---|
PART 1 | PART 1 | PART 1 |
Preface and Acknowledgments | #### | โ๏ธ |
Glossary | ############## | ๐ |
Introduction | ########## | โ๏ธ |
Getting Started | ############# | โ๏ธ |
LN Basics (How LN Works) | ########################### | โ๏ธ |
Nodes (LN Clients) | #################### | โ๏ธ |
Operating a Node | ############################# | โ๏ธ |
PART 2 | PART 2 | PART2 |
Lightning Architecture | # | ๐ |
Payment Channels in Detail | ################# | ๐ |
Routing (HTLCs) | ################ | ๐ |
Channel operation and HTLC settlement | ####### | ๐ |
Onion Construction and Routing | # | ๐ |
Payment Path Finding | ############### | ๐ |
P2P Communication | ### | ๐ |
Channel Graph and Gossip Layer | ### | ๐ |
End-to-End Payment Presentation Layer | ### | ๐ |
Lightning Applications (LApps) | # | ๐ญ |
LN Security and Privacy | # | ๐ |
LN's Future | # | ๐ญ |
APPENDICES | APPENDICES | APPENDICES |
A1 - Bitcoin Fundamentals Review | ########### | โ๏ธ |
An - License Notices | # | โ๏ธ |
Total Word Count: 112999
Target Word Count: 100,000-120,000
The authors welcome contributions to this book! Read the Guide to Contributing
Mastering the Lightning Network is released under the Creative Commons CC-BY-NC-ND license, which allows sharing the source code for personal use only. You may read this book for free. You may not create derivatives (such as PDF copies), or distribute the book commercially. The full terms of the license can be found here:
Mastering the Lightning Network by Andreas M. Antonopoulos, Olaoluwa Osuntokun, Rene Pickhardt is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
It is expected that the book will be released under a more permissive CC-BY-SA license within a year of publication.