Learn more
These promotions will be applied to this item:
Some promotions may be combined; others are not eligible to be combined with other offers. For details, please see the Terms & Conditions associated with these promotions.
Your Memberships & Subscriptions

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Mastering the Lightning Network: A Second Layer Blockchain Protocol for Instant Bitcoin Payments 1st Edition, Kindle Edition
The Lightning Network (LN) is a rapidly growing second-layer payment protocol that works on top of Bitcoin to provide near-instantaneous transactions between two parties. With this practical guide, authors Andreas M. Antonopoulos, Olaoluwa Osuntokun, and Rene Pickhardt explain how this advancement will enable the next level of scale for Bitcoin, increasing speed and privacy while reducing fees.
Ideal for developers, systems architects, investors, and entrepreneurs looking to gain a better understanding of LN, this book demonstrates why experts consider LN a critical solution to Bitcoin's scalability problem. You'll learn how LN has the potential to support far more transactions than today's financial networks.
This book examines:
- How the Lightning Network addresses the challenge of blockchain scaling
- The Basis of Lightning Technology (BOLT) standards documents
- The five layers of the Lightning Network Protocol Suite
- LN basics, including wallets, nodes, and how to operate one
- Lightning payment channels, onion routing, and gossip protocol
- Finding paths across payment channels to transport Bitcoin off-chain from sender to recipient
- ISBN-13978-1492054825
- Edition1st
- PublisherO'Reilly Media
- Publication dateNovember 22, 2021
- LanguageEnglish
- File size12.2 MB
See all supported devices
Kindle E-Readers
- All new Kindle paperwhite
- Kindle (11th Generation, 2024 Release)
- Kindle Oasis
- Kindle Scribe (1st Generation)
- Kindle Touch
- Kindle
- All New Kindle E-reader (11th Generation)
- Kindle Paperwhite (11th Generation)
- Kindle Paperwhite
- All New Kindle E-reader
- Kindle Paperwhite (5th Generation)
- Kindle Paperwhite (10th Generation)
- Kindle Paperwhite (12th Generation)
- Kindle Voyage
- Kindle Oasis (10th Generation)
- Kindle (10th Generation)
- Kindle Oasis (9th Generation)
- Kindle Scribe, 1st generation (2024 release)
Fire Tablets
- Fire HD 8 (8th Generation)
- Fire HD 10 (9th Generation)
- Fire 7 (9th Generation)
- Fire HD 8 Plus
- Fire HD 8 (10th Generation)
- Fire 7 (12th Generation)
- Fire HD 10 Plus
- Fire HD 10 (11th Generation)
- Fire HD 8 (12th Generation)
Free Kindle Reading Apps
- Kindle for Android Tablets
- Kindle for Android Phones
- Kindle for iPhone
- Kindle for iPad
- Kindle for PC
- Kindle for Web
- Kindle for Mac
Customers who read this book also read
From the brand

-
Cryptocurrency & Blockchain
-
Explore finance resources
-
More from O'Reilly
-
Sharing the knowledge of experts
O'Reilly's mission is to change the world by sharing the knowledge of innovators. For over 40 years, we've inspired companies and individuals to do new things (and do them better) by providing the skills and understanding that are necessary for success.
Our customers are hungry to build the innovations that propel the world forward. And we help them do just that.
From the Publisher

