What is the Bitcoin Lightning Network?

in #bitcoin6 years ago

Hi investors, today we're talking about the Bitcoin Lightning Network (LN) and how it could help Bitcoin scale up to become a true global form of decentralized digital cash.

bitcoin-lighting-network.jpg

In this article we'll first talk about the origin of Bitcoin and the scaling issue that the network is currently facing (I). We'll then explore how the LN can address these issues and talk about some of the technology's most exciting applications (II). Finally, we'll discuss some of the most common criticism which have been raised against it (III).

I- The Scaling Issue.


The Bitcoin network was originally launched by the anonymous Satoshi Nakamoto in 2009 as a proof-of-concept for a revolutionary, decentralized financial network . Its first application was a distributed ledger allowing users to transact value trustlessly: bitcoin.

bitcoin_1280.jpg

In those early days, the network was small and didn’t require large blocks to process transactions quickly but as Bitcoin started to gain in popularity, so grew the congestion on the network causing fees to skyrocket and unconfirmed transactions to pile in the mempool (a backlog of all the transactions waiting to be processed on the Bitcoin Network).

The fee crisis reached a peak on December 22, 2017 when, at the apex of the Bitcoin bubble. A single transaction reached the price of $54 dollars then and some users saw their bitcoin stuck on the block-chain for days.

Although fees have gone down considerably since ($0.5 at the time of writing), that episode was evidence that Bitcoin wasn't ready to scale to Satoshi’s original vision.

II- Different Approaches to Solving the Scaling Issue.


Scaling the Bitcoin network can be implemented in two different ways:

  1. by making on-chain transactions faster, either by increasing the block-size to allow more transaction to be mined in a single block or by reducing the latency between two mining events.

  2. by taking some of the transaction volume off the main chain onto a second software layer built "on top of" the main blockchain.

Unfortunately, scaling has proved to be a particularly divisive issue for the community ever since the creation of Bitcoin. So divisive in fact that in August 1rst, 2017, after years of fruitless debates and in-fighting, part of the original Bitcoin community elected to fork off the legacy chain to create their own Bitcoin (Bitcoin Cash or BCC) and implement an "on-chain" approach to scaling.

bitcoin_1280.jpg

At the time of writing Bitcoin legacy (BTC) is over 10 times the market cap of Bitcoin Cash (BCC).

Bitcoin-Cash--BCH--price--charts--market-cap--and-other-metrics---CoinMarketCap.png

The approach to scalability taken by Bitcoin Cash has been heavily criticized by the legacy Bitcoin (BTC) community which believes that focusing only on "on-chain scalability" will not allow the network to scale to mass adoption and will compromise its decentralized nature.

On the other side of the argument, the Bitcoin legacy community has preferred an"off-chain" approach to scaling to which the Lightning Network is a essential piece.

a- How the LN works.

At a basic level, the LN can be best imagined as a network of user-to-user payment channels secured by the Bitcoin block-chain.

2.PNG

A payment channels is a multi-signature bitcoin address shared by two users and managed by a smart contract. The smart contract is responsible for creating and managing an off-chain “balance sheet” which allows the parties to transact indefinitely or for a set amount of time. Once funded, this balance sheet can then be freely and instantly modified until the parties decide to settle their transaction by closing the channel (for a very tiny fee).

528e948fda31ac641e1abf178399ccd3.png

If any dispute arises between the parties, the smart contract will turn to the blockchain to automatically settle the payment and distribute the bitcoin. In this regard, the role of the blockchain is very much similar to the role of a judiciary court settling a dispute between two contracting parties.

Once created, payment channels can then be used to process payments originating from any user in the network. The system is optimized so a payment from user A will hop its way through the network to user B; using existing payment channels or automatically creating new ones as it goes along but always taking the shortest and cheapest route similarly to how packets of information are routed on the internet.

In practice, this technology will allow anyone to send instant, cheap payments of any size to anybody on the planet through a simple exchange of QR codes, all in a secure, entirely trust-less and permission-less fashion.

If you wish to know more about how the LN works, I recommend you watch this great video from Savjee's YouTube channel:

The Lightning Network is currently in development on the Bitcoin test-net and is expected to roll-out on the main-net sometime during the year 2018.

PS: The deployment of the LN won’t require a hard-fork so be wary of fraudster who will certainly try to scam unsuspecting users as we near the launch.

Beside being an elegant scaling solution for the Bitcoin blockchain, the LN also allows for very exciting applications which could end up revolutionizing finance way beyond simple peer-to-peer payment channels.

b- Applications.

Although the LN is still very early in its development, its underlying technology already opens the door to a myriad of exciting applications.

1. Lightning Fast Mobile Wallets.

Mobile wallets will play a critical role in Bitcoin's consumer adoption. In their current form, Lightning wallets are rather complex interfaces reserved for technical users. However, as the technology improves, so will their design and the user experience they provide.

Ideally, the Lightning wallets of the future will hide all the complexities of the LN, letting users only interact with two basic Send and Receive options while the wallet processes transactions at the best possible price under the hood.

unnamed.png

One of the biggest improvement lightning wallets will bring is the ability for users to send micro-transactions to third-parties, merchants or service providers. One can imagine the wallets of the future automatically managing a whole range of services from tipping, to paying bills to micro-transact with IOT device, the possibilities are amazing.

