, 2 years ago
The Bitcoin lightning network is one of the most important inventions since Bitcoin was introduced. Bitcoin transactions are all tied to the blockchain and therefore are referred as on-chain transactions. This groundbreaking technology makes Bitcoin not only a censorship resistant network, but it ensures also that Bitcoin is hard money. It cannot be counterfeited and it cannot be confiscated. This system is rock solid but it comes also with a downside.
On average, every 10 minutes a new block is found. Therefore, the transaction throughput is very limited and it takes a very long time to confirm a transaction on-chain. If you compare this for instance to a credit card payment it is awfully slow. But this is not a bug, it is a feature. Bitcoin sacrifices speed to ensure maximum security and decentralization of the network. This is also known as the blockchain trilemma, you can always only get two features of the three that we mentioned.
Over the last 5 years or so many projects have stepped up and tried to solve the trilemma, but so far nobody could prove that claim. Bitcoin is using the lightning network not to tackle the trilemma, but to solve scalability as an issue with a workaround.
But what is the lightning network? And how does it work? In today article we are about to explore Bitcoins very own second layer solution.
A layer 2 technology generally refers to a technology that is build on top of an already existing blockchain. Bitcoin is not the only cryptocurrency that is exploring the use of this technology. The protocol of a second layer technology is meant to solve the scalability issue as we have described it before.
It enables transactions that are not immediately processed as on-chain transaction and are instead verified by the second layer protocol. This makes transactions faster, but also more fragile, because both protocols have to ensure that every transaction is secure by communicating with each other. On-chain transactions are very reliable and cause no known issues what’s so ever. But the layer 2 transactions are complete independent and are therefore referred to as off-chain transactions.
Examples for layer 2 technologies are Bitcoin’s lightning network and Ethereum Plasma. Both try to solve the same problem, but for each blockchain. Other networks like Litecoin are also using their own implementation which also serves as a kind of testing ground for the new technology.
If you like to enter the lightning network, it requires you to communicate from the Bitcoin network. Therefore, it has its own wallets and its own nodes. The first step to take part in the lightning network is to send Bitcoin from a traditional Bitcoin wallet to your lightning wallet.
You now hold BTC that is off-chain. Let’s say you are at the central station and you would like to have a coffee before you get your train. Paying the coffee works through so-called payments channels that are opened by lightning nodes. You can transfer the payment for your coffee in an instant and don’t have to wait until the transaction is confirmed on-chain.
Instead, there is no on-chain transaction required. It is still possible to finalize off-chain transactions by closing a payment channel and settling its transaction on the Bitcoin blockchain. Lets say the store is closing and the owner like to settle the transactions on-chain, he then closes the channel for settlement. He now receives the BTC that he earned during the business day on his own regular wallet.
It is worth to mention that everything that is happening on the lightning network is not recorded on-chain. Only the finalization is settled.
The lightning network is secure, but it still has a lot of hiccups. Meaning that it is not recommended to send large amounts of BTC through its payment channels. Ultimately the layer 2 solution is more attractive for immediate settlement of smaller transactions. But the fact that there are still existing bugs makes it still difficult to adopt the technology for stores.
Let’s say you would like to buy a TV for a 1000€. Nobody would risk losing that amount of money. What seems to be acceptable buying a coffee isn’t acceptable in other cases. But that doesn’t mean that the technology isn’t safe or generally poorly designed. It is worth to mention that Bitcoin had a lot of bugs in its early days and the lightning network is still in a very early phase.
The developers have found and closed a lot of vulnerabilities and bugs in the past. It is to be expected that the technology will improve further in the years to come. Most of the known vulnerabilities have never been exploited. So, the lightning network is generally speaking secure, but one is well advised to be cautious and not to transact large amount of money off-chain.
The lightning network requires two protocols and settlement that takes place off-chain. Many critics felt that this is highly unacceptable, because the gap between on-chain and off-chain transaction could create an additional attack surface. Furthermore, the lightning network isn’t in the same way transparent as the blockchain. One of the big advantages of blockchain technology is that everything can be verified by the network. Payment channels on the other hand are opened and closed, while the final settlement on the blockchain is not allowing to search the off-chain history.
In response to Bitcoins scalability issue, there has been a lot of struggle within the Bitcoin community. That led to alternatives but also to division. One possible option to increase the transaction throughput is to increase the block size. A bigger block can include more transactions. During the year 2017 there was a very fierce debate in the Bitcoin community that led to the hard fork that is known as Bitcoin Cash. Bitcoin Cash is trying to solve the problem by increasing the block size instead of opting for a layer 2 solution.
Bitcoins block size is not to be increased and instead another technology has been introduced to scale on-chain transactions. This technology is called segregated witness or in short SegWit. It allows to handle information separately from each block and in effect is saving space reducing the size of signatures. This allows to fit in more transactions in each block without increasing the block size.
It is worth to mention that the idea of the lightning network is not new and was in fact mentioned very early by Satoshi Nakamoto himself as a possible solution. In conclusion, the lightning network will expand the possibilities and payment options for Bitcoin.
Many investors perceive Bitcoin as a speculative asset or a store of value. It was meant to be a payment system and the lightning network is the most promising solution to restore that vision and make Bitcoin payments more attractive. It remains to be seen if the Bitcoin community is going to succeed by strengthen the development and implementing the layer 2 technology wherever possible. Looking at the bigger picture mass adoption of Bitcoin payments is a requirement for a worldwide success of BTC.
May 23, 2023
Bitcoin is the first cryptocurrency ever to be invented and it introduced the blockchain technology. It gave birth to a whole new area and this is the very reason why there are so many events in its past that are considered to be memorable or important.
Apr 27, 2023
Many economists see money as a human invention that followed barter. But according to anthropologist David Graeber, in his book Debt: The First 5,000 Years (2011), it is not the case that we first bartered eight chickens for a goat and then invented money. No, debt existed before it all. What does this tell us our financial system and about Bitcoin as an alternative?
Feb 10, 2023
As the original cryptocurrency, Bitcoin has the longest price history of them all. What do more than thirteen years of data tell us about the future price of Bitcoin? And what other indicators help us to predict Bitcoin's price? Let's look at some models and other considerations when we want to create a Bitcoin price expectation for the coming years.
Jan 18, 2023
On the surface, Nostr is much like a stripped-down version of Twitter. But just like Bitcoin works in fundamentally different ways from traditional money, under the hood Nostr works very different from conventional social media. In Nostr, YOU own your account. Also, Nostr lends itself to integration with wallet software and Bitcoin's Lightning network. Let's dive in and experiment.
Sign up to stay informed via our email updates