lightning network

This website has affiliate links. We may receive compensation if you visit partners we recommend. Read more about our advertising principles from the About Us page.

What is Lightning Network?

What is the Lightning Network? It is a solution to Bitcoin’s scalability issues. Lightning Network enables real-time transactions with close to zero fees. This article is the Lightning Network beginner’s guide. You’ll learn about the technology and how to use it in practice.

The History of the Lightning Network

The Lightning Network is an old concept. It can be traced to 2009, when the first versions of the Bitcoin codebase were released. Satoshi Nakamoto was the first to write about payment channels over ten years ago!

This idea of payment channels was developed further between 2011 and 2015. Different developers and tech companies participated in the process. However, no final consensus was reached.

You can read more about the history of the payment channels from this article.

The concept of the Lightning Network was born in 2015. Tadge Dryja and Joseph Poon published a white paper titled The Bitcoin Lightning Network: Scalable Off-Chain Instant Payments.

This white paper presented an idea called the Poon-Dryja payment channel. It made it possible to create a payment channel that can be updated in both directions. Hashed Timelock Contracts (HTLCs) are also integral to the Lightning Network.

At the same time, the discussion of Bitcoin’s scalability issues exploded. Two major scaling conferences were held in late 2015.  Poon and Dryja presented their ideas at these conferences and received strong support from the Bitcoin community.

Different implementations

The Lightning Network is an open-source concept, just like Bitcoin. Hence, different entities have developed their versions of the Lightning Network. ACINQ, Blockstream, and Lightning Labs have been the most important developers. They cooperated during the process and developed LN specifications together.

Blockstream started developing its implementation in 2015. It’s called C-lightning because of the programming language C it was created with. Bitfinex is a popular cryptocurrency exchange that has adopted Blockstream’s C-lightning.

Lightning Labs is a tech company founded in 2016. It was built by previously mentioned Tadge Dryja & Joseph Poon, together with Elizabeth Stark and Olaoluwa Osuntokuni.

elizabeth stark
Elizabeth Stark, the CEO of Lightning Labs

Many feel that Elizabeth Stark has given the face to Lightning Network technology. In the past years, she has been an active speaker at many conferences. Stark is currently the CEO of Lightning Labs. She’s also active on Twitter with the handle @starkness.

You can learn more about different LN implementations from this article.

The Lightning Network also required changes to the Bitcoin program code (Bitcoin Core). The most important one was SegWit (Segregated Witness) in August 2017.

The SegWit soft fork also caused the Bitcoin community to split in half and Bitcoin Cash to be created. This was all due to the long-running scaling debate. Bitcoin Cash was hard-forked a couple of weeks before the SegWit soft fork was activated.

The development in recent years

The Lightning Network transformed from theory to practice in late 2017 and early 2018. A significant milestone was reached on December 28th, 2017, when Alex Bosworth (a developer at Lightning Labs) successfully paid his phone bill using the Lightning Network.

Blockstream and Lightning Labs published their first versions of the Lightning Network in early 2018, making it possible for others to join and start testing it. The Lightning Network is a network of nodes running the required software, like Bitcoin.

Lightning Labs published a beta version of its LN implementation in March 2018, which was a major step. At the time, the company raised 2.5 million dollars of additional funding. One of the investors was Twitter’s CEO Jack Dorsey, a big fan of Bitcoin and the Lightning Network.

The Lightning Network has grown steadily in the past few years. Up-to-date network statistics are available at and

The number of nodes tenfolded to 12,000 between 2018 and 2021. There are currently about 45,000 payment channels, which has doubled in two years. More than 55 million USD worth of bitcoins are locked in the network (as of June 2021).

Layer 2 explained

The scalability debate of Bitcoin is the reason the Lightning Network exists. Bitcoin is over ten years old as a technology, and the transaction capacity is minimal. Roughly speaking, there are two ways to scale Bitcoin.

  1. Increase the throughput by increasing the block size. This is the path Bitcoin Cash has chosen.
  2. Increase the throughput by moving small transactions out of the Bitcoin blockchain. This solution is called Layer 2.

Bitcoin is not the only cryptocurrency facing scalability issues. Ethereum’s blockchain has been badly clogged since 2020. This has been solved by moving the heaviest applications to a different blockchain (sidechain) and Layer 2s.

This is how the Layer 2 architecture looks like. (source)

the lightning network

