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

  • U.S. consumer confidence improves again in November, reaching a two-year high

    Dana M. Peterson, Chief Economist of the World Large Enterprises Federation, said, "US consumer confidence continued to improve in November, reaching the highest level in the past two years. The growth in November was mainly due to consumers' more positive assessment of the current situation, especially in the labor market. Compared with October, consumers' optimism about future employment opportunities has also greatly increased, reaching the highest level in nearly three years. At the same time, consumers' expectations for future business conditions have not changed, while their optimism about future income has slightly declined." Earlier, the US Conference Board Consumer Confidence Index for November recorded 111.7, a new high since July 2023.

  • Starknet: Phase 1 of STRK staking is now live on the mainnet

    Starknet announced that the first stage of STRK staking has officially launched on the mainnet.

  • CZ: Not trying to end the meme craze, just encouraging more builders

    CZ posted on X platform today, saying: "I am not against Meme coins, but Meme coins have become 'a little' strange now. Let's use blockchain technology to build practical applications." Some community users said that even Musk is a supporter of Meme coins, and it is very difficult to end this frenzy. CZ responded that "there is no attempt to end anything, everyone has the right to choose to invest or hold what they want. Just encourage more builders."

  • Talus Network Completes $6 Million Strategic Round of Financing with a Valuation of $150 Million

    decentralized AI protocol Talus Network raised $6 million in a strategic financing round led by Polychain Capital, valuing the company at $150 million. This funding will help further develop the Talus ecosystem, including the Protochain, Nexus framework, and "AI dating experience" application.

  • AXIOS: Trump is considering appointing a secretary of state for artificial intelligence

    according to AXIOS, Trump is considering appointing an AI minister to coordinate federal policies and government use of emerging technologies.

  • Coinbase International has launched COW perpetual contracts

     Coinbase International has launched COW perpetual contracts. COW-PERP market limit, market, stop loss, and stop loss limit orders are now all available.

  • Schuman Financial Completes $7.36 Million Seed Round, Led by RockawayX

    Schuman Financial has completed a $7.36 million seed round of financing, led by RockawayX, with participation from Lightspeed Faction, Kraken Ventures, Nexo Ventures, Gnosis VC, Delta Blockchain Fund and Bankless Ventures. In addition, Schuman Financial has launched a euro stablecoin, EURØP, which complies with the MiCA standard.

  • QCP: BTC's path to $100,000 has stalled, and ETH implied volatility has turned to put options

    QCP Capital has published an analysis indicating that the recent drop in the price of Bitcoin has resulted in long liquidations exceeding $430 million. This drop coincides with the end of five consecutive days of net inflows for spot ETFs, which recorded a outflow of $438 million on Monday, while MicroStrategy fell by 4.4%. With the US holiday approaching and no immediate catalyst to push prices higher, BTC's path towards $100,000 has stalled. In addition, the implied volatility of ETH has turned to bearish options rather than bullish options, and market concerns about downside risks may intensify, especially with the release of the FOMC meeting minutes and PCE data. However, in the long run, this market decline is not an excessive correction. Bitcoin has only retreated to last week's level. Since Trump's election, the market has become extremely overbought and leveraged, so a pause is inevitable.

  • MarbleX and Netmarble Launch $20 Million Ecosystem Promotion Plan

    Ethereum game platform Immutable has announced a partnership with the blockchain game division Marblex of South Korean gaming giant Netmarble. The collaboration will migrate Marblex's ecosystem and its multiple games from the Klaytn blockchain to the Ethereum Layer 2 network Immutable zkEVM. The games include "Ni no Kuni: Cross Worlds", "A3: Still Alive" and "Meta World: My City", and the two parties will also launch an "ecosystem promotion plan" to provide up to $20 million in support to developers to attract new games to join Marblex and Immutable. It is currently unclear whether the Immutable migration will affect Saga's plans, and the project representatives have not commented on the issue.

  • Blockchain Asset Management announces launch of a dedicated blockchain fund for accredited investors

    Blockchain Asset Management, a cryptocurrency fund with a scale of $100 million, announced the launch of an exclusive blockchain fund for qualified investors. The specific amount of funds raised by the fund has not been disclosed yet, but it is said to have reached "eight figures", which means it is in the tens of millions of dollars. In addition, the investment threshold for the new fund is $100,000, and all investors are required to meet the approved standards (annual income exceeding $200,000, net assets exceeding $1 million).