Read
Edit
History
Notify
Share
Lightning Network
The Lightning Network is a layer 2 technology built on top of the Bitcoin architecture that aims to address the challenges of slow transaction speed and high energy costs. By utilizing micropayment channels and off-chain transactions, the Lightning Network enhances the scalability and efficiency of the Bitcoin blockchain. [1]
Overview
The Lightning Network, proposed by Joseph Poon and Thaddeus Dryja in 2016, offers a scalable solution by introducing off-chain transactions through micropayment channels. It operates as a secondary layer that complements the primary blockchain, enabling faster and more cost-effective transactions by enabling direct peer-to-peer transfers and bypassing the need for intermediaries. Through the use of smart contracts and payment channels, participants can conduct multiple transactions without relying solely on the slower main net. Lightning Network transactions also offer increased privacy and have the potential to handle millions of transactions per second, surpassing Bitcoin's core blockchain capabilities. This is designed to make Bitcoin function more like the peer-to-peer electronic cash envisioned by Satoshi Nakamoto. [2][3]
History
The Lightning Network traces its origins back to Satoshi Nakamoto's early writings, but its development is attributed to Thaddeus Dryja and Joseph Poon. Thaddeus is an experienced Bitcoin developer who currently works at MIT's Digital Currency Initiative, focusing on cryptocurrency scaling and interoperability. Joseph Poon, also a long-time Bitcoin developer, shifted his focus to Ethereum in 2017 and co-authored the Plasma white paper with Ethereum founder Vitalik Buterin. [4]
In 2014, Thaddeus and Joseph began exploring ideas to scale Bitcoin more efficiently, observing the limitations of existing scaling solutions. They published the Lightning Network white paper in February 2015 and presented their invention at a Bitcoin conference in San Francisco, where they had initially met in the previous year. In January 2016, they co-founded Lightning Labs, along with two other Bitcoin enthusiasts, to further develop the Lightning Network. [4]
After more than two years of dedicated work and collaboration with Bitcoin developers, including Blockstream, the Lightning Network was completed in February 2018. A notable event to mark this milestone was when Laszlo Hanyecz, known for making the first-ever Bitcoin purchase by buying two pizzas for 10,000 BTC in 2010, purchased pizzas using BTC on the Lightning Network. [4][5]
In March 2018, Lightning Labs secured over $2.5 million in funding from notable investors, including ex-Twitter CEO Jack Dorsey. Shortly after, the Lightning Network was declared ready for regular Bitcoin users, signifying its readiness for broader adoption and usage. [4][6]
Key Components
Micropayments
Micropayments refer to a system that enables scalable and efficient transaction processing on the Bitcoin blockchain. By establishing micropayment channels between two parties, the need for broadcasting every transaction to the entire blockchain is eliminated. Instead, only the net settlement of balances between the parties is periodically recorded on the blockchain, allowing for a trustless and decentralized financial relationship. These channels use real Bitcoin transactions, ensuring that payments are communicated and exchanged off-chain. [7][8]
It allows for a large number of transactions to be conducted securely and quickly, with computational power available on standard desktop computers. Through the use of time locks and cryptographic signatures, the network ensures that the agreed-upon balance inside a channel is valid and enforceable. By deferring the broadcast of transactions to the blockchain, micropayment channels offer a solution for conducting efficient and cost-effective transactions while maintaining the security and decentralization of the Bitcoin network. [7][8]
Bidirectional Payment Channels
Bidirectional payment channels within the Lightning Network allow for the creation of ledger entries on the blockchain, requiring both participants to sign off on any spending of funds. These channels enable participants to create transactions that refund the ledger entry back to their individual allocations without broadcasting them to the blockchain. Through the use of smart-contract scripting, only the most recent version of the ledger entry is considered valid. At any time, either party can close the entry by broadcasting the most recent version to the blockchain, without the need for trust or custodianship. [3][8]
To establish a bidirectional payment channel, participants first create an unsigned funding transaction. This transaction includes inputs and outputs funded by both parties but is not yet signed. By not signing the transaction, they can create spends from the 2-of-2 multisignature script without the transaction being finalized. The signatures are exchanged only when both parties have created spends refunding the original amount back to each funder. This approach ensures that the funds are not locked up in case of non-cooperation. [3][8]
Hashed Timelock Contract
A Hashed Timelock Contract (HTLC) is the component of the Lightning Network that enables secure and conditional fund transfers between participants. It ensures trustless and time-bound transactions, allowing for secure payments across multiple channels. [8][3]
HTLCs use a combination of hashed values and time commitments to create a contract between participants. The purpose of an HTLC is to establish a globally verifiable state across multiple nodes using cryptographic hashes. This state is enforced through time-based commitments and the subsequent disclosure of preimages associated with the hashes. [7][8]
By utilizing HTLCs, participants can facilitate payments without having to trust their channel counterparties or any other intermediaries in the network. It eliminates the need for custodial control and enables secure transactions through programmable smart contracts. [8][9]
The HTLC mechanism involves the creation of specific transactions that are only valid after a predetermined time. These transactions include conditions that require participants to disclose preimages or adhere to specified time constraints. If the conditions are met, the contract can be settled accordingly. If the conditions are not met within the specified timeframe, the contract becomes void, preventing unauthorized fund transfers. [8][9]
Binance Integration
On July 17, 2023, Binance, one of the leading cryptocurrency exchanges announced the integration of the Bitcoin Lightning Network on its platform for BTC withdrawals and deposits. This integration, aimed to improve the scalability and efficiency of Bitcoin transactions on the platform. The Lightning Network's implementation allows for faster and more cost-effective transactions, reducing the strain on the main Bitcoin blockchain. Since the onboarding of the technology, Binance users are now able choose "LIGHTNING" as an option when withdrawing or depositing Bitcoin, along with other available options. [10]
Lightning Network
Commit Info
Edited By
Edited On
January 2, 2024
Feedback
Average Rating
How was your experience?
Give this wiki a quick rating to let us know!
Twitter Timeline
Loading
Media
REFERENCES
[1]
[2]
[3]
[4]
[5]
[6]
[7]
[8]
[9]
[10]