SOLID STATE PRESS
← Back to catalog
The Lightning Network cover
Coming soon
Coming soon to Amazon
This title is in our publishing queue.
Browse available titles
Cryptocurrency & Blockchain

The Lightning Network

Payment Channels, HTLCs, and Bitcoin's Second Layer — A TLDR Primer

Bitcoin is slow, expensive, and congested — and if you've ever tried to understand why, you've probably hit a wall of jargon. The Lightning Network is Bitcoin's answer to that problem, but most explanations assume you already have a computer-science degree.

This TLDR primer cuts through the noise. You'll learn exactly how Bitcoin's second layer works: why the base chain can't scale on its own, how two people open a payment channel and trade balances off-chain without trusting each other, and how Hashed Timelock Contracts let payments route safely through strangers across the entire network. You'll also get an honest look at the real tradeoffs — liquidity problems, routing failures, the need to stay online — and a survey of where Lightning is actually being used today, from El Salvador's national wallet to streaming micropayments one satoshi at a time.

This guide is written for high school and early college students, developers taking their first steps into crypto, and curious readers who want a lightning network explained for beginners without the hand-waving. If you've searched for bitcoin payment channels explained and kept finding either a Reddit thread or a 400-page whitepaper, this is the middle ground you were looking for.

No prior blockchain expertise required — just a willingness to think carefully.

Grab your copy and get oriented in one sitting.

What you'll learn
  • Explain why Bitcoin's base layer can't handle high transaction volume and what 'Layer 2' means
  • Describe how a two-party payment channel is opened, updated, and closed on-chain
  • Understand how HTLCs (Hashed Timelock Contracts) route payments across multiple hops
  • Identify the main risks and tradeoffs of using Lightning: liquidity, routing, online requirements, and custody
  • Recognize real-world Lightning use cases and how they compare to traditional payment rails
What's inside
  1. 1. Why Bitcoin Needs a Second Layer
    Sets up the scaling problem Lightning was built to solve: block size limits, slow confirmations, and high fees on Bitcoin's base chain.
  2. 2. Payment Channels: The Core Idea
    Walks through how two parties open a 2-of-2 multisig channel, update balances off-chain, and close the channel on-chain.
  3. 3. HTLCs and Routing Across the Network
    Explains how Hashed Timelock Contracts let payments hop through strangers safely, turning isolated channels into a connected network.
  4. 4. Risks, Limits, and Tradeoffs
    Covers the real downsides: channel liquidity imbalances, the need to stay online, routing failures, custodial wallets, and watchtowers.
  5. 5. Lightning in the Real World
    Surveys actual use cases — micropayments, remittances, point-of-sale, El Salvador, streaming sats — and how Lightning stacks up against Visa, ACH, and other crypto Layer 2s.
Published by Solid State Press
The Lightning Network cover
TLDR STUDY GUIDES

The Lightning Network

Payment Channels, HTLCs, and Bitcoin's Second Layer — A TLDR Primer
Solid State Press

Contents

  1. 1 Why Bitcoin Needs a Second Layer
  2. 2 Payment Channels: The Core Idea
  3. 3 HTLCs and Routing Across the Network
  4. 4 Risks, Limits, and Tradeoffs
  5. 5 Lightning in the Real World
Chapter 1

Why Bitcoin Needs a Second Layer

Bitcoin processes roughly 7 transactions per second. Visa handles around 24,000. That gap is not an accident or an oversight — it is the direct consequence of deliberate design decisions baked into Bitcoin's base protocol, and understanding those decisions is the only way to understand why a second layer like Lightning exists at all.

The Block Size Wall

Every Bitcoin transaction is a small chunk of data. Transactions are bundled together into blocks, which are added to the blockchain — the shared, permanent ledger — roughly every 10 minutes. Each block has a maximum size, currently capped at about 4 megabytes (measured in a unit called weight, though 1–2 MB of ordinary transaction data is the practical limit). That cap is not arbitrary: smaller blocks propagate faster across the global network of nodes, making it harder for any single large miner to gain an unfair advantage. The cap is a security and decentralization choice.

The consequence is a hard ceiling on throughput — the number of transactions the network can confirm per unit of time, usually measured in transactions per second (TPS). With blocks arriving every 10 minutes and a size limit on each one, Bitcoin's theoretical maximum is around 7 TPS for simple payments. In practice it is often lower.

Example. Suppose 10,000 people each try to send a Bitcoin payment within the same 10-minute window. A single block can hold roughly 2,000–3,000 typical transactions. How many blocks does it take to clear the backlog, and how long does that take?

Solution. At 2,500 transactions per block, clearing 10,000 transactions requires $10{,}000 \div 2{,}500 = 4$ blocks. At one block every 10 minutes, that is $4 \times 10 = 40$ minutes minimum — assuming no new transactions arrive in the meantime. In reality, new transactions pour in continuously, so the backlog can grow rather than shrink.

Confirmation Time and Why It Matters

Even in the best case — your transaction makes it into the very next block — you wait roughly 10 minutes. For large purchases, merchants often wait for 6 confirmations (six consecutive blocks built on top of yours) to be confident the transaction won't be reversed by a chain reorganization. That is a full hour.

About This Book

If you're studying blockchain technology in a high school economics or computer science course, taking an intro fintech or distributed systems class in college, or just trying to make sense of how the Bitcoin Lightning Network works after hearing about it online, this book is for you. It's also useful for tutors running a session on cryptocurrency and parents helping a student prep for a related project or exam.

This guide covers the core ideas a curious student needs: how Bitcoin payment channels work, what Hash Time-Locked Contracts (HTLCs) are and why they matter, how the Lightning Network routes fast, cheap Bitcoin payments without touching the blockchain for every transaction, and where crypto layer 2 scaling fits into the bigger picture of Bitcoin smart contracts. Lightning network explained for beginners, without padding. Short by design.

Read straight through once to build the full picture. Work through the worked examples as you go, then tackle the problem set at the end to test your understanding.

Keep reading

You've read the first half of Chapter 1. The complete book covers 5 chapters in roughly fifteen pages — readable in one sitting.

Coming soon to Amazon