Lesson 2.17Bitcoin Professional · 17 of 20
Overall 37 / 60 (62%)
Bitcoin Professional progress85%
Full curriculum62%

2.17 Payment Channels: Lightning's Building Block

Two parties, one on-chain transaction, unlimited off-chain payments.

Slide 1 of 5

Payment Channels: Lightning's Building Block

The base Bitcoin layer is great for big, important payments but a bit slow and pricey for buying a coffee. Lightning is a second layer built on top that handles tiny, instant payments — and it all starts with something called a payment channel.

Bitcoin
1 / 5

The base Bitcoin layer is great for big, important payments but a bit slow and pricey for buying a coffee. Lightning is a second layer built on top that handles tiny, instant payments — and it all starts with something called a payment channel.

Imagine you and a friend both throw $50 into a shared jar that requires BOTH of your signatures to open. That shared jar is a Lightning channel — technically it's a special Bitcoin address that needs 2 signatures out of 2 people to spend (a '2-of-2 multisig'). Opening the jar is just one normal Bitcoin transaction posted to the main chain.

Once the jar exists, the two of you can keep updating an IOU between you ('now you have $30 and I have $70', 'now I have $90 and you have $10') as many times as you like, instantly and for free, without touching the blockchain. Each update is signed by both of you and replaces the previous one.

Whenever you want to close the channel, you broadcast the latest agreed balance and the jar gets split accordingly on-chain. So no matter whether you exchanged 5 payments or 5 million between you, you only paid Bitcoin network fees twice: once to open and once to close.

That's the magic. Lightning takes Bitcoin's strong settlement and adds 'fast, cheap, unlimited' on top.