ChainUnfold
A VISUAL GUIDE3 min read

How a Lightning channel works

A channel changes claims to allocated funds without recording every payment as a new on-chain transaction.

By chainunfold Reviewed 23 September 2026Revision 1

What you’ll be able to explain

  • Explain funding, off-chain state updates and on-chain enforcement as separate parts of a channel.

01 / Understand

A changing allocation, backed by an exit

Imagine two participants, Asha and Ben, with 100,000 sats allocated to a channel. In a deliberately simplified starting state, Asha’s side has 80,000 and Ben’s has 20,000. After Asha pays Ben 10,000 through that channel, the allocation becomes 70,000 and 30,000.

The total has not grown. What changed is how the channel’s value is allocated between the participants. A successful update is not the same thing as placing a new ordinary payment transaction in a new Bitcoin block.

Why should either participant accept an off-chain update? The channel protocol provides commitments and paths to enforce claims on-chain. A channel is not just a shared spreadsheet whose balances work only while both people are friendly.

Funding, updating, closing

Funding establishes the on-chain basis of the channel. Updates revise the participants’ enforceable states under the protocol. Closing uses on-chain transactions to resolve the channel’s value, cooperatively or through unilateral procedures.

These phases are connected but distinct. Ordinary off-chain payments do not remove the need to handle on-chain fees and confirmation when the channel opens or closes. Nor does a fast successful payment imply that every possible channel exit completes immediately.

The balance diagram deliberately omits those costs so that the allocation is easy to follow. Its 100,000 sats are a teaching capacity, not a serialized funding and commitment transaction set.

The idea, at a glance

Fund

Establish the channel’s on-chain basis.

Update

Change the allocation using the protocol.

Resolve

Use on-chain enforcement or cooperative close.

The ability to exit is part of why an off-chain state can be meaningful.

02 / Explore

Old states need a protocol response

If a participant could freely enforce any favorable old allocation, simply exchanging updated balances would be unsafe. The established Lightning commitment design uses mechanisms including revocation and delayed spending paths to make old-state publication contestable under the relevant conditions.

That statement has operational consequences. Participants or services acting for them need appropriate monitoring and recovery behavior. Channel state is more than a reusable address and key. Exact transaction forms and constraints depend on the negotiated channel type and implementation.

Lightning also routes payments across channels. A route does not pool every channel into one giant balance. Each hop has directional constraints and conditional payment machinery. Our two-party example isolates the local allocation question before introducing route finding and HTLC details.

Avoid two opposite mistakes: thinking Lightning payments are merely unsecured promises, and thinking the on-chain basis makes availability, backups, or liquidity irrelevant. The protocol provides enforcement tools, while using them reliably remains part of operating the system.

03 / Build

Keep a state ledger on paper

Begin with (Asha: 80,000, Ben: 20,000). Record these completed fictional transfers in order:

  1. Asha pays Ben 10,000 → (70,000, 30,000).
  2. Ben pays Asha 5,000 → (75,000, 25,000).
  3. Asha tries to pay Ben 80,000 → reject under the simplified available-balance rule.

The rejected attempt must not create (−5,000, 105,000). Keeping totals constant is necessary but insufficient: neither balance may become negative.

For the deeper exercise, mark which events would require an on-chain transaction in the introductory model: funding, a completed off-chain update, and final close. Expected answer: funding and close have on-chain roles; each successful channel update does not require its own new block. This is not a complete trace of all possible on-chain resolution events.

Pause & explain

After a 10,000 sat payment shifts 80,000/20,000 to 70,000/30,000, did channel capacity increase?

Try explaining it in your own words before opening the answer.

Compare your explanation

No. The same 100,000 sats were reallocated. Ignoring fees and other constraints, one side’s balance fell by exactly the amount the other side’s rose.

Sources & scope

Primary references behind this explanation. Worked examples and diagrams are original teaching material.

  1. 01
    BOLT 2 — Peer protocol ↗

    Channel establishment, updates, reserves, and constraints that the single-channel balance model omits.

  2. 02
    BOLT 3 — Bitcoin transaction handling ↗

    Commitment transactions and on-chain enforcement. The article simplifies transaction formats and fee accounting.

Where this explanation stops

  • Simplifies a single channel and omits reserves, fees, HTLC state, splicing and channel-type-specific commitment formats.

Keep unfolding

Why can a Lightning node send but not receive? On-chain and Lightning payments: what changes for the user?