Lightning Network Functionality

Architecture

The Lightning Network functions as a layer-2 scaling solution built atop a blockchain, primarily Bitcoin, enabling near-instant and low-cost transactions. Its design facilitates bidirectional payment channels between users, allowing for numerous transactions to occur off-chain before settling the net balance on the main blockchain. This layered approach significantly reduces congestion on the underlying blockchain and improves transaction throughput. Routing protocols within the network enable payments to flow between users who do not have direct channels, creating a complex web of interconnected payment pathways.