Skip to main content

What is the Lightning Network?

U
Written by UKey Wallet

The Lightning Network is a scaling solution for Bitcoin. It moves transactions off the main blockchain, while all final transaction results are still secured and settled by the underlying Bitcoin protocol.

The Lightning Network allows for almost instant payments at extremely low cost, while also supporting very high transaction throughput, as long as users have sufficient funds to send and receive payments. To use the Bitcoin Lightning Network, two participants first lock a certain amount of bitcoin into a special address. The funds in this address can only be released when both parties agree.

Once this is done, the two participants share a private ledger. Within this ledger, they can update their balances between each other without broadcasting every transaction to the main blockchain. When they finish transacting, the final result can be submitted to the main chain, and the Bitcoin protocol will update the balances of both parties accordingly. Throughout this process, neither party needs to trust the other. If one party attempts to cheat, the protocol can detect the misconduct and apply penalties automatically.

This type of payment channel requires only two on-chain transactions in total: one to fund the channel and one to settle the final balances. As a result, thousands of transactions can take place between those two on-chain actions. With further development and optimization, this second-layer technology could become a crucial part of large-scale blockchain infrastructure.

Did this answer your question?