The Lightning Network functions as a Layer 2 mechanism to enable quicker and less expensive Bitcoin payments by routing value through off-chain payment channels. This decentralized arrangement permits near-instant micropayments and is intended to improve Bitcoin’s scalability, with a theoretical throughput ranging from millions to billions of transactions per second, making it more practical for routine payments.
Overview
The Lightning Network operates as a peer-to-peer payment layer that links on-chain payment channels to facilitate fast, low-cost Bitcoin transfers. The protocol was also built to permit off-chain atomic swaps between blockchains that utilize the same cryptographic hash function.
Channels are interconnected so funds can move across the network without participants having to place trust in one another. Sending a payment requires finding a route from the sender’s node to the recipient; because each node’s liquidity is not fully visible, routing may require several attempts.
Transactions on Lightning are atomic, employing Hash Timelock Contracts (HTLC) to guarantee a payment either completes or fails even if some nodes stop responding. Operators that forward payments collect fees and manage liquidity to maintain reliable routing.
Lightning Labs, founded by Elizabeth Stark and Olaoluwa Osuntokun, produces software implementations that support the Lightning Network, enabling fast, low-cost, globally accessible layer-two Bitcoin transactions. Their open-source, secure, and scalable Lightning software simplifies moving funds, and they provide verifiable, non-custodial financial services on the Lightning Network, connecting open-source infrastructure with the next wave of Bitcoin-based financial applications.
Features
Lightning Loop lets node operators adjust channel liquidity by moving funds between Lightning channels and on-chain Bitcoin addresses. Loop Out sends a Lightning payment to an on-chain address to create inbound capacity, while Loop In moves on-chain Bitcoin into a Lightning channel to add outbound capacity. Loop uses trustless submarine swaps to remain non-custodial, batches Loop Out operations to reduce fees, and secures access using L402, which pairs Macaroons with Lightning payment verification. Lightning Pool is a non-custodial auction marketplace for leasing Lightning Channel Liquidity (LCL), where participants buy or sell time-limited liquidity instruments that mature under Bitcoin contracts. These leases let users obtain inbound or outbound liquidity and earn interest, with makers’ funds locked by Bitcoin contracts until maturity. When orders clear, they are settled in a batched on-chain transaction, providing participants with income beyond routing fees. The open auction model signals where liquidity is needed, diminishes idle channels, and improves distribution; newcomers can acquire inbound funds at the required percentage with prices set by market demand for liquidity.
- Lightning Node Connect, running on the Lightning Terminal Daemon (litd), handles requests, transfers data, and uses macaroons for authentication.
- Proxy (TURN), which enables network traversal for nodes located behind NAT or firewalls, establishing synchronous communication channels.
- Application, such as Lightning Terminal, served via a web server, with the option to run as a standalone application on various devices.