The Lightning Network is only one of the protocols added to the “top” of the Bitcoin blockchain. This is Layer 2, while the Bitcoin blockchain is Layer 1. The third layer is all about software and API for the end-users, such as trading programs and wallets.

The Lightning Network is an alternative network for small transactions (a.k.a. micropayments). In theory, one can also make large transactions. That just requires higher throughput from the payment channels. The benefits of the LN are seen in situations where payments need fast confirmations, such as when purchasing a cup of coffee.

LN enables transactions between two entities without making ledger entries to the Bitcoin blockchain. Bitcoin has an average block time of 10 minutes and throughput of 7 transactions per second. It doesn’t make sense to use such a network for small purchases, and the fees are also too high.

When transactions are moved out of the Bitcoin blockchain, this 10-minute restriction is also removed. Transactions sent in the Lightning Network are practically in real-time with close to zero fees.

The Lightning Network technology

One cannot fully understand how the Lightning Network works before understanding Bitcoin. If you need a quick recap of Bitcoin’s technology, check out our beginner’s guide to Bitcoin before proceeding.

The Bitcoin network consists of tens of thousands of computers called nodes. These nodes run the Bitcoin software called Bitcoin Core. Anyone can set up a node and join the network at any time.

The Lightning Network is also a network of nodes. They run the Lightning Network software. This is also a permissionless network. A Lightning Network node operator can also set a price for the incoming transaction traffic.

lightning network
Nodes of the Lightning Network in Europe. Source:

Each Lightning Network node has a Lightning wallet, to which the operator has to make a Bitcoin deposit. Then, it’s possible to open payment channels by staking x number of bitcoins per channel. The Lightning Network is not yet suitable for making large payments. If you tried to send 100 bitcoins through LN, there wouldn’t be big enough channels available.

The Lightning Network differs also from how the internet works. When you connect to a web server, your request is forwarded one step at a time toward the final destination.

The Lightning Network is using technologies called source routing and onion routing. When a Lightning transaction is sent, the optimal route is calculated based on the current network status. Next, the protocol wraps the route map with encrypted layers. Opening this route map is like peeling an onion. Hence, the name onion routing.

When the Lightning transaction travels in the network, each node sees only the top layer of the route map. The rest of the is encrypted and hidden.

Andreas Antonopoulos has tweeted about this fact. Nobody knows how many transactions there are in the Lightning Network, and that’s great! Check also the link in his tweet.

Payment channels

The Lightning Network is all about payment channels mentioned earlier in this article. LN also adds smart contracts to the mix. They are being used to keep track of each Lightning Network operator’s balance.

The video below explains Lightning Network transactions.

Since the Lightning Network already has thousands of nodes, there are many more channels than just one or two.

The network always takes advantage of existing channels. When a new node joins the Lightning Network, the owner can choose which nodes it opens channels with. Each node adds more channels and increases the network’s capacity.

There is one big misconception here that we should clear. If you buy a cup of coffee using Lightning payments, you are not opening a channel between yourself and the coffee shop.

In practice, your wallet software and the coffee shop’s wallet software are connected to the Lightning Network. Every single LN user is not a node, just like most users are not nodes in the Bitcoin network.

Using the Lightning Network

Now, you should understand how the Lightning Network works. Next, we show you how to use it in practice. Do you have to open and close payment channels or set up a node? No, that’s not needed. Using a Lightning wallet is as easy as using a standard Bitcoin wallet.

This is how it works.

  1. Download a Lightning mobile wallet
  2. Send bitcoins to your Lightning wallet
  3. Use the Lightning Network as much as you want
  4. Move funds back to the Bitcoin blockchain

First, you need a wallet suitable for transacting in the Lightning Network. Wallet of Satoshi and Bluewallet are popular choices. Both are easy to use and available for both iOS and Android users.


Next, you need to fill your Lightning wallet.

Open the BlueWallet app and create a new Bitcoin wallet. Next, make a standard Bitcoin transaction to it from your existing wallet. Once you have bitcoins, create a new Lightning wallet and use the refill to move your bitcoins to the Lightning wallet.

The Wallet of Satoshi also has a separate Bitcoin and Lightning wallet. When you send bitcoins to your WoS Bitcoin wallet, they are automatically converted to satoshi in your Lightning wallet. No extra conversion is needed.

Sending satoshi in the Lightning Network differs slightly from sending bitcoins in the Bitcoin network. In the LN, the receiver must always create an invoice for a specific amount. The wallet software then generates a QR code and a Lightning address.

lightning networ invoice

As you can see, the address of a Lightning invoice is a long string of numbers and characters.

