The Bankless Guide to Lightning Network

4/3/2024, 5:54:09 PM
Intermediate
BitcoinBlockchain
The Layer 2 scaling solutions on Bitcoin, enabling fast and low-cost payments. This article will guide you through an in-depth understanding of how it works, a comparison with Ethereum's rollups, and the current dynamics of the network. Discover top Lightning wallets and understand how the Lightning Network is shaping the future of Bitcoin.

First proposed in 2015 and initially launched in 2018, The Lightning Network is a Layer 2 (L2) protocol built atop Bitcoin. The project is designed to enable faster and cheaper payments by moving them off the Bitcoin L1.

This scaling is achieved through the creation of payment channels between users, and these channels are kept open and cache transaction data offchain until they’re intentionally closed, at which point their info gets posted onchain.

How the Lightning Network works

When two users want to transact on Lightning, they set up a payment channel. This involves creating a transaction on Bitcoin to lock a certain amount of cryptocurrency in a shared wallet. This transaction is like opening a bar tab, one that only hits the blockchain when the users are ready to settle up.

Once this channel is open, the two users can transact with each other as much as they like without involving the L1 for each transaction. These transactions are quick and cheap because they’re not being broadcast to the entire network and don’t need to be individually verified by miners. Instead, they’re just between the two parties in the channel.

When it’s time to close the channel, a final transaction is made onchain. This transaction reflects the total balance of what’s been transacted in that particular channel. Essentially, it’s like settling the tab. The blockchain only records the final balance, not every transaction that led up to it.

The network of these payment channels forms a mesh, allowing users to send payments to each other even if they don’t have a direct channel together by routing the payment through intermediaries who have channels with each other.

This system is underpinned by the security and decentralized nature of Bitcoin while allowing for rapid and efficient transactions. However, it’s important to note that the capacity of each individual channel is limited by the amount of BTC that has been escrowed in its underlying wallet, which can impact the maximum transaction size that a given channel can support.

How the Lightning Network compares to rollups

The Lightning Network is tailored specifically for Bitcoin, which doesn’t inherently support smart contracts. The solution’s primary function is to facilitate quick and cheap peer-to-peer (P2P) payment transactions, and it achieves this through payment channels, which are like private ledgers between two parties.

By contrast, rollup-based L2 solutions are primarily used in the Ethereum ecosystem today, and they’re popular because of their smart contract capabilities. A rollup isn’t P2P but has a shared global state among all its users and works by executing transactions outside Ethereum and then “rolling up” batched transaction data onchain.

This approach allows for much faster and cheaper transactions than would be possible on the Ethereum L1, and because rollups support smart contracts, they can handle a wide variety of transactions, not just payments. This includes complex decentralized finance (DeFi) operations, trading and minting non-fungible tokens (NFTs), and other more advanced activities.

The pulse of the Lightning Network

While Bitcoin may not have smart contract capabilities, it’s still currently the 3rd-largest non-Ethereum Virtual Machine (non-EVM) chain in DeFi, and that’s largest thanks to the ~$207M USD worth of BTC that’s presently deposited in the Lightning Network.

Currently, the Lightning Network boasts 14,627 nodes and more than 5,015 BTC worth of capacity. The average node capacity was 0.343 BTC, and each node, on average, maintained about 8.34 channels at the time of this guide’s most recent update.

Top Lightning Network wallets

There is a range of Lightning Network wallets available to be downloaded, and each one offers unique features and experiences. Some of the most popular today are:

  • Breez Wallet — “The Interface of the Lightning Economy”
  • Electrum — “Improve your Bitcoin experience”
  • Muun — “A self-custodial wallet for Bitcoin and Lightning”
  • Strike — “The global money app for fast, safe payments and Bitcoin”
  • Wallet of Satoshi — “The world’s simplest Lightning wallet”

Zooming out

While the Lightning Network remains the most significant L2 solution built on Bitcoin, offering the cheapest method for native BTC transactions today, it also faces non-trivial obstacles.

These challenges include a less-than-great UX, limitations in handling advanced transactions, and competition from more flexible Ethereum Virtual Machine (EVM)-based payment solutions like Sablier. Additionally, emerging complex scaling solutions such as validity proofs in the Bitcoin ecosystem could potentially overshadow the Lightning Network in the long term.

Despite these hurdles, though, the reality for now is that Lightning Network stands as the largest Bitcoin-based L2 solution to date, and it’ll be around for years to come.

Disclaimer:

  1. This article is reprinted from [bankless], All copyrights belong to the original author [bankless]. If there are objections to this reprint, please contact the GateLearn “Gate Learn”) team, and they will handle it promptly.
  2. Liability Disclaimer: The views and opinions expressed in this article are solely those of the author and do not constitute any investment advice.
  3. Translations of the article into other languages are done by the Gate Learn team. Unless mentioned, copying, distributing, or plagiarizing the translated articles is prohibited.