The Lightning Network (LN) is a second layer peer-to-peer network that allows us to make Bitcoin payments “off-chain,” meaning without committing them as transactions to the Bitcoin blockchain.
The Lightning Network gives us Bitcoin payments that are secure, cheap, fast, and much more private, even for very small payments.
Building on the idea of payment channels, first proposed by Bitcoin’s inventor Satoshi Nakamoto, the Lightning Network is a routed network of payment channels where payments “hop” across a path of payment channels from the sender to the recipient.
The initial idea of the Lightning Network was proposed in 2015 in the groundbreaking paper “The Bitcoin Lightning Network: Scalable Off-Chain Instant Payments,” by Joseph Poon and Thaddeus Dryja. By 2017, there was a “test” Lightning Network running on the internet, as different groups built compatible implementations and coordinated to set some interoperability standards. In 2018, the Lightning Network went “live” and payments started flowing.
In 2019, Andreas M. Antonopoulos, Olaoluwa Osuntokun, and René Pickhardt agreed to collaborate to write this book. It appears we have been successful!
Intended Audience
This book is mostly intended for technical readers with an understanding of the fundamentals of Bitcoin and other open blockchains.
Editorial Reviews
About the Author
René Pickhardt is a trained mathematician and data science consultant who uses his statistical knowledge to do research with NTNU about pathfinding, privacy, reliability of payments and service level agreements of the Lightning Network. René maintains a technical and developer-oriented Youtube channel about the Lightning Network and has answered roughly half of the questions about the Lightning Network on Bitcoin Stackexchange making him the go-to point for almost all new developers who want to join the space. René has held numerous workshops about the Lightning network in public and private, including teaching students of the 2019 Chaincode Labs residency together with other core Lightning Developers.
Andreas M. Antonopoulos is a best-selling author, speaker, educator, and highly sought after expert in Bitcoin and open blockchain technologies. He is known for making complex subjects easy to understand and highlighting both the positive and negative impacts these technologies can have on our global societies.
Andreas has written two more best-selling technical books for programmers with O'Reilly Media, Mastering Bitcoin and Mastering Ethereum. He has also published The Internet of Money series of books, which focus on the social, political, and economic importance and implications of these technologies. Andreas produces free educational content on his YouTube channel weekly, and teaches virtual workshops on his website. Learn more at aantonop.com
Product details
- ASIN : B09MDQX9S8
- Publisher : O'Reilly Media
- Accessibility : Learn more
- Publication date : November 22, 2021
- Edition : 1st
- Language : English
- File size : 12.2 MB
- Simultaneous device usage : Unlimited
- Screen Reader : Supported
- Enhanced typesetting : Enabled
- X-Ray : Not Enabled
- Word Wise : Not Enabled
- Print length : 735 pages
- ISBN-13 : 978-1492054825
- Page Flip : Enabled
- Best Sellers Rank: #822,369 in Kindle Store (See Top 100 in Kindle Store)
- #47 in Computer Cryptography
- #109 in Encryption
- #125 in Bitcoin & Cryptocurrencies eBooks
- Customer Reviews:
About the authors
Andreas M. Antonopoulos is an acclaimed author, speaker, educator, and one of the world’s foremost bitcoin and open blockchain experts. Andreas makes complex subjects accessible and easy to understand. He is known for delivering electric talks that combine economics, psychology, technology, and game theory with current events, personal anecdote, and historical precedent—effortlessly transliterating the complex issues of blockchain technology out of the abstract and into the real world.
In 2014, Antonopoulos authored the groundbreaking book, Mastering Bitcoin, widely considered to be the best technical guide ever written about the technology. His second book, The Internet of Money, unveiled the “why” of bitcoin—and became a bestseller on Amazon as did the follow up books The Internet of Money Volume Two, and The Internet of Money Volume Three. Mastering Ethereum, a technical guide to the Ethereum network, was published in late 2018. His most recent book Mastering the Lightning Network explains Bitcoin's second layer payment network. His books have been translated and published in 14 languages so far.
He is a teaching fellow with the University of Nicosia, serves on the Oversight Committee for the Bitcoin Reference Rate at the Chicago Mercantile Exchange, and has appeared as an expert witness in hearings around the world, including the Australian Senate Banking Committee and the Canadian Senate Commerce, Banking and Finance Committee.
As an entrepreneur, Andreas has founded a number of bitcoin businesses and launched several community open-source projects. He serves as an advisor to several bitcoin and crypto-currency companies. He is a widely published author of articles and blog posts on bitcoin, is a permanent host on the popular Speaking of Bitcoin Podcast, and a frequent speaker at technology and security conferences and meetups worldwide.
Andreas can be contacted via twitter (@aantonop) or via the contact forms on his website aantonop.com
Rene Pickhardt is researching the reliability of the payment process on the Lightning Network. Together with his co-authors he created an imbalance measure for Lightning nodes, proposed Just in Time Routing (JIT Routing), introduced Probabilistic payment delivery and found the optimal split of multi part payments that led to the currently best known payment routing algorithm ( aka Pickhardt Payments ). He also disclosed several vulnerabilities.
As an educator Rene added the first article about the Lightning Network to the German Wikipedia, created an openly licensed 300 slides presentation diving into the protocol, answered more than 50% of all questions about the Lightning Network on Stack exchange and maintained the first youtube channel explaining the Lightning Network to developers.
Rene studied Mathematics, Physics, Chinese and Computer Science and was a fellow of the German National Academic Foundation.
Olaoluwa Osuntokun is the co-founder and CTO of Lightning Labs, and also the lead developer of lnd, one of the main implementations of Lightning. He received his B.S and M.S in Computer Science from UCSB and was a member of the Forbes 30 Under 30 class of 2019. During his graduate studies he focused on the field of applied cryptography, specifically encrypted search. He has been an active Bitcoin developer for over 7 years, and is an author of several Bitcoin Improvement Proposals (BIP 157+158). These days, his primary focus lies in building, designing, and evolving private, scalable off-chain blockchain protocols, such as Lightning.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonTop reviews from the United States
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United States on June 21, 2023Format: KindleVerified PurchasePortraying a clever evolution of our communication systems, this book is incredibly well-written and didactic. You'll fall in love with this technology. The future starts here.
- Reviewed in the United States on March 2, 2022Format: PaperbackVerified PurchaseI am Patreon and fan of Andreas !! Book is really informative and similar to earlier books of Mastering Bitcoin and Ethereum.
You can consider these books as reference books where you can always refer to understand basics of this complicated technology.
Great book Andreas and team !! Thanks for all your contribution to the community. Keep up the great work !!
- Reviewed in the United States on December 29, 2021Format: PaperbackVerified PurchaseAntonopoulos has clear and thorough explanations throughout all of his books. I would recommend reading this one, Mastering Bitcoin and Mastering Ethereum to build a strong foundation in blockchain.
- Reviewed in the United States on January 15, 2022Format: PaperbackVerified PurchaseFantastic book. Anyone who is serious about Bitcoin needs to own it…simple as that.
- Reviewed in the United States on May 9, 2022Format: PaperbackVerified PurchaseGood balance between technical and practical
- Reviewed in the United States on December 21, 2021Format: PaperbackWork of art on the lightning network
Top reviews from other countries
-
JonasReviewed in Germany on July 17, 2022
5.0 out of 5 stars Herausragendes Buch für breite Zielgruppe (Bitcoin Buch #1)
Format: PaperbackVerified PurchaseMit großer Vorfreude habe ich das Lesen des Buches begonnen und das Buch innerhalb weniger Wochen quasi verschlungen. Das Buch hat mich wie ein Roman gefesselt. Inzwischen habe ich das Buch ein paar Mal gelesen.
Besonders begeistert hat mich, dass das Buch sowohl Grundlagen und Intuitionen beinhaltet - und somit ein breites Verständnis vermittelt -, aber eben auch technologische Deep Dive. Somit kann man sich je nach Präferenz ein breiteres Verständnis des Lightning Netzwerks oder aber auch ein sehr fundiertes Technologie-Wissen aneignen.
Aus meiner Sicht ein absolutes "Must-Read" für jeden Krypto-Fan und -kenner und das beste Buch, was es heute zu Krypto gibt.
- Wesley hopeReviewed in the United Kingdom on August 9, 2024
5.0 out of 5 stars Lightning network textboook
Format: PaperbackVerified PurchaseA very informative read I was very happy with this book it was an excellent buy
- JoshReviewed in Canada on February 13, 2023
4.0 out of 5 stars A very comprehensive look at Lightning
Format: KindleVerified PurchaseThis is a very comprehensive look at the Lightning Network.
-
R. WeissmannReviewed in Germany on December 16, 2021
5.0 out of 5 stars Auuuuussssfffüüüühhhrrlich
Format: KindleVerified PurchaseAusführlich und gut verständlich geschrieben. Wird wohl die LN Bibel. Gut aufgebaut, mit einem Zoom-In Ansatz, d.h. von einfach zu schwer, so dass für jeden was dabei ist. Topp.
-
Amazon KundeReviewed in Germany on February 25, 2022
1.0 out of 5 stars Fehlende Seiten
Format: PaperbackVerified PurchaseInhalt ausgezeichnet für Entwickler. Allerdings Druck miserabel: Mängelexemplar mit Fehlenden Seiten.