What are Blockchain Layer 1 and Layer 2

By Anonymous 2 years ago
787 Views
4
100% Upvoted
2
Edit
IlseM4n IlseM4n Elite 2 years ago
Layer 1
A layer 1 network is a network that acts as infrastructure for other applications, protocols, and networks to build on top of. A public decentralized layer 1 network's primary characteristic is its consensus mechanism. Different consensus mechanisms provide different levels of speed, security, and throughput.

Some examples of layer one networks and their consensus mechanisms are Bitcoin, Ethereum, Solana, Algorand, Cardano and Polkadot.

All layer one networks have a native token that provides access to the network's resources. You use a network's native token to pay for network services like sending its cryptocurrency, minting a token, or calling a smart contract. Note that not all layer one networks support the same array of services, although all support transactions.

When comparing layer one networks, it is essential to learn about its consensus mechanism and the pros or cons that it provides. The consensus mechanisms involved generally have trade-offs between security, speed, and decentralization.

There is a lot of innovation in consensus mechanisms and is a field that is constantly evolving and contributing to the array of distributed ledgers known today. Some networks provide security and decentralization at layer one and then delegate speed to layer two solutions.

Layer 2
Layer 2 networks extend the functionality of their layer 1 counterpart. This can be to increase the layer 1 network’s performance, reduce transaction fees, or increase programmability.

For example, on Ethereum, where gas fees can be highly variable and transaction times slow, it is increasingly common for application developers to provide its user the ability to interact with a layer 2 network, like Polygon, to decrease their user’s fees and transaction latency.

Similar to how Layer 1 networks have different approaches to consensus, each layer 2 network will implement a scaling solution, or means to map transactions back to its layer 1. For instance, a commonly discussed layer 2 scaling solution is the implementation of zero-knowledge rollups. The idea is that a side-chain performs transaction ordering and processing and submits mathematical proof that they have processed the transactions fairly.

Some examples of layer two scaling solutions are the Lightning Network, Polygon, and Starknet. The majority of scaling layer two solutions depend on cryptographic systems. The watered-down version of what is happening is that a mathematical proof is created by a verifier that some knowledge is correct.
Comments

Scroll to Top