Cointime

Download App
iOS & Android

What Is the Lightning Network in Bitcoin and How Does It Work?

Validated Venture

The project is intended to scale bitcoin and provide faster and less expensive transactions of the first cryptocurrency than the basic mainnet. The fee for transferring LN is one satoshi (0.00000001 BTC).

The project has been criticized for providing insufficient economic incentives to maintain the network and for providing less anonymity to users than the bitcoin blockchain.

Why do we need Lightning Network?

Bitcoin’s throughput is about 7 transactions per second (TPS), and the time between new blocks is about 10 minutes. Such relatively low scalability rates were the result of the bitcoin creator’s solution to the blockchain trilemma, which involves finding a balance between the three characteristics of the network: decentralization, security and performance.

The current performance of bitcoin does not allow it to compete with centralized payment solutions such as Visa, whose system is capable of processing 65,000 TPS, as well as modern blockchain platforms such as Solana, which can process up to 400,000 TPS.

As a result, a second-level Lightning Network solution is a necessary compromise to maintain the decentralization and security of the main network layer by adding a faster and less expensive second layer.

According to data as of September 30, 2022, the average daily commission on the bitcoin network has not risen above $5 per transaction since the summer of 2021. In the Lightning Network, the transfer fee is 1 satoshi (0.00000001 BTC) — $0.0001 with the bitcoin price at $20,000.

Theoretically, LN scaling is unlimited. According to Lightning Network developer Joe Kendzicky, the maximum capabilities of LN are estimated at millions of operations per second.

How does Lightning Network work?

The use of payment channels is a key principle of the Lightning Network. This is a multisignature wallet that stores a predetermined amount of bitcoins. Coins can be provided by both sides or by just one.

A regular bitcoin transaction is used to open the channel. Its information is stored in the blockchain, and bitcoins are “blocked” for LN. In the future, all transactions conducted within the channel will take place directly between participants outside the blockchain. The channel’s maximum transfer amount cannot be greater than the blocked amount.

The Lightning Network channel is essentially an analogy for a safe, in which money is stored and made available to a select group of people in the future. However, if you need to know the digit combination to open the safe, private keys are used in the case of LN.

  Dynamics of the number of Lightning Network channels. Source: Bitcoin Visuals


The example of using Lightning Network

Here’s how LN is used in practice: Alex’s favorite coffee shop has announced that it will now accept bitcoin as payment. However, paying for a cup of coffee in BTC every time is prohibitively expensive due to the high fees. Furthermore, it takes time to confirm the transaction.

LN can fix it. Alex creates a payment channel between himself and the coffee shop and deposits 0.001 BTC into it, which he will spend later on ordering coffee. When you create a channel, 0.001 BTC is displayed on Alex’s balance and 0 BTC is displayed on the coffee shop’s balance.

Assume the cost of a cup of coffee is 0.0003 BTC. Following the first order, 0.0007 BTC will remain at Alex’s LN address, while 0.0003 BTC will remain on the coffee shop’s balance. As a result, Alex can order coffee until his balance is reset to zero or he closes the channel. With each transaction, Alex and the coffee shop sign an updated contract indicating how many coins are owned by each party in the channel. The bitcoin blockchain does not store data; instead, each party stores its own copy of the contract.

The Lightning Network is organized in accordance with the network principle. This means Alex may not have an open payment channel with the coffee shop, but he may be connected to him via other channels.

That is, users can exchange LN transactions with any other users who are linked to their payment channel network via nodes.

The financial incentive for establishing such connecting nodes is the receipt of small commissions each time a transaction occurs via one of the channels connected to it.

The Lightning Network architecture does not require the parties’ trust due to the use of smart contracts. Funds are always routed through intermediaries or returned to the sender if an indirect path to the recipient is not possible for whatever reason.

Which wallets support Lightning Network?

By the fall of 2022, there are already a number of bitcoin wallets on the crypto market that allow you to open channels and make transactions of the first cryptocurrency through LN. For beginners, such options as Blue WalletWallet of Satoshi or Nicehash are suitable. More advanced users can choose MuunBreezPhoenix or Zap.

The Lightning Network history

The concept of payment channels was proposed by Satoshi Nakamoto in 2009, providing the community with an outline of the code, which assumed the creation of special channels between users. In 2013, bitcoin developer Mike Hearn published a letter to Satoshi detailing these mechanisms.

