Day 262Part 8: Lightning & Daily Use

What Is The Lightning Network

The Lightning Network is a second-layer payment system built on top of Bitcoin. It allows two parties to transact instantly, cheaply, and repeatedly — without recording every transaction on the blockchain.

The key word is second layer. Lightning doesn’t replace Bitcoin. It sits on top of it, inheriting Bitcoin’s security while adding speed and scale that the base layer can’t provide.

Here’s the simplest version of how it works.

Two people who transact frequently — say, a coffee shop and a regular customer — open a payment channel between them. Opening the channel is an on-chain Bitcoin transaction. It commits a certain amount of Bitcoin into the channel as liquidity.

From that point, the two parties can exchange as many payments as they want between themselves, instantly, with no fees and no blockchain involvement. Each payment updates a shared balance sheet that exists only between them.

When they’re done — a week later, a year later, whenever — they close the channel. Closing is another on-chain transaction that settles the final balance on the blockchain. Two on-chain transactions, no matter how many payments happened in between.

The coffee shop and the customer exchanged 500 payments. The blockchain recorded two transactions.

That’s the core insight. By taking most of the activity off-chain while anchoring the opening and closing to Bitcoin’s security, Lightning achieves the speed and cost of a payment app while inheriting Bitcoin’s trustless, decentralised foundation.

Tomorrow: how Lightning actually works — no maths, just logic.

— The Daily Bit

Part of The Daily Bit — 365 days to understanding Bitcoin.