Lightning Network204 · Module I · Lesson 02 of 4
Visuals · 8 min

HTLCs

The lock that makes routing safe.

Summary

The lock that makes routing safe. This lesson sits inside Module I — Payment channels — of Lightning Network, the course that anchors the Bitcoin program. It is not a survey; it is the specific, working understanding of "HTLCs" that the rest of the course assumes you carry forward.

Objectives
  • 01Define HTLCs in the precise sense used across Lightning Network.
  • 02Recognize when HTLCs is the correct lens for the situation in front of you, and when it is not.
  • 03Apply HTLCs to a concrete case drawn from Payment channels, and defend the result in plain language.
  • 04Connect HTLCs to the adjacent lessons in this module without collapsing the distinctions between them.
The Lesson

The idea, stated plainly

The lock that makes routing safe. That single sentence is the whole lesson in compressed form. The rest of the reading unfolds it — what it means when the terms are taken seriously, where it comes from, and what work it does inside Lightning Network. Read the sentence, then read it again after the sections below; it should carry more weight the second time.

Why it belongs in Payment channels

Module I exists because the primitive. "HTLCs" is one of the pillars of that module: without it, the later lessons either become memorization or lose their bite. Notice which earlier lessons this one leans on, and which later lessons will lean on it — the shape of the module is easier to see once you place this piece.

How the School of Blockchain faculty use it

In practice, working school of blockchain professionals reach for this idea before they reach for a formula or a tool. It is a way of framing the problem so that the right question comes first. The mark of understanding is not that you can recite HTLCs; it is that you catch yourself using it, unprompted, when the situation calls for it.

Common misreadings

The most frequent error is to treat HTLCs as a slogan and skip the mechanics. The second most frequent is the opposite — treating the mechanics as the point, when the mechanics are only there to make the idea usable. Both errors collapse the same distinction, and both are correctable by returning to the one-line summary and asking what it actually claims.

Visuals
Figure I — HTLCs, at a glance

A single-panel schematic. The center holds the phrase "HTLCs". Four short lines radiate out to labels drawn from the module: the situation, the actors, the mechanism, and the constraint. The figure is meant to be redrawn by hand in under a minute.

Figure II — Position inside Payment channels

A horizontal spine labeled with the module's lessons in order. The current lesson is marked; arrows point to the lessons immediately before and after it, indicating the direction of dependency. The visual makes the sequencing choices explicit.

Figure III — Common misreading, corrected

A two-column diagram. The left column shows the concept as it is often misread — flattened into a slogan. The right column shows the same concept as Lightning Network uses it, with the operational content restored. The gap between the columns is the lesson.

Key Ideas
  • HTLCs is a working tool, not a slogan.
  • Its meaning is set by the module it lives in: Payment channels.
  • Understanding is demonstrated by unprompted use in the correct situation.
  • The adjacent lessons in this module are its natural context; read them together.
References
  • 204 — Lightning Network, Module I: Payment channelsThe parent module for this lesson. Re-read the module blurb after finishing the lesson.
  • The Anabasis Academy — School of Blockchain, BitcoinThe wider program this lesson serves; the Certificate in Bitcoin (Practitioner tier). credential ultimately certifies mastery of ideas like this one.