BanklessTimes

What is a Layer 1 Blockchain?

Staff Writer
Staff Writer
February 16th, 2023

Layer 1 protocol refers to a base blockchain like Ethereum that is capable of validating and settling transactions on its own blockchain network while providing the infrastructure for the dapps and protocols to be built on top of it. The primary attribute of any layer 1 network is the consensus mechanism adopted by it that decides the transaction speed, security, and throughput.

Introducing Layer 1 Blockchain

Layer 1 blockchains have their own networks, a collection of nodes connected via the internet that work together to create and validate a distributed ledger, and their own protocols, a set of predefined rules for how a network operates.

In other words, a protocol is layer 1 when it processes and finalizes transactions on its own blockchain. Layer 1 also has its own native token, used to pay transaction fees.

As blockchains grew larger, layer 1 began to experience challenges in accommodating the increasing number of transaction requests due to the decentralization of security, which resulted in network congestion and poor user experience. This problem is often referred to as blockchain’s scalability problem.

Layer 1 blockchains may address the problem of scalability through on-chain solutions such as sharding, while some embrace off-chain solutions like layer 2 protocols that are integrated into the core blockchain.

This guide will explain the process of layer 1 blockchains, how layer 1 working causes the scalability problem and why it is important, and finally layer 1 native and off-chain solutions.

How Do Layer 1 Blockchains Work

Base blockchains, or simply blockchains, constitute a distributed ledger system where participating nodes collectively manage the integrity of the network instead of relying on a central authority.

Layer 1 blockchain’s characteristics can be summarized as follows:

  • Distributed: The responsibility of maintaining the decentralized ledger is securely distributed to the nodes in the network, and all data is cryptographically sealed for confidentiality and security.

  • Secure: Every piece of information is stored in layer 1 blocks, which can hold a finite amount of information and are cryptographically sealed. For a new block to be added to the chain, a node should solve a cryptographic puzzle and have the majority of the network approve its process. If it’s approved, a new block is added to the chain that is connected to the previous block.

  • Consensus-based: Although one node verifies the blocks of information, they must have more than half of the nodes in the network to approve their work. If they get it right, they are rewarded with a number of native tokens. The use of a method through which nodes reach a consensus about the verified transaction, along with the reward system is referred to as a consensus mechanism — it ensures that the nodes are in agreement regarding the state of the ledger.

The layer 1 consensus mechanism not only ensures the authenticity of the network but also maintains its security and integrity. It’s fairly challenging for bad actors to tamper with the records due to the interconnectedness of blocks, or approve incorrect transactions as they would need the majority.

It is also believed that the economic incentives help nodes to have aligned interests: every node that holds the native token would have the best interests of the network in mind because they are financially invested.

As said before, layer 1 chains are self-contained, meaning that layer 1 chains include all components listed above needed to maintain a decentralized network without relying on another network. They are distributed, immutable, and also programmable: they provide a platform on which programs can be built, such as decentralized applications or decentralized autonomous organizations.

Bitcoin Trilemma: The Scalability Problem

Adhering to three main principles helps blockchain networks not only function but also thrive:

Decentralization

Decentralization is the main pillar on which blockchain networks are built. By allocating the authority to the members, decentralized networks cut the need for a central authority, or a broker who is trusted to execute agreements and thus the transfer fees that are associated with it. Banks, for example, hold a ledger for their customers and impose transaction fees for overhead costs, processing, and profit.

In a decentralized system, the transaction fees are given as economic incentives to the members who participate by verifying transactions. So the profit made out of processing is distributed to the community.

While this ensures the integrity of the system, it also means that a high number of data inputs may potentially cause network congestion as every node needs to approve every transaction for security purposes. Network congestion may mean high transfer fees (because more nodes are working on processing) or slow transaction speed.

Security

Although prone to cause congestion, implementing consensus mechanisms is crucial for security: by means of self-executing rules, decentralized networks have the majority of the nodes authenticate transactions.

This has two implications: any change to the transaction needs to be approved by the majority, who also need to be convinced that the transaction entries are correct and genuine; and every participating node has a copy of the ledger, with which they can cross-check and identify wrongful acts.

Limiting the number of users may solve the network congestion problems, but it may also jeopardize security. A smaller pool of nodes means smaller barriers against bad agents taking over the majority of a blockchain network, and manipulating it thereafter. For this reason, scalability is required to maintain speed and security.