In February 2015, Bitcoin developers Joseph Poon and Thaddeus Dryja published the first unfinished white paper of the LN paper ”The Bitcoin Lightning Network”. At the beginning of 2016, the main version of the LN whitepaper was released.

Due to the decentralized nature of LN development and the many independent development teams, the community had to create common implementation standards. The foundation of “standardization” was laid at the summit in Milan in October 2016.

In August 2017, the Segregated Witness soft fork was activated on the bitcoin network, a necessary update for the further implementation of the Lightning Network.

The test version of the LN client was released in March 2018 by the Lightning Labs team. At that time, more than 1,000 nodes were already operating in the network and 1863 channels were opened.

As of September 29, 2022, according to the 1ml service, LN has 17,829 nodes and 86,282 payment channels with a total network capacity of more than 4,900 BTC (about $94.6 million).

  The total capacity of the Lightning Network in bitcoins (in red) and dollars (in blue). Source: Bitcoin Visuals


The Lightning Network ecosystem

In 2021, analysts of the research company Arcane Research noted the exponential growth of the LN ecosystem due to the legalization of bitcoin in El Salvador, where the Chivo crypto wallet compatible with this protocol is used at the state level.

  Source: Twitter


In February 2022, the country’s authorities restarted Chivo, improving the user interface of the application, fixing bugs and adding improved LN support.

Transfers to the Lightning Network are supported by many centralized cryptocurrency exchanges, including Kraken, Bitfenix, OCX and OKCoin.

Venture capital firms are showing an interest in the development of the LN-based payment solutions sector. Strike, a Lightning Network-based payment application operator, successfully raised $80 million in funding in September 2022. The startup is working on an app that will allow users to buy bitcoin through LN as well as make transfers within this network.

  Projects and companies included in the Lightning Network ecosystem. Source: Coinbase


In February 2022, analytical firms also expressed interest. The Chainalysis platform added Lightning Network support to its transaction tracking solution.

Leading financial institutions are gradually incorporating LN into their services. Online broker Robinhood announced plans for LN integration in the spring of 2022, and MicroStrategy included the development of a wallet, server, and authentication options using the Lightning Network in the plans.

There are projects that allow tokenization of assets and even the issuance of stablecoins for use in LN-based applications. The Lightning Labs team announced the corresponding initiative in September 2022, presenting the alpha version of the Taro protocol.

Why is Lightning Network criticized?

A number of issues and potential vulnerabilities in the LN protocol have been identified by experts. One of them was discovered in 2020 by bitcoin developer Joost Jager: some payment channels were unable to make more than 483 micropayments and thus blocked BTC for up to two weeks. Furthermore, the Lightning Network described potential fraud opportunities with payment channels.

According to the Shinobi technical expert, the Lightning Network architecture has serious flaws: the network cannot develop due to a lack of significant economic incentives. According to him, the routing fees collected by LN nodes are insufficient.

An important remark to LN was made by an analyst under the pseudonym “Zem”, noting anonymity as one of the key problems for the adoption of technology.

The researcher also believes that because the technology does not comply with financial laws, decisions based on it will be difficult to obtain approval from organizations such as the Financial Crimes Enforcement Agency in the United States (FinCEN).

The Ethereum platform developer community has also criticized LN. Anthony Sassano, the founder of the EthHub blockchain project, compared LN to fax machines from the past, claiming that the Rollups technology used to scale the Ethereum network is the best option.

  Source: Twitter


Comments

All Comments

