What Is Lightning Network And How Will It Supercharge Bitcoin — Exscudo Blog

Introduced in 2015 by Joseph Poon and Thaddeus Dryja, the Lightning Network is one of the most promising innovations on top of the Bitcoin blockchain. It may be the first time you hear about it, but in the nearest future, most of your BTC transactions may be based on this solution. Today, we will deal with the question “What is the Lightning Network and how does it work in real life?” Keep reading if you don’t know the answer!

What Is Lightning Network And What Problems It Solves

If you read your guides on cryptocurrency and blockchain, you probably know that high transaction speed and low operational fees are two big advantages of Bitcoin over banks. So, why would you want to improve something already good? There are some reasons for it.

What Is Lightning Network: Bitcoin Scalability Issue

Decreased Transaction Speed

Increased Transaction Fees

Now imagine that the aircraft (the BTC network) was not designed to fit all the passengers who want to take this very flight. It motivates more people to pay for priority boarding; otherwise, the chances are you will never reach your destination. As a result, taking a flight becomes unaffordable for economy-class passengers.

The same thing is happening now to the Bitcoin network. It’s the oldest and most popular platform that many people want to use. The original idea was to make payments easy, fast, and cheap. But the original blockchain architecture cannot fulfill these promises.

Besides, when all the bitcoins will be mined, transaction feel will grow even more. The network depends on miners’ work for its operation, and increased transaction fees will be the new block reward.

Lower processing speed and higher costs call for a solution. And this solution is the Lightning Network.

What Is Lightning Network for BTC

Payment Channel

Here are a few basics to help you understand a payment channel:

  • The parties can interact with each other (send and receive funds) without the help of miners.
  • It’s very convenient when you regularly send and receive small amounts to the same person/business. Doing it in a regular way makes no sense: you would pay too much to miners and suffer delays.
  • After the specified period, the channel closes up automatically. The last set of transactions is added to the main blockchain. It can also happen after the specified number of transactions have taken place.

Payment Channel: Real-Life Example

Here is what you do:

  • Each of you guys sets aside a certain amount of money, let is be $50. Together, your contributions make $100, and this sum goes to a special ‘locker’.
  • The ledger records that each of you has a balance of $50.
  • You run this locker together, utilizing a multi-signature key. It means you and Alice have only half of the access code, and you need both halves to manage the money.
  • if you send Alice $20, the ledger corrects your balance immediately. Now, you have $30 and Alice has $70.
  • Each user can claim his or her share, but no one can take more.
  • When the channel closes, the system settles the final score.

As you see, the whole process is like settling balance with good friends in real life. But it’s more secure (no one can escape with the other person’s funds), cheap and fast. Especially, if you and Alice use different banks or live in different countries.

Lightning Network And HTLC

  • Nakamoto High-Frequency Transactions.
  • Spillman-Style Payment Channel
  • CLTV-Style Payment Channels
  • Poon-Dryja payment channels
  • Decker-Wattenhofer duplex payment channels
  • Hashed Timelock Contracts (HTLC)

The Lightning Network is based on the HTLC payment channel. It’s one of the most prominent applications of this technology that makes it possible to manage money more flexibly. For instance, it offers exciting features atomic swaps. It’s a special technique for quick exchange of different cryptocurrencies, running on different blockchains.

Lightning Network: How Nodes Communicate

The wonderful thing is that you don’t have to trust all these people to deal with them. The system guarantees that if you pay money to Alice through John, he cannot get away with it. Thus, you have access to many Lightning users. You can pay them directly or through other people. Now, a new question arises.

Lightning Network: How It Manages To Be Safe
With millions of transactions taking place every day, both directly and indirectly, how this labyrinth of rabbit holes will manage to stay stable and secure? Will there be a new scalability problem, this time on the layer 2?

Let’s have a closer look at what prevents a bad guy from pocketing the money in one of these payment channels.

  1. Smart contracts
    The Lightning Network runs on smart contracts. (Read our guide to know more about how this technology functions). Long story short, they are self-executing blockchain-based agreements that cannot be changed or canceled. Thus, a smart contract ensures no user can interfere with its terms and conditions. When a pre-agreed event happens, it leads to a specified outcome. No place for manipulation and cheating.
  2. Timelocks
    Before opening a channel, the parties agree on when it closes. It may be a specified date and time. Or it may be a certain number of transactions. Therefore, every channel has a lifespan.
  3. Asymmetric Revocation Commitment
    This term refers to the method the system uses to punish users for cheating attempts. For example, you can set a condition that if your partner tries to cheat, you can claim the whole balance of the shared locker, as compensation.

Lightning Network: Is It Expensive To Use?

In any case, the Lightning Network payments are rather cheap compared to the main BTC blockchain. The reason is clear: the latter depends on the miners’ work. This work is rather difficult and requires a lot of resources, so it must be paid for. As for the Lightning nodes, their work is much easier and therefore cheaper. But in the future, there will be enough payment activity on layer 2 — and enough money to earn.

Lightning Network Pros

  • High speed
    It takes 10 min to solve a BTC block, but normally you have to wait longer. The Lightning network saves your time: your transaction would happen in a few seconds. Very important advantage if you need your money to travel fast!
  • Lower operational fees
    An average BTC transaction now costs up to $4. Again, it’s next to nothing compared to what banks would charge you, but it’s too much if you often send and receive small amounts of money. Using the Lightning Network is much cheaper. It would charge you something between 1 and 10 satoshis. In case you forgot, satoshi is a small fraction of Bitcoin (1 satoshi = 0.00000001 BTC). The difference is immense.
  • Reduced load on the main blockchain
    The Lightning Network activity does not happen on the main blockchain, so it reduces its burden significantly.
  • User-friendliness
    Though it all looks complicated, on the user’s side the things are much simpler and easier. To use the Lightning Network, you don’t have to understand the technologies that make it possible. Anyone who knows how to use a banking app would be comfortable with the interface.
  • Atomic swaps
    Payment channels make it possible to interconnect different blockchains. Their users will be able to do fast and convenient currency swaps.

Lightning Network: Challenges

  • ‘Centralization’
    As everything on blockchain, the Lightning network should be decentralized. But there is a concern that some of its popular nodes with many open connections could become major payment hubs. If such a hub fails, it will disrupt the smooth operation of the whole network. That’s a typical problem of a centralized system.
  • Security concerns
    The Lightning Network is potentially more vulnerable to thefts as your funds and private keys are stored online all the time. This ‘locker’ we talked about is a hot storage. As such, it’s less safe by default.
  • There are many things to fix up
    As we said, the tech in still is in its early years of adoption. It means the developers are not yet aware of all the vulnerabilities that will come out when lightning networks start being widely used. On the other hand, the main BTC blockchain is more predictable, as it has been around for a while.

Lightning Network: Conclusion

Originally published at Exscudo Blog. Check it out for more articles on crypto, blockchain, finance, trading, and technology.

Exscudo Facebook page

Exscudo Twitter

One ecosystem to manage all things crypto. | Nimera Swap | Multibroker | Channels Wallet | Crypto Acquiring | Powered by multi-core Nimera Blockchain |