Scalability

Scalability refers to a blockchain’s ability to accommodate increasing transactional throughput, measured by transactions per second (TPS). This means that no matter how much the network grows, the performance will not be affected.

Due to consensus mechanisms in use, blockchains are limited in how many transactions can pass through the system in a given period. The increasing number of users, and applications, began to create congestion in the system, resulting in decreasing the quality of the experience with long waiting times and high fees.

The trilemma comes from the belief that it’s incredibly hard, if not impossible, for blockchains to sustain all three pillars simultaneously. Scalability is absolutely needed for the wide adoption of blockchain networks and to compete against centralized institutions. But with current operational models, it is not sustainable.

This is where layered solutions factor in. The basic premise of layer 0 and layer 2 solutions is to create an alternative set of protocols, called layers, to be attached to base blockchains and help with the overdependence on them, in terms of data validation, application building and usage, and more. While layer 0 and layer 2 provide off-chain resolutions to the scalability problem, layer 1 blockchains also put forward self-sustained solutions.

Layer 1 blockchain examples

Now that we know what layer 1 is, let’s look at some examples. There’s a huge variety of layer 1 blockchains, and many support unique use cases. It’s not all Bitcoin and Ethereum, and each network has different solutions to the blockchain technology trilemma of decentralization, security, and scalability.

Celo

Celo is a layer 1 network forked from Go Ethereum (Geth) in 2017. It has, however, made some significant changes, including implementing PoS and a unique address system. The Celo Web3 ecosystem includes DeFi, NFTs, and payment solutions, with more than 100 million transactions confirmed. On Celo, anyone can use a phone number or email address as a public key. The blockchain is easily run with standard computers and doesn’t require special hardware.

CELO’s address system and stablecoin aim to make crypto more accessible and improve adoption. The volatility of the crypto market and difficulty for newcomers can be discouraging to many.

THORChain

THORChain is a cross-chain permissionless decentralized exchange (DEX). It’s a layer 1 network built using the Cosmos SDK. It also uses the Tendermint consensus mechanism for validating transactions. The main goal of THORChain is to allow for decentralized cross-chain liquidity without the need to peg or wrap assets. For multi-chain investors, pegging and wrapping add additional risk to the process.

THORChain’s Automated Market Maker (AMM) model uses RUNE acting as the base pair, meaning you can swap RUNE for any other supported asset. In a way, the project works like a cross-chain Uniswap, with RUNE being a settlement and security asset for liquidity pools.

Kava

Kava is a layer 1 blockchain that combines the speed and interoperability of Cosmos with the developer support of Ethereum. Using a “co-chain” architecture, the Kava Network features a distinct blockchain for both the EVM and Cosmos SDK development environments. Coupled with IBC support on the Cosmos co-chain, this enables developers to deploy decentralized applications that interoperate seamlessly between the Cosmos and Ethereum ecosystems.

Kava has a native utility and governance token, KAVA, and a US-dollar pegged stablecoin, USDX. KAVA is used to pay for transaction fees and is staked by validators to generate network consensus. Users can delegate their staked KAVA to validators to earn a share of KAVA emissions. Stakers and validators can also vote on governance proposals that dictate the parameters of the network.

Layer 1 Solutions for Scalability

Layer 1 solutions attempt to address the scalability issue by improving their base protocol, and without depending on a different chain. The most common layer 1 attempts are improving the consensus protocol in use and resorting to sharding.

Changing Consensus Protocol

Most of the popular blockchain layer 1 networks, including Bitcoin, Litecoin, and Monero use the proof of work consensus protocol where miners solve complex arithmetical problems to create new blocks.

The process takes a lot of computational power and becomes the proof of work with which other nodes can acknowledge its validity and reach a consensus. The successful attempts are rewarded with a number of native tokens.

The biggest challenge is that these problems take an average of 10 minutes to solve. Bitcoin network, for example, processes multiple transactions per second. This is a competitive model where every node can be a validator.

To improve transaction times and prevent unverified transaction pools from forming, some blockchains, most notably Ethereum, have switched consensus protocol and adopted proof of stake. In this model, validators are chosen among a group of nodes who staked tokens to become a validator.