Share

Crypto Calendar

Proje Güncellemeleri
Etherex, 6 Ağustos'ta REX token'ını piyasaya sürecek.
REX
22.27%
2025-08-06
Nadir Geliştirici ve Yönetim Günü Las Vegas'ta
Cardano, 6-7 Ağustos tarihleri arasında Las Vegas'ta Rare Dev & Governance Day etkinliği düzenleyecek. Etkinlik, teknik gelişim ve yönetişim konularına odaklanan atölye çalışmaları, hackathonlar ve panel tartışmaları içerecek.
ADA
-3.44%
2025-08-06
Blok Zinciri.Rio Rio de Janeiro'da
Stellar, 5-7 Ağustos tarihlerinde Rio de Janeiro'da gerçekleştirilecek Blockchain.Rio konferansına katılacak. Program, Stellar ekosisteminin temsilcilerini, Cheesecake Labs ve NearX ortakları ile birlikte içeren anahtar konuşmalar ve panel tartışmaları içerecek.
XLM
-3.18%
2025-08-06
Webinar
Circle, 7 Ağustos 2025 tarihinde, UTC 14:00'te "GENIUS Yasası Dönemi Başlıyor" başlıklı bir canlı Yönetici İçgörüleri web semineri düzenleyeceğini duyurdu. Oturum, Amerika Birleşik Devletleri'nde ödeme stablecoin'leri için ilk federal düzenleyici çerçeve olan yeni kabul edilen GENIUS Yasası'nın etkilerini inceleyecek. Circle'ın Dante Disparte ve Corey Then, yasaların dijital varlık inovasyonu, düzenleyici netlik ve ABD'nin küresel finansal altyapıdaki liderliği üzerindeki etkilerini tartışacak.
USDC
-0.03%
2025-08-06
X üzerinde AMA
Ankr, 7 Ağustos'ta UTC 16:00'da X üzerinde bir AMA düzenleyecek ve DogeOS'nin DOGE için uygulama katmanını inşa etme çalışmalarına odaklanacak.
ANKR
-3.23%
2025-08-06

Related Articles

In-depth Explanation of Yala: Building a Modular DeFi Yield Aggregator with $YU Stablecoin as a Medium
Beginner

In-depth Explanation of Yala: Building a Modular DeFi Yield Aggregator with $YU Stablecoin as a Medium

Yala inherits the security and decentralization of Bitcoin while using a modular protocol framework with the $YU stablecoin as a medium of exchange and store of value. It seamlessly connects Bitcoin with major ecosystems, allowing Bitcoin holders to earn yield from various DeFi protocols.
11/29/2024, 10:10:11 AM
Solana Need L2s And Appchains?
Advanced

Solana Need L2s And Appchains?

Solana faces both opportunities and challenges in its development. Recently, severe network congestion has led to a high transaction failure rate and increased fees. Consequently, some have suggested using Layer 2 and appchain technologies to address this issue. This article explores the feasibility of this strategy.
6/24/2024, 1:39:17 AM
The Future of Cross-Chain Bridges: Full-Chain Interoperability Becomes Inevitable, Liquidity Bridges Will Decline
Beginner

The Future of Cross-Chain Bridges: Full-Chain Interoperability Becomes Inevitable, Liquidity Bridges Will Decline

This article explores the development trends, applications, and prospects of cross-chain bridges.
12/27/2023, 7:44:05 AM
Sui: How are users leveraging its speed, security, & scalability?
Intermediate

Sui: How are users leveraging its speed, security, & scalability?

Sui is a PoS L1 blockchain with a novel architecture whose object-centric model enables parallelization of transactions through verifier level scaling. In this research paper the unique features of the Sui blockchain will be introduced, the economic prospects of SUI tokens will be presented, and it will be explained how investors can learn about which dApps are driving the use of the chain through the Sui application campaign.
6/13/2024, 8:23:51 AM
BTC and Projects in The BRC-20 Ecosystem
Beginner

BTC and Projects in The BRC-20 Ecosystem

This article introduces BTC ecological related projects in detail.
1/25/2024, 7:37:36 AM
Navigating the Zero Knowledge Landscape
Advanced

Navigating the Zero Knowledge Landscape

This article introduces the technical principles, framework, and applications of Zero-Knowledge (ZK) technology, covering aspects from privacy, identity (ID), decentralized exchanges (DEX), to oracles.
1/4/2024, 4:01:13 PM
Start Now
Sign up and get a
$100
Voucher!