If you wish to experience first-hand the power and speed of lightning wallets, there are currently two implementations we can recommend: Zap and Eclair, the last one being a mobile wallet on Android and MacOs. Be aware that these projects are still at an alpha stage of development and should be used only on the Bitcoin test-net, doing otherwise would expose you to a loss of funds if things start getting buggy.

Here’s a great video tutorial from Ivan on Tech's YouTube channel on how to use a Lightning wallet:

2. Decentralized Exchange of Crypto-Currencies and Financial Assets.

Decentralize exchanges (DEX) are a very important part of the crypto ecosystem because they allow anyone to freely trade assets without the need to trust, or be authorized, by a third party. Many DEX solutions have already been implemented on other blockchains. The most popular being WAVES, EtherDelta or 0x protocol-based DEX like Paradex or Radar Relay.

pros-cons.png

For a long time, DEX solutions weren't practical to implement on Bitcoin. Projects like Coloured Coins or Counterparty for example pioneered the idea of transacting traditional financial assets (like securities) on the Bitcoin blockchain. However the problem these projects encountered was that renting security services from the Bitcoin blockchain to secure assets and provide immutability also meant inheriting Bitcoin’s limitations? in terms of transaction time and fees.

With the existence of the LN though, digitized financial assets like securities could theoretically be transferred P2p with no verification time, almost no fees and with the security offered by the bitcoin block-chain.

Traditional finance is a slow and fossilized industry so the transition from NASDAQ to DEX will certainly be an uphill battle (if it ever happens). Nonetheless, we’re starting to see forward-thinking fin-tech companies like Cinnober express interest in setting full-nodes on the LN with the goal of researching the technology and its possible applications in the traditional financial sector.

What-are-atomic-swaps.jpg

Another path to DEX are atomic swaps, a new technology which allows cryptocurrencies and digital assets to be transacted across block-chains instantly and for almost no fee.
Since most cryptocurrencies will in time implement atomic swaps and probably their own version of the LN (ex: Zcash’s BOLT network or Litecoin's own Ligthning Network), one can imagine a future where bitcoin will be used to instantaneously purchase services or assets managed on third party blockchains.

"Bob wants to diversify his financial portfolio which is mainly in Bitcoin. He decides to send some bitcoin over to the Tezos blockchain to buy digitized stocks and some to the Ethereum blockchain to buy a digitized fraction of a Picasso painting via the Maecenas app. Bob can do all this simply from his wallet, without any friction and for a fraction of a penny."

The promise of the Lightning network and how it could revolutionize the way we think about finance are indeed tantalizing. However, the LN is not without issues and some of the criticism against it should be addressed.

III-Criticism against the LN.

a- Will the LN create Bitcoin banks?

As we've seen, the speed and low fees of the LN will allow users to send microtransactions over the network. Microtransactions are easy to route through the network due to their small size, however bigger transactions need richer payment channels to be pushed through the network.

Some have predicted that this limitation will lead the lightning network to naturally produce large liquidity hubs akin to banks which over time will lead to yet another form of centralization on the network. This is a fair criticism but there are a couple of elements that might invalidate this prediction.

pros-cons.png

First, creating channels staked with massive balances of bitcoin expose stakers to serious risks of being hacked which is why it’s likely that the network will actually organically decentralize itself into smaller-sized payment channels. In this configuration, large payments can still be routed through multiple smaller channels without sacrificing speed of security.

Second, even if the network does happen to foster some degree of centralization, smaller users could still be able to to stake their bitcoin with other users to create their own pool of liquidity and collect fees from the transaction traffic.

b- Will LN Node Operators be Subject to Anti-Money-Laundering (AML) Regulations.

This last concern is much more difficult to predict. In his YouTube Bitcoin Q&A series Andreas Antonopoulos notes that:

"AML regulations only apply to flows of money greater than a certain amount [...] Characterizing all [node operators] a banks is preposterous and would only lead to more stealthy implementation".

Science-Law-icon.png

He also points that those fears already existed in the early days of Bitcoin but that none of the legacy node operators were ever prosecuted for running illegal money transmitting operations.

It's worth pointing though that there is a regulatory risk here and as Bitcoin will gain in popularity and rise to challenge the traditional banking system we could see some regulators take a stricter stance on this issue. After all very few revolutions were ever conducted without a struggle and the financial disruption promised by Bitcoin is likely to provoke a lot of resistance from the traditional banking system.

Exciting times ahead.


FØx.


The Content is for informational purposes only, you should not construe any such information or other material as legal, tax, investment, financial, or other advice.


If you liked this article, make sure to show some love by up-voting or following the blog. You can also follow us on Twitter at F0xSociety.


Crown.png Buy Digital Assets: Coinbase
1.PNG Trade on Decentralized Exchanges: Radar Relay / Kyber Network
Lock.pngKeep your Crypto Safe in a Hardware Wallet: LEDGER NANO S


Published on

mentormarket.io
by FØx


https://mentormarket.io/legal/termsandconditions

Sort:  

Great as usual, I am going to look at 2 videos you linked that I did not know.
Take care ;).

Posted using Partiko iOS

Excellent, balanced post on LN. Taught me a few things. Thanks

That was a great one as well my friend. You're on a roll!

Appreciated :)

Coin Marketplace

STEEM 0.28
TRX 0.11
JST 0.034
BTC 66038.71
ETH 3178.89
USDT 1.00
SBD 4.05