Blockchain General

Layer 2 (L2)

A scaling solution built on top of a Layer 1 blockchain that processes transactions off-chain while inheriting the security of the base layer. L2 types include optimistic rollups (Arbitrum, Optimism), ZK rollups (zkSync, StarkNet), state channels, and sidechains. L2s post transaction data or proofs back to L1 for finality.

IDlayer-2AliasL2

Plain meaning

Start with the shortest useful explanation before going deeper.

A scaling solution built on top of a Layer 1 blockchain that processes transactions off-chain while inheriting the security of the base layer. L2 types include optimistic rollups (Arbitrum, Optimism), ZK rollups (zkSync, StarkNet), state channels, and sidechains. L2s post transaction data or proofs back to L1 for finality.

Mental model

Use the quick analogy first so the term is easier to reason about when you meet it in code, docs, or prompts.

Think of it as a building block that connects one definition to the larger Solana system around it.

Technical context

Place the term inside its Solana layer so the definition is easier to reason about.

Shared crypto concepts that frame the broader ecosystem.

Why builders care

Turn the term from vocabulary into something operational for product and engineering work.

This term unlocks adjacent concepts quickly, so it works best when you treat it as a junction instead of an isolated definition.

AI handoff

AI handoff

Use this compact block when you want to give an agent or assistant grounded context without dumping the entire page.

Layer 2 (L2) (layer-2)
Category: Blockchain General
Definition: A scaling solution built on top of a Layer 1 blockchain that processes transactions off-chain while inheriting the security of the base layer. L2 types include optimistic rollups (Arbitrum, Optimism), ZK rollups (zkSync, StarkNet), state channels, and sidechains. L2s post transaction data or proofs back to L1 for finality.
Aliases: L2
Related: Layer 1 (L1), Rollup
Glossary Copilot

Ask grounded Solana questions without leaving the glossary.

Use glossary context, relationships, mental models, and builder paths to get structured answers instead of generic chat output.

Explain this code

Optional: paste Anchor, Solana, or Rust code so the Copilot can map primitives back to glossary terms.

Ask a glossary-grounded question

Ask a glossary-grounded question

The Copilot will answer using the current term, related concepts, mental models, and the surrounding glossary graph.

Concept graph

See the term as part of a network, not a dead-end definition.

These branches show which concepts this term touches directly and what sits one layer beyond them.

Branch

Layer 1 (L1)

The base blockchain network that provides consensus, data availability, and execution. Bitcoin, Ethereum, and Solana are Layer 1 blockchains. L1s define the core protocol rules, security model, and native token. Scalability limitations on L1 have driven the development of Layer 2 solutions that inherit L1 security.

Branch

Rollup

A Layer 2 scaling technique that executes transactions off-chain, bundles them, and posts compressed data back to L1. Optimistic rollups assume transactions are valid and use fraud proofs for disputes (7-day challenge period). ZK rollups generate cryptographic validity proofs for every batch. Rollups inherit L1 security while providing 10-100x throughput improvement.

Next concepts to explore

Keep the learning chain moving instead of stopping at one definition.

These are the next concepts worth opening if you want this term to make more sense inside a real Solana workflow.

Blockchain General

Layer 1 (L1)

The base blockchain network that provides consensus, data availability, and execution. Bitcoin, Ethereum, and Solana are Layer 1 blockchains. L1s define the core protocol rules, security model, and native token. Scalability limitations on L1 have driven the development of Layer 2 solutions that inherit L1 security.

Blockchain General

Rollup

A Layer 2 scaling technique that executes transactions off-chain, bundles them, and posts compressed data back to L1. Optimistic rollups assume transactions are valid and use fraud proofs for disputes (7-day challenge period). ZK rollups generate cryptographic validity proofs for every batch. Rollups inherit L1 security while providing 10-100x throughput improvement.

Blockchain General

Lightning Network

A Layer 2 payment channel network built on Bitcoin that enables near-instant, low-cost transactions by conducting most activity off-chain. Two parties open a channel by locking BTC in a multisig transaction, then exchange signed commitment transactions off-chain; only the opening and closing transactions are broadcast on-chain. Payments can be routed across multiple channels using Hash Time-Locked Contracts (HTLCs), enabling trustless multi-hop transfers.

Blockchain General

Blockchain

A distributed, append-only ledger that records transactions in cryptographically linked blocks. Each block contains a hash of the previous block, forming an immutable chain. Nodes in the network maintain copies of the ledger and reach agreement through consensus mechanisms. Blockchains enable trustless, decentralized record-keeping without a central authority.

Commonly confused with

Terms nearby in vocabulary, acronym, or conceptual neighborhood.

These entries are easy to mix up when you are reading quickly, prompting an LLM, or onboarding into a new layer of Solana.

Blockchain Generallayer-1

Layer 1 (L1)

The base blockchain network that provides consensus, data availability, and execution. Bitcoin, Ethereum, and Solana are Layer 1 blockchains. L1s define the core protocol rules, security model, and native token. Scalability limitations on L1 have driven the development of Layer 2 solutions that inherit L1 security.

AliasL1
Blockchain Generalbitcoin-layer-2

Bitcoin Layer 2

Scaling and programmability solutions built on top of Bitcoin's base layer that extend its functionality while inheriting some degree of Bitcoin's security. Major approaches include the Lightning Network (payment channels), Stacks (smart contracts via Proof of Transfer), Liquid Network (Blockstream's federated sidechain), and ZK-rollups like Citrea (using BitVM for settlement). These solutions address Bitcoin's limited throughput (~7 TPS) and restricted scripting.

AliasBitcoin L2
Related terms

Follow the concepts that give this term its actual context.

Glossary entries become useful when they are connected. These links are the shortest path to adjacent ideas.

Blockchain Generallayer-1

Layer 1 (L1)

The base blockchain network that provides consensus, data availability, and execution. Bitcoin, Ethereum, and Solana are Layer 1 blockchains. L1s define the core protocol rules, security model, and native token. Scalability limitations on L1 have driven the development of Layer 2 solutions that inherit L1 security.

Blockchain Generalrollup

Rollup

A Layer 2 scaling technique that executes transactions off-chain, bundles them, and posts compressed data back to L1. Optimistic rollups assume transactions are valid and use fraud proofs for disputes (7-day challenge period). ZK rollups generate cryptographic validity proofs for every batch. Rollups inherit L1 security while providing 10-100x throughput improvement.

More in category

Stay in the same layer and keep building context.

These entries live beside the current term and help the page feel like part of a larger knowledge graph instead of a dead end.

Blockchain General

Blockchain

A distributed, append-only ledger that records transactions in cryptographically linked blocks. Each block contains a hash of the previous block, forming an immutable chain. Nodes in the network maintain copies of the ledger and reach agreement through consensus mechanisms. Blockchains enable trustless, decentralized record-keeping without a central authority.

Blockchain General

Consensus Mechanism

The protocol by which nodes in a distributed network agree on the current state of the ledger. Common mechanisms include Proof of Work (Bitcoin), Proof of Stake (Ethereum, Solana), and BFT variants. Consensus ensures all honest nodes converge on the same transaction history despite potential network delays or malicious actors.

Blockchain General

Proof of Stake (PoS)

A consensus mechanism where validators are selected to produce blocks based on the amount of cryptocurrency they have staked (locked) as collateral. PoS is energy-efficient compared to Proof of Work. Misbehaving validators risk losing their stake (slashing). Solana, Ethereum (post-Merge), Cosmos, and Cardano use PoS variants.

Blockchain General

Proof of Work (PoW)

A consensus mechanism where miners compete to solve computationally expensive puzzles to produce blocks and earn rewards. PoW provides strong security (51% attack resistance) but is energy-intensive. Bitcoin and pre-Merge Ethereum use PoW. The difficulty adjusts to maintain target block times regardless of total network hash power.