There is a fundamental difference between LN and Bitcoin transactions. You can go to explorer, view transactions of any block, and pick a random Bitcoin address. Then, you can send some bitcoins to that address.

This is not possible in the Lightning Network. You can only send satoshi to an invoice first generated by the receiver.

Check this video for a step-by-step guide on using BlueWallet.

As you have noticed, the LN’s unit is satoshi, not bitcoin. This is because the Lightning Network is mainly used for small transactions. It’s easier to express small values with satoshi. For example, 150 sat is more pleasant to read than 0.0000015 BTC.

One satoshi is one hundred millionth of a bitcoin (0.00000001 BTC). Other networks use similar units, too. For example, Ethereum has gwei for expressing minimal values.

Making transactions in the Lightning Network is easy. When you want to receive a payment, your wallet generates an invoice with a few clicks. You can then share the invoice address or QR code. Transactions are done in a couple of seconds with close to zero fees.

The only difficult phase is returning to the Bitcoin blockchain. If you want to move your satoshi from the Lightning wallet, you need a third-party exchange. BlueWallet is recommending Another popular service is Coinplaza. You’ll find user guides on YouTube.

The Criticism of the Lightning Network

The Lightning Network is here to stay; there is no doubt about that. It was different two or three years ago, but the network capacity has increased rapidly. It’s also a fact that LN works! Transactions are lightning-fast. Still, there is room for criticism.

The Lightning Network is nothing truly remarkable in the big picture. The XRP Ledger and Stellar Lumens have moved tokens as fast as possible for several years. Many 3rd generation platforms can also process lightning-fast transactions with nearly zero fees.

What makes LN unique is the distributed nature of the network and Bitcoin’s security as its backbone. Other scalable platforms are more or less centralized and use a Proof of Stake consensus, where the network is validated by its wealthiest individuals.

On the other hand, critics also say that this could happen to Lightning Network. Big operators could dominate the network by staking the most bitcoins in their payment channels.

Check the video below for helpful information on the Lightning Network and its limitations. It features Tadge Dryja, who was previously mentioned in the history section.

Then, there is the bridge between Bitcoin and the Lightning Network.

You can only enjoy the benefits of LN if your wallet is filled with satoshi. If you walk to a coffee shop with an empty Lightning wallet, you’d have to wait for anything from minutes to an hour to fill it with bitcoins first.

Moving your coins back to the Bitcoin network is not easy enough. Third-party services are currently needed.

The Lightning Network isn’t a perfect solution. Like any other technology, it has weaknesses. However, the potential is already there. It’s very easy to use a Lightning wallet for transactions, which are truly done in seconds.

In the end, we’ll always return to the question of scaling the network. Is it possible to have a scalable Layer 1? Many platforms will struggle with this question in the future. Ethereum is a good example of a platform that has also moved to Layer 2 solutions.

Jack Mallers, Strike, and El Salvador

The Lightning Network has made the headlines in 2021 all over the world. All thanks to Jack Mallers and Strike. This is a money-transfer service using the Lightning Network. It enables free transactions all over the world with fiat currencies as well!

Check out this video. Jack Maller is creating a payment contract that converts dollars from the U.S. to the euro and sends automated transactions every five seconds. Would you like to receive your salary every five seconds instead of once a month? Now it’s possible!

Jack Mallers and Strike became famous in June 2021 when El Salvador announced that it would make Bitcoin legal tender. Mallers had brought Strike to El Salvador earlier to tackle remittance issues, which inspired the country’s president, and the rest is history.

Lightning Network could have a big impact on the remittance market. Up to 20% of El Salvador’s GDP comes from money transfers. Workers in the U.S. send dollars back to their families in El Salvador. Global remittance giants can charge tens of percentages in fees for every transaction.

El Salvador will also make Bitcoin legal tender, which means the Bitcoin Standard is truly enabled in the country. When all goods and services are priced in bitcoins, the dollar can be ditched entirely. The Lightning Network enables all day-to-day transactions.

Update 25/04/2024: Jack Mallers’ Strike app has finally come to Europe! Strike is also a very easy-to-use wallet for Lightning Network.

AboutBitcoin Team

Hey! We're the AboutBitcoin squad, a team of crypto lovers who've been all about cryptocurrency since 2017. Every week, we drop the latest news and cool insights from the crypto world. Come hang with us as we dive into the crazy, ever-changing scene of cryptocurrencies – it's gonna be an awesome adventure!