Anyone starting their journey into the world of Web3 has probably heard or read something about Layer 1 (L1) and Layer 2 (L2) blockchains. But what exactly does that mean?
In short, an L1 blockchain is a “main” or “primary” blockchain that provides the foundation for other blockchains to build upon. An example of an L1s is Bitcoin.
One key thing to note about layer 2s is that they are not always a blockchain; they are a “secondary” or “side-chain” that runs on top of a layer 1 blockchain. We prefer to call them Layer 2 “frameworks” or “protocols”. An example of a Bitcoin L2 is Lightning Network.
Layer 2s come in all shapes and flavors, but they usually do the same thing: take a transaction’s computation off the Layer 1 chain, but periodically post the results of those transactions back to the Layer 1 for the ultimate record. Usually Layer 2s post transactions in batches (instead of one by one) to save on costs.
The key difference between an L1 and L2 is that the L1 blockchain is a platform that allows users to create and manage decentralized applications while a Layer 2 is an extension of a Layer 1 blockchain that enables users to scale their applications by adding additional features and functionality.
Layer 1 blockchains are typically slower and more expensive than Layer 2s. Layer 2s emerged as a solution to the scalability problem faced by many L1 blockchains. By adding an extra layer of functionality, an L2 allows for the scaling of applications.
About Stardust
Stardust is a SaaS, blockchain agnostic, platform that offers a seamless “low code” integration of NFTs for game studios. To learn more, you can schedule time with our sales team here.
FAQs
Layer 1 refers to a base blockchain protocol, (e.g., Bitcoin or Ethereum) while layer 2 refers to a third-party protocol built to have integrated functionality with that base blockchain. There, that's it. If you wanted a high-level overview, that's pretty much all you needed to know.
What is the difference between Layer 1 and layer 2 network switches? ›
Layer 1 provides the physical infrastructure and encoding schemes, ensuring that data can traverse the network medium accurately. Layer 2 builds upon this foundation, framing data and enabling devices to communicate efficiently.
What are the layer 1 and layer 2 blockchain scaling solutions? ›
Layer-1 scaling solutions involve making fundamental changes to the underlying blockchain protocol to directly improve scalability, while Layer-2 scaling solutions operate above the base protocol and focus on improving scalability through off-chain transaction processing and secondary protocols.
What is layer 2 in blockchain? ›
Layer-2 refers to a network or technology that operates on top of an underlying blockchain protocol to improve its scalability and efficiency.
What is layer 1 in blockchain? ›
A Layer-1 Blockchain refers to the foundational level of blockchain architecture, operating as the primary and autonomous chain on which transactions are directly executed and confirmed, as well as providing the essential infrastructure for decentralized applications and smart contracts.
What is the difference between layer 1 and layer 2 Binance? ›
Layer 1 scaling involves foundational blockchain enhancements, while Layer 2 builds atop L1 for improved transaction speed and efficiency. BNB Smart Chain and opBNB exemplify this evolution in the BNB ecosystem. If you are new to crypto, terms like layer 1 and layer 2 might throw you off.
What is the difference between OSI Layer 1 and 2? ›
LAYER 1 - The physical layer in the wired world consist of connectors, cables, fiber, and gbics. This is also the layer where data gets transmitted / received into bits, 0's and 1's using complex coding and modulations. LAYER 2 - The data layer is where upper layer information (Layers 3-7) is encapsulated into a frame.
What are the key differences between a Layer 2 switch and a Layer 3 switch? ›
Layer 2 switches by default do not have built-in security features, making them vulnerable to security threats such as ARP spoofing attacks. Layer 3 switches have built-in security features, such as access control lists, that can help protect your network from security threats.
What is an example of a Layer 2 device? ›
Devices used on a Layer 2 Ethernet network include network interface cards, hubs, bridges and switches.
What is the main advantage of layer 1 over layer 2? ›
Layer 1 solutions have several advantages over Layer 2 solutions because they do not need a separate chain or related improvements that may interfere with the underlying construction. Instead, these solutions alter the protocol's rules to increase transaction capacity and speed and serve more users and data.
In the Ethereum ecosystem, L1 (Layer 1) refers to the main blockchain layer, where all transactions and smart contract executions occur. L2 (Layer 2), on the other hand, represents various scaling solutions built on top of the Ethereum L1 blockchain to improve its scalability and reduce transaction costs.
Is Ethereum a layer 2 solution? ›
Layer 2 - A Scalability Solution
The Ethereum community has turned to Layer 2 solutions to address these challenges. These are networks (or technologies) built on top of the Ethereum blockchain, designed to increase its capacity without compromising security.
What is layer 1 layer 2 blockchain example? ›
Examples of Layer 1 blockchains are the market's biggest cryptocurrencies, Bitcoin and Ethereum. Layer 2 solutions include, for example, Bitcoin's Lightning Network and the scalability solution Polygon, which add functionality and scalability on top of Layer 1 blockchains.
What layer is layer 2? ›
The data link layer, or layer 2, is the second layer of the seven-layer OSI model of computer networking. This layer is the protocol layer that transfers data between nodes on a network segment across the physical layer.
What is the best layer 2 blockchain? ›
Top 10 Layer-2 networks ranked by throughput
- Lightning Networks. Throughput: Up to 1 million TPS. ...
- Coti. Throughput: 100,000 TPS. ...
- Polygon. Throughput: 65,000 TPS. ...
- Dymension. Throughput: 20,000 TPS. ...
- Immutable X. Throughput: 9,000 TPS+ ...
- Manta Network. Throughput: 4,000 TPS. ...
- Starknet. Throughput: 2,000-4,000 TPS. ...
- Arbitrum.
Is Solana a layer 1 or 2? ›
Solana is a Layer 1 blockchain and component of the Smart Contract Platforms Crypto Sector (Exhibit 1). Compared to Ethereum—the largest smart contract platform by market capitalization—Solana provides faster and cheaper transactions on a single-layer network, without relying on additional scaling layers.
Is matic layer 1 or 2? ›
Polygon (MATIC): A Top Layer-2 Ethereum Scaling Solution.
Is chainlink layer 1 or 2? ›
Layer 2 | Chainlink | Every Chainlink integration and partnership.
Is Bitcoin layer 0 or 1? ›
Traditional blockchains like Bitcoin and Ethereum are often called Layer-1, where transactions are processed directly on the blockchain. However, Layer-0 restructures this approach by underpinning the entire blockchain ecosystem.