Back to blogs
Written by
Cyfrin Team
Published on
April 30, 2024

What is a Layer 1 Blockchain? A Comprehensive Guide to L1s

An L1, or Layer 1 blockchain, refers to the base layer of a blockchain ecosystem. Learn everything you need to know about what are layer 1 blockchains and how they work.

Table of Contents

An L1, or Layer 1 blockchain, refers to the base layer of a blockchain ecosystem. Blockchain architectures often have layers for scalability, and the layer that can operate by itself with no additional plugins is known as the L1.

This is often also known as the “settlement layer” because it’s the layer of a blockchain ecosystem to which all plugins, layers, or additional components eventually write back.

In this article, we will learn:

  • What is a layer 1 blockchain
  • What blockchain layers are
  • How blockchain layers work

and the current L1 Blockchain scalability solutions landscape.

What is a Blockchain Layer?

As explained in our guide on blockchain architectures, there are two types of layers we can refer to in the context of blockchains, both commonly referred to as “blockchain layers”:

  • Functional layers: core components that dictate a blockchain’s basic operations, security measures, and application support.
  • (actual) Blockchain layers represent the tech stacks developed to solve one or more parts of the scalability trilemma and address chain-specific challenges.

We're referring to the second type when discussing an L1 or Layer 1 Blockchain. Specifically, we’re referring to the base layer of a blockchain ecosystem, which can operate by itself with no additional plugins. Contrary to a layer 2 blockchain, that requires a layer-1 to function.

Why do we need multiple blockchain layers?

As our guide on blockchain architectures discusses, the blockchain trilemma is one key issue all layer 1 blockchain need to solve.

The term "blockchain trilemma" was first introduced by Vitalik Buterin to describe the three properties of a high-performing blockchain:

  • Decentralization
  • Security
  • Scalability

The trilemma states that a blockchain can only excel in two of these three areas at once.

To address this, some developers have taken blockchains like Ethereum or Bitcoin, and instead of trying to create a single chain that is both scalable, secure, and decentralized, they have opted to create two chains:

  • Layer 1 (Ethereum, Bitcoin): to focus on fundamental changes in blockchains at their core
  • Layer 2 (zkSync, LightingNetwork): Adding additional structures to layer 1, like ZK-Based or Optimistic rollups to enhance performance without compromising the blockchain's core functionality. For example, if a layer one blockchain focuses on security and decentralization, it can be the job of an L2 to focus on scale.

In addition, L1 chains are often mission-driven, and anything that perverts the mission is generally not included in the development of the L1. This is often because it would hinder other parts of the blockchain scalability trilemma.

For example, the Ethereum network did not put the ability to directly read the price of assets from the real world (the device that reads asset prices from the real world is also known as an “oracle”) because the vision of Ethereum is a completely unbiased global computer. Reading asset prices made it difficult for it to retain its unbiased mission, so when Chainlink launched on top of Ethereum, we’d refer to Chainlink as an L2 or “Layer 2”.

Having multiple layers of a blockchain allows each to retain certain security and decentralization implications without sacrificing the entire system.

Examples of L1 blockchains

With all these challenges, there is plenty of room for different L1 solutions that address scalability problems in various ways. These are some of the most popular ones.

  • Ethereum
  • Avalanche
  • Solana
  • BNB
  • Bitcoin

Blockchain Layer 1 Scaling Solutions

As we’ve seen, scaling Layer 1 chains confronts a fundamental hurdle. The scalability trilemma highlights this predicament, emphasizing the challenge of expanding transaction capacity without compromising security or decentralization.

To solve the challenges related to the scalability trilemma, Layer 1 blockchains can implement one of the following scalability solutions to improve some of the aspect of the trilemma, without relying on a Layer-2 blockchain:

Sharding

Sharding is a solution to break the network’s data into smaller, more manageable shards. Image a large, bustling marketplace that’s become too crowded. To manage the crowd better, the marketplace is divided into smaller sections, each specializing in different goods. This way, shoppers can find what they need more quickly and efficiently because each section is less crowded and easier to navigate.

In blockchain, sharding does something similar. Instead of having every single transaction processed by every node in the network, sharding divides the network’s data into shards. Each shard contains a portion of the network’s transaction history, smart contracts, and account balances. The Ethereum blockchain for example, is implementing a variation of Sharding - Danksharding, now partially live thanks to the recent Proto-danksharding eip-4844 release.

Sharding allows the parallel processing of transactions, significantly speeding up the validation process since each node only processes the transactions for its respective shard.

Change the Consensus Mechanism

Changing a consensus mechanism is like altering the rules of a game for how players (in this case, nodes) agree on the state of the blockchain ledger. Bitcoin’s Nakamoto consensus based on Proof-of-work (PoW) and Ethereum’s Gasper consensus based on Proof-of-Stake (PoS) are two types of consensus. Ethereum was initially proof-of-work-based but migrated to PoS-based to help with transaction throughput. This is a great example of how this can help with the scalability issue, as they could go from a TPS of 10 to around 32 Blocks per second.

This implies that the consensus layer of the internal chain infrastructure must be changed, and sometimes, doing this at this level is not optimal, as we will see later in the article, that some Layer 2 addresses this problem.

Fork the Chain

Forking a blockchain is similar to taking a road that splits into two directions. This can happen for several reasons, such as adding new features, correcting security flaws, or resolving disagreements within the community about the blockchain’s future direction.

There are two primary forks:

  • Soft Fork: a backward-compatible upgrade in which the updated blockchain can still interact with the version before the fork.
  • Hard Fork: is not backward compatible, which means the updated version of the blockchain operates under a new set of rules that don’t recognize the old rules. Effectively, this creates a new blockchain path from the point of the fork.

Summary

As we've learned in this article on what layer 1 blockchains are - An L1, refers to the base layer of a blockchain ecosystem. A blockchain ecosystem can in fact have several layers. The Ethereum L1 has several L2s like zkSync, Arbitrum, and Optimism. Bitcoin has a layer two in the lightning network, aiming to scale Bitcoin's transaction throughput. The Solana network, on the other hand, has very few to no L2s because of how large the base layer (L1) is.

The layer that can operate by itself with no additional plugins is known as an L1 Blockchain.

Secure your protocol today

Join some of the biggest protocols and companies in creating a better internet. Our security researchers will help you throughout the whole process.
Stay on the bleeding edge of security
Carefully crafted, short smart contract security tips and news freshly delivered every week.