Recommended for you

  • Trump Threatens to Destroy Iranian Power Plants if Strait of Hormuz Not Opened

    March 20 - Trump stated that if Iran does not fully open the Strait of Hormuz within 48 hours, the United States will strike and destroy multiple Iranian power plants, starting with the largest one. (Jins10)

  • ETH Drops Below $2100

    Market data shows that ETH has fallen below $2100, currently trading at $2095.44. It has experienced a 24-hour decline of 2.47%. The market is experiencing significant volatility, so please manage your risk accordingly.

  • BTC Drops Below $69,000

    Market data shows that BTC has fallen below $69,000, currently trading at $68,955. The cryptocurrency has seen a 2.31% decrease in the past 24 hours. The market is experiencing significant volatility, and investors are advised to implement risk control measures.

  • BTC Drops Below $70,000

    Market data shows that BTC has fallen below $70,000, currently trading at $69,988.17. It has experienced a 0.74% decrease in the past 24 hours. The market is experiencing significant volatility, so please manage your risk accordingly.

  • Golden Morning News | Key Overnight Developments on March 22

    9:00 PM - 7:00 AM Keywords: Iran, US Dollar, Strait of Hormuz 1. BofA: Maintains a medium-term bearish view on the US Dollar. 2. Israeli Defense Minister states that strikes against Iran will intensify in the coming week. 3. Iranian Armed Forces announce significant actions being taken in the Strait of Hormuz. 4. US media reports that Trump's team is developing strategies for potential peace talks with Iran. 5. Analysts: US SEC's cryptocurrency guidance marks the "end of an era" for Gensler. 6. British media: Over 20 countries declare readiness to contribute to ensuring safe passage through the Strait of Hormuz. 7. Cryptocurrency companies lay off hundreds of employees within weeks, attributing it to a weak market and powerful AI.

  • US Media: Trump Team Strategizing for Potential Iran Peace Talks

    According to the website AXIOS, a US official and an informed source revealed that after three weeks of war, the Trump administration has begun preliminary discussions on the next phase and the possible form of peace negotiations with Iran. US President Trump stated on Friday that he is considering a "phased end" to the war, but US officials indicated that the fighting is expected to continue for another two to three weeks. Meanwhile, Trump's advisors hope to begin preparing for diplomatic mediation. Sources revealed that Trump's envoys Kushner and Wittcoff are participating in discussions regarding potential diplomatic avenues. Any agreement to end the war must include the reopening of the Strait of Hormuz, addressing Iran's enriched uranium stockpile, and reaching a long-term agreement on Iran's nuclear program, ballistic missiles, and support for regional proxies. Other sources also revealed that although Egypt, Qatar, and the UK have all conveyed messages between the US and Iran, there have been no direct contacts between the US and Iran in recent days. Egypt and Qatar have informed the US and Israel that Iran is interested in negotiations, but the conditions are very tough, with Iran's demands including a ceasefire, guarantees against future wars, and reparations.

  • BTC Surges Past $71,000

    Market data shows that BTC has broken through $71,000, currently trading at $71,007.92. It has seen a 1.93% increase in the last 24 hours. The market is experiencing significant volatility, so please manage your risk accordingly.

  • Golden Evening News | Key Developments on March 21st

    12:00-21:00 Keywords: Coinbase, Iran, OpenAI, James Wynn 1. Citigroup: Bitcoin could reach $165,000 this year. 2. Iranian Foreign Minister states the pursuit of a complete end to the war, not a temporary ceasefire. 3. OpenAI plans to nearly double its workforce to 8,000 employees by the end of the year. 4. James Wynn returns to HyperLiquid, shorting Bitcoin with 40x leverage. 5. Tim Cook responds to OpenClaw driving Mac Mini sales: Neural Engine added ten years ago. 6. Coinbase's asset management arm launches tokenized shares of a Bitcoin fund, accelerating its asset tokenization strategy.

  • Polymarket to Announce Major News Next Monday, Potentially Related to Token Launch or Funding

    March 21st news: A member of the official Polymarket team, Mustafa, posted on X stating that major news will be announced next Monday. Due to the inclusion of a coin emoji in the tweet, the community speculates that the significant news may be related to funding or a token launch. Previously, it was reported that prediction market platforms Kalshi and Polymarket were in discussions with potential investors for a new round of financing, with both targeting valuations of approximately $20 billion. Kalshi has recently completed a new round of financing exceeding $1 billion, reaching a valuation of $22 billion, doubling its valuation from the previous round in December last year, which was $11 billion. Sources familiar with the matter revealed that this round of financing was led by Coatue Management, and Kalshi's current annualized revenue is $1.5 billion.

  • Midday Briefing | Key Updates for March 21

    7:00 AM - 12:00 PM Keywords: Zedxion, Gold, Galaxy Digital, US SEC 1. UK Proposes Revoking License for Crypto Exchange Zedxion for Allegedly Facilitating Funding for Iran. 2. Gold Records Largest Weekly Drop in 43 Years. 3. Sources: Trump Administration Developing Plan to Seize Iranian Nuclear Material Reserves. 4. CryptoQuant Analyst: Galaxy Digital Suspected of Selling Approximately 700 BTC. 5. Galaxy Head of Research: New SEC Rules Reshape Digital Asset Regulation, Providing Clear Secondary Market Channels. 6. Claude Code Launches Cloud-Based Scheduled Tasks: Automates PR reviews, dependency upgrades, no local execution needed. 7. World Team Suspected of Conducting OTC Trade with an Entity, Sending 117 Million WLD.