The highest bidder typically gets the validation role, and like in the case of PoW and PoS, they are rewarded with a certain amount. Because validators are chosen, there is no need for such complex problems to prove the work as in PoW, thus PoS is much more efficient.

Sharding

Currently being tested by Ethereum, sharding is among the most popular layer 1 solutions to tackle the scalability problem. Sharding is the process by which all transactions are divided into parts, called “shards”, and processed independently but simultaneously.

Each shard would have its own data, and every node in shards would only have the data of that partition rather than the whole ledger. Yet, shards can be shared with one other, and maintain the distributed quality of a blockchain network.

The main problem with shards is security: it’s unknown how vulnerable shards will be against attacks and hostile takeovers. Ethereum has recently rolled out 64 new shard chains as part of “the Merge”, where the platform is also embracing the PoS mechanism. Ethereum plans to ensure security by randomly assigning nodes to shards and reassigning them at intervals.

Layer 0 and Layer 2 Solutions

Layer 0 and layer 2 solutions propose to add an alternative to the main blockchain to which it can delegate the workload. Both solutions attempt to tackle the scalability problem:

  • Layer 0: Layer 0 solutions create a base infrastructure that can connect layer 1 blockchains. In a bid to resolve the scalability issue, layer 0 solutions help improve cross-chain communication and provide users with a helpful platform where they can start their own blockchain networks or build decentralized applications, so the overdependence on base blockchains is relieved.

Layer 0 solutions address the scalability problem by increasing base blockchains’ transaction throughput, which refers to the number of transactions a chain can handle at one time.

  • Layer 2: Layer 2 solutions propose to attach protocols to base layers which would take on some of the transactions from the base layer, helping scalability. In other words, the base blockchains can outsource the transaction verification to layer 2 protocols and thereby accommodate a growing userbase and transactions without much burdening.

The payment protocol Lightning Network, for example, is the layer 2 protocol the Bitcoin network is making use of to benefit from quicker transfers and lower fees. Using the Lightning Network, users can send one another Bitcoins using just their wallets. These transactions are off-chain as they are run through the secondary layer, and decrease the workload on the blockchain.

Will Layer 1 Prevail?

When talking about the scalability issue, it is important to differentiate between public and private blockchains. Private blockchains, by nature, are scalable solutions as they are inherently limited in how many users can be accepted, and more often than not are not fully distributed. In fact, Deloitte’s survey shows that 81% of those in the financial services industry believe the technology is broadly scalable.

Public blockchains, on the other hand, risk a decrease in the experience they can offer to users due to their inability to accommodate the rising number of transactions. While layer 1 solutions are being time-tested to assess their efficiency and security, it is promising to see developers bringing about multi-chain solutions do unlock dead-ends.

FAQs

What is the difference between Layer 1 and layer 2?

Layer 1 and layer 2 blockchains differ from one another in their focus: layer 1 blockchains usually aim to improve the base protocol and architecture, whereas layer 2 blockchains are third-party networks built on layer 1 blockchains to improve their scalability.

On the contrary, a layer 1 consensus protocol could leverage Proof of Stake as the consensus mechanism.

Is Ethereum a Layer 1 or 2?

Is Ethereum Layer 1?

Popular platforms like Ethereum and Bitcoin is a layer 1 blockchains. They can independently verify the information and finalize transactions without relying on a different layer 1 network or governing entity. Layer 1 also has the framework on which layer 2 networks can be built.

What is Layer 0 Crypto?

Layer 0 solutions provide a base framework that supports and connects layer 1 blockchain networks. It aims to facilitate communication, support data validation, and allow users to build decentralized applications so the layer 1 blockchains are disburdened.

Is Solana a Layer 1 or 2?

Solana is a Layer 1 blockchain designed to facilitate smart contracts and the creation of new decentralized applications (DApps).

Layer 1 vs. Layer 2

When it comes to improvements, not everything is solvable on layer 1. Due to technological constraints, certain changes are difficult or almost impossible to do on the main blockchain layer 1 network. Ethereum, for example, is upgrading to Proof of Stake (PoS), but this process has taken years to develop.

Some use cases simply cannot work with layer 1 due to scalability issues. A blockchain game could not realistically use the Bitcoin layer 1 network due to lengthy transaction times. However, the game may still want to use layer 1 security and decentralization. The best option is to build on top of the network with a layer-2 solution.

Read More About Blockchain

Contributors