? LIGHTNING NETWORK ?

? LIGHTNING NETWORK ?

Making Blockchain’s Transactions Scalable and Instant

Purpose


Bitcoin,?the world’s most popular and valuable digital currency, enables anyone to send money without the need for a trusted intermediary or depository. Bitcoin has a sophisticated scripting system that allows users to program instructions for funds. However, there are some disadvantages to bitcoin’s decentralized design.

Transactions on the bitcoin blockchain can take up to an?hour to be irreversible.

Micropayments, or payments of a few cents or less, are infrequently confirmed,?and fees make such transactions unviable on the network today.

These issues are addressed by the?Lightning Network. It’s one of the earliest uses of bitcoin’s built-in scripting to create a?multi-party Smart Contract (programmable money).?With bitcoin, the Lightning Network is at the forefront of technological advancement in multiparty financial computations. These issues are addressed by the Lightning Network. It is one of the first?multi-party Smart Contract?implementations.

Bitcoin’s built-in scripting can be used to create programmable money. The Lightning Network is at the forefront of technical advancement.

No alt text provided for this image


Working


The Lightning Network is a decentralised system for?instant, high-volume micropayments?that eliminates the risk of trusting third parties with funds.

The Lightning Network is a second layer designed to address Bitcoin’s and other blockchain’s scalability issue. The Lightning mainnet was launched in?March 2018. Today, we’ll look at what the Lightning Network is, how it works, and how it’s expected to play a role in Bitcoin’s future.

The Lightning Network is a network that runs on top of a blockchain to allow for quick peer-to-peer transactions. It is not limited to Bitcoin; other cryptocurrencies, such as Litecoin, have adopted it.

You’re probably wondering what we mean when we say “sits on top of a blockchain.” The Lightning Network is an off-chain, or layer two, solution. It enables anyone to conduct transactions without having to register each transaction on the blockchain.

The Lightning Network is distinct from the Bitcoin network in that it has its own nodes and software,?yet it still communicates with the main chain. To enter or quit the Lightning Network,?unique blockchain transactions?must be created.

With your first transaction, you’re essentially creating a smart contract with another user. We’ll go into the specifics later; for now, imagine the smart contract as a private ledger shared with the other user. This ledger can hold a large number of transactions. They are only visible to you and your counterparty, but because to some odd elements of the system, neither of you can cheat.

A channel is a type of?mini-ledger. Assume?Alice?and?Bob?each enter 5 BTC into the smart contract. They’d both now have a balance of 5 BTC on their channel.?Alice?might then use the ledger to pay?Bob?1 BTC.?Bob?now has 6 BTC on his side, while?Alice?has 4. Then, at a later time,?Bob?may pay 2 BTC back to?Alice, bringing the balances to 6 BTC on?Alice’s?side and 4 BTC on?Bob’s. They can keep doing this for a while.

Either party can broadcast the current state of the channel to the blockchain at any time. At that time, the balances on both side of the channel are assigned to their appropriate on-chain parties.

Lightning transactions are, as the name implies, extremely rapid. There are no block confirmations to deal with — payments can be made as quickly as your internet connection allows.

No alt text provided for this image


Why is the Lightning Network required?


So far, the?Lightning Network?(or simply LN) looks to be the most practical method of scaling the Bitcoin blockchain. Coordination of modifications in such a?big ecosystem is difficult?— there is a possibility of hard forks and potentially disastrous bugs. Experimentation is extremely risky when there is so much at stake.

You have a lot more flexibility when you move that experimenting away from the blockchain. If something goes wrong, it will have no effect on the Bitcoin network itself. Layer two solutions do not?jeo paradise?any of the security assumptions that have kept the protocol running for more than a decade.

There is also no responsibility to abandon the previous method of doing things.?For the end user, on-chain transactions continue to function normally, but they now have the option of transacting off-chain as well.

Using the Lightning Network has various advantages. We’ll go over some of the more important ones below.

The Issue of Scalability


Scalability refers to the ability to cope with an increase in demand, or — as defined by the Bitcoin network — the ability to populate more transactions in the blockchain to allow for maximum user growth. Currently, there are approximately 22 million Bitcoin wallets in the world. Even if we assume that everyone has multiple wallet addresses, this represents a very small proportion of the world population. Bitcoin intends to be a digital cash money as well as a worldwide currency that the entire globe can utilise. As a result, the network must address this scalability issue early in its development and before it is widely deployed.

Off-chain Solutions


An off-chain solution states that a major portion of Bitcoin transactions will be recorded on a side network that functions in parallel, rather than on the main public ledger. This is possible by utilizing?Multi-Signature wallet (Multi-Sig wallets) technology.?Multi-Sig wallets were designed to provide an extra layer of security for one or more users who want to keep a fund together without the requirement for trust. This is analogous to a joint bank account, where withdrawals require the signatures of both partners.

To use the money in a Multi-Sig wallet, the digital signatures of the private keys of each individual involved in the wallet are necessary. You may establish a multi-sig wallet that requires 2 out of 3 keys, or even 15 out of 15.

No alt text provided for this image


Drawbacks

Liquidity


One of the most serious accusations levelled at the Lightning Network is that it limits your ability to transact.?You can’t spend more than what you’ve already committed to in a channel.?You must close the channel if you spend all of your funds so that the remote balance contains all of the channel’s funds.?You could also wait till someone pays you through it, but that isn’t ideal.

Your pathways may also be constrained by the total capacity of the channel. Consider the Alice>Bob>Frank. If Alice and Bob have a channel capacity of 5 BTC but Bob and Frank only have a channel capacity of 1 BTC, Alice can never transmit more than 1 BTC. Even so, for that to function, the full balance would have to be on Bob’s side of the Bob -> Frank channel. This might severely limit the quantity of cash that can be passed across LN channels, affecting usefulness.

Hubs that are Centralized


Because of the issue highlighted in the preceding section, some are concerned that the network would allow the formation of huge “hubs.” That is, enormous, well-connected entities with a lot of cash. Any large payments would have to go through one of these institutions.

That, obviously, would not be a?good situation. It would damage the system since these entities going down would severely disrupt peer relationships. Because there are just a few places through which transactions occur, there is also an increased possibility of censorship.

Putting all together

Despite the fact that it is still considered in beta, the Lightning Network has enjoyed tremendous growth since its mainnet launch in?2018.


There are still significant usability issues to overcome, as operating a Lightning node now takes?considerable technical knowledge. However, given the quantity of work going place, the barriers to entrance may well be reduced over time.

If the flaws are fixed, the Lightning Network could become a critical component of the Bitcoin ecosystem, dramatically increasing scalability and transaction speeds.

The?Lightning?Network?and?off-chain solutions?are critical to the network’s scalability and the transformation of Bitcoin into genuine digital cash that can be utilized in all types of daily purchases.

JOIN OUR COMMUNITY


Whatsapp

TELEGRAM

INSTAGRAM

Medium

#BLOCKCHAIN #BLOCKENTHU #CRYPTO #COINDCXPATHBREAKER #coindcx #bitcoin #lightningnetwork

要查看或添加评论,请登录

Blockenthu的更多文章

社区洞察

其他会员也浏览了