Layer 2 and layer 1 in blockchain

in Tron Fan Club6 months ago
ASSALAMU'ALAIKUM

images.jpeg

Layer 2 and layer 1 in blockchain

Layer 2 refers to additional protocols built on top of the main Blockchain. This means that the main Blockchain protocol is already running, and this new protocol or software is added to solve some urgent need that the main protocol cannot solve.

For example, the Bitcoin chain has scalability problems, it does not have the ability to process thousands of transactions in the shortest of seconds like many other chains, so an additional protocol called layer 2 is added to the main Blockchain to provide a solution to Bitcoin. transaction speed and scalability issues that hinder the currency from being adopted globally as a medium of exchange.

Its introduction on the main chain creates a different processing network so that while the main Blockchain (Layer 1) is concerned with the security and stability of the chain, Layer 2 is concerned with the speed and scalability of transaction processing. That's why it's called off-chain processing. Its operation does not affect how layer one works.

Both layers work simultaneously to bring out the best in Blockchain. This also does not cause structural changes to Layer 1 which is the main Blockchain.

images (2).jpeg

The difference between the two

Basically the first layer and the second layer are almost the same because in terms of both they have the same goal, namely to speed up the blockchain network and be more accommodating for the ever-growing user base, only what differentiates them is their performance, the first layer is the main blockchain and transactions main layer, while the second layer is for additional solutions that work on the first layer, its function is to increase efficiency and overcome delays in the first layer.

images (1).jpeg

Example of layer 2

One concrete example that uses a second layer solution is bitcoin. For the term bitcoin that has used layer 2 is BITCOIN LIGHTINING NETWORK, this network acts as the second layer.

The Bitcoin Lightining Network network is a decentralized system that allows users to carry out high volume micro transactions instantly and by charging very low fees, this system has been widely used as a fast and easy bitcoin transaction tool, as for how it works.

Channel opening:
  • Users who want to make transactions must use the Lightining Network network, so this will involve special transactions on bitcoin as a layer 2 network.
Off-chain transactions:
  • Once the channel is open both parties can carry out a series of transactions without needing to submit the main transaction on the blockchain.
Settlement after multiple transactions:
  • Users can perform transactions off-chain without burdening the main blockchain network.
Settlement on the main blockchain:
  • After finishing using Chanel, the final balance will be recorded on the main blockchain, this serves to reduce delays in the main transaction process.

The advantage of using the Lightining Network network is that it can carry out transactions quickly and at very low costs, besides that it can also reduce pressure on the main blockchain.

IMG_20240110_185126.JPG

SET @rme as your proxy

THANK YOU
By
@dani0661
»»——💲——««

Sort:  

Upvoted! Thank you for supporting witness @jswit.

 6 months ago 

Now layer 2 projects are doing well and I see many new projects coming in. I expect that in the next bull run cycle it's going to be even better

Thanks for visiting

Educative content from you on layer 2 and layer 1 blockchain and hopefully I hope bitcoin is able to improve it's scalability

Thanks for visiting

Coin Marketplace

STEEM 0.18
TRX 0.14
JST 0.030
BTC 57983.59
ETH 3132.93
USDT 1.00
SBD 2.44