Level 3 · How it worksThe village#255

The Lightning Network explained: a slate between neighbours, settled in the notebook

The Lightning Network lets two people lock bitcoin into a shared channel and pay each other as often as they like, writing only the opening and the closing to the Bitcoin blockchain. Payments can hop across a chain of such channels, and anyone who cheats by closing with an old balance can lose the lot.

Anna buys flour from the miller every day. Writing each bag into the village notebook would fill a page a week and cost a fee each time. So they put a slate on the mill wall.

Each puts some coins aside in the notebook, locked so that only the two of them together can move them. Then they chalk the running balance on the slate, bag after bag. Only when they wipe the slate for good do they write one closing line in the notebook.

That's the Lightning Network: a slate between two people, and a web of slates between many. Two lines in the notebook, a thousand on the slate. The trick is making sure nobody can walk to the notebook with an old slate.

What it is

The Lightning Network is a layer on top of Bitcoin. Joseph Poon and Thaddeus Dryja described it in a 2016 paper as a system where "transactions are sent over a network of micropayment channels" and value moves "off-blockchain" (Poon and Dryja, 2016). The rules that let different Lightning programs work together are written in public specifications called BOLTs.

A payment channel is the slate: bitcoin locked in a two-signature output on the Bitcoin blockchain, plus a stream of signed updates between the two owners. An HTLC, a hashed timelock contract, lets a payment cross several slates safely, so Anna can pay someone she has no slate with.

How it works: open, pay, route, close

  1. Open. Anna and the miller sign one Bitcoin transaction that locks coins into their channel. That's the first line in the notebook.
  2. Pay. Each payment is a new, co-signed version of the balance. Nothing goes to the blockchain. Only the last agreed version counts.
  3. Route. Anna wants to pay the weaver, but has no slate with her. The miller does. Anna's payment travels Anna to miller to weaver, locked by a secret only the weaver knows. Poon and Dryja describe the HTLC as a contract "enforcible via the blockchain": the weaver reveals the secret to collect, and that same secret lets the miller collect from Anna. If nobody reveals it in time, the money goes back.
  4. Close. Either side broadcasts the last agreed balance. That's the second line in the notebook.

The miller charges for passing payments along. BOLT #7 sets the fee formula as "fee_base_msat + ( amount_to_forward * fee_proportional_millionths / 1000000 )", in thousandths of a satoshi (BOLT #7). Imagine he sets a base fee of 1,000 and a rate of 100 per million, and Anna forwards 50,000 sats (50,000,000 thousandths). The fee is 1,000 + 50,000,000 × 100 ÷ 1,000,000 = 6,000 thousandths: 6 sats.

Now Ben tries it. Ben runs a channel with the baker. Last week the slate said Ben had 90,000 sats; after a week of buying bread, it says 10,000. Ben walks to the notebook with last week's slate.

He didn't think it through. Every old version comes with a revocation key handed to the other side. BOLT #5 says the cheated party "can use its revocation private key to claim all the funds from the channel's original funding transaction" (BOLT #5). Ben's own share is held back by a delay, so the baker has time to notice and grab everything. The paper says it plainly: "If one party violates their agreement, then they will lose all the money in the channel." Good luck, Ben.

How big is the web? Read on 19 November 2026, 1ML counted 5,104 nodes, 18,615 channels and a network capacity of 2,220.68 BTC (1ML). 2,220.68 ÷ 18,615 is about 0.119 BTC per channel. These are only public channels; private ones don't appear, and other trackers count differently.

Why it matters

  • Users get fast, cheap small payments without waiting for blocks, once a channel is open.
  • Routing nodes earn small fees for passing payments along, and must keep coins locked in channels to do it.
  • Bitcoin stays small and slow on purpose, while the slates carry the everyday traffic.

Where people get it wrong

  • "Lightning is a different coin." It moves ordinary bitcoin, locked on the Bitcoin blockchain.
  • "Lightning is anonymous." Your channel partners and routing nodes see parts of your payments, and channel openings and closings are on-chain.
  • "You can receive any amount straight away." You can only receive as much as the other side of your channels can send you.
  • "Being offline is harmless." If your partner closes with an old balance while you're away for longer than the delay, you may not catch it in time.
  • "Lightning settles nothing on-chain." Every channel starts and ends with a Bitcoin transaction, with Bitcoin's fees.

Check who holds the slate

Many Lightning apps run the channels for you. Before you use one, find out whether you hold the keys or the app does. If the app holds them, the slate is theirs, and you only have their word for your balance.

A slate on the mill wall is only yours if your chalk is on it.

Frequently asked questions

What is the Lightning Network?

The Lightning Network is a payment layer on top of Bitcoin. Two people lock bitcoin into a shared channel, then pay each other with signed balance updates that don't go on the blockchain. Payments can also hop across several channels to reach someone you have no channel with.

How does Lightning stop people from cheating?

Each time the balance changes, the old version is revoked and the other party gets a key to punish anyone who broadcasts it. If someone closes a channel with an old balance, the other side can claim all the funds in the channel, as long as it acts within a set delay.

What is an HTLC?

A hashed timelock contract is a conditional payment: the recipient can claim it by revealing a secret before a deadline, otherwise the money returns to the sender. Lightning chains HTLCs along a route, so each hop is paid only when the final recipient reveals the secret.

How big is the Lightning Network?

On 19 November 2026, the tracker 1ML counted 5,104 public nodes, 18,615 public channels and 2,220.68 BTC of capacity. Private channels are not included, and different trackers report different figures.

Do I need to be online to use Lightning?

To receive payments, your node has to be reachable. Staying offline for long also carries a risk: if your channel partner closes with an old balance, you need to notice within the delay to claim the penalty. Many people use apps or services that watch channels for them.

Sources

  1. Joseph Poon and Thaddeus Dryja, The Bitcoin Lightning Network: Scalable Off-Chain Instant Payments (draft 0.5.9.2, 14 January 2016)
  2. Lightning BOLT #5, Recommendations for on-chain transaction handling
  3. Lightning BOLT #7, P2P node and channel discovery (HTLC fees)
  4. 1ML, Lightning Network statistics (read on 19 November 2026)

Read next.