Layer 2: Definition, Types and Swiss Projects
Definition
Layer 2 (L2) refers to a category of blockchain scaling solutions that process transactions off the main blockchain (Layer 1) whilst inheriting its security guarantees. Layer 2 networks are designed to address the blockchain trilemma — the tension between scalability, security and decentralisation — by moving computation and data storage away from the congested base layer, thereby increasing transaction throughput and reducing gas fees.
The fundamental principle is straightforward: rather than recording every transaction directly on the Layer 1 blockchain (which is expensive and slow), Layer 2 solutions batch, compress or otherwise process transactions off-chain, then periodically submit summaries or proofs back to Layer 1 for final settlement. The result is a system that can handle orders of magnitude more transactions per second, at a fraction of the cost, whilst maintaining the security of the underlying blockchain.
How It Works
Rollups
Rollups are the dominant Layer 2 architecture and are classified into two principal types:
Optimistic rollups assume that all transactions submitted to the rollup are valid by default (the “optimistic” assumption). A fraud-proof mechanism allows anyone to challenge a transaction within a specified window — typically seven days — by submitting evidence that the transaction was invalid. If a challenge succeeds, the fraudulent transaction is reversed and the submitter is penalised. Optimistic rollups offer strong compatibility with existing smart contracts and are relatively simple to implement.
ZK-rollups (zero-knowledge rollups) use zero-knowledge proofs to cryptographically verify the validity of every batch of transactions before submitting them to Layer 1. Rather than relying on a challenge period, ZK-rollups provide immediate mathematical proof that all transactions in a batch are correct. This approach offers faster finality and stronger security guarantees but requires more complex cryptographic infrastructure.
State Channels
State channels allow two or more parties to conduct multiple transactions off-chain, settling only the final state on Layer 1. The classic example is a payment channel: two parties open a channel by locking funds in a smart contract, conduct an unlimited number of transactions between themselves off-chain, and then close the channel by submitting the final balance to the blockchain.
State channels offer near-instant transaction speeds and zero gas fees for off-chain transactions, but are limited to interactions between the parties that opened the channel.
Sidechains
Sidechains are independent blockchains that run parallel to the main chain and are connected to it through a two-way bridge. Sidechains have their own consensus mechanisms and can offer different trade-offs between speed, cost and decentralisation. However, because sidechains do not inherit the security of Layer 1, they are sometimes considered a distinct category from “true” Layer 2 solutions.
Validiums
Validiums use zero-knowledge proofs like ZK-rollups but store transaction data off-chain rather than on Layer 1. This further reduces costs but introduces data-availability assumptions that slightly weaken the security model. Validiums are particularly suitable for high-throughput applications such as blockchain gaming and NFT marketplaces, where cost sensitivity outweighs the need for maximum security.
Swiss Context
Swiss Layer 2 Projects
Crypto Valley hosts several companies and research groups working on Layer 2 infrastructure:
ZK-proof infrastructure — Swiss teams are building zero-knowledge proof systems that underpin ZK-rollup architectures. These projects leverage the cryptographic research expertise of ETH Zurich and EPFL, which are global leaders in applied cryptography.
Enterprise rollups — Swiss companies are developing permissioned rollup solutions for institutional use cases, enabling banks and asset managers to process tokenised-security transactions on Layer 2 infrastructure whilst settling on public Layer 1 networks. These solutions address the regulatory requirements of institutional investors who require transaction privacy and compliance controls.
Cross-chain bridges — Infrastructure companies in Zug and Zurich are building bridge protocols that enable asset and data transfer between Layer 1 networks and various Layer 2 solutions, addressing the interoperability challenge that currently fragments liquidity across scaling networks.
Regulatory Considerations
FINMA’s technology-neutral approach to regulation applies equally to Layer 2 solutions. The regulator assesses the regulatory status of activities conducted on Layer 2 networks based on their economic substance rather than their technical architecture. A lending protocol on a Layer 2 network is subject to the same regulatory analysis as an equivalent protocol on Layer 1.
This technology-neutral stance benefits Swiss Layer 2 projects, as it provides regulatory clarity without imposing architecture-specific requirements that might constrain innovation.
Investment Activity
Layer 2 infrastructure is a favoured investment theme among Swiss crypto VCs. Funding rounds for Layer 2 projects have increased in both frequency and size, reflecting investor conviction that scalability infrastructure is a prerequisite for mainstream blockchain adoption.
Key Considerations
Security model — Different Layer 2 architectures offer different security guarantees. ZK-rollups provide the strongest mathematical proofs, optimistic rollups rely on economic incentives and challenge periods, and sidechains operate their own security models. Users and developers should understand the security trade-offs of their chosen Layer 2 solution.
Finality — The time required for a Layer 2 transaction to achieve finality on Layer 1 varies by architecture. Optimistic rollups require a challenge period (typically seven days for withdrawals), whilst ZK-rollups achieve faster finality. Applications requiring immediate settlement should choose architectures with shorter finality windows.
Liquidity fragmentation — The proliferation of Layer 2 solutions creates liquidity fragmentation, as assets and DeFi liquidity are distributed across multiple networks. Cross-chain bridges and liquidity aggregators mitigate this issue but introduce additional smart-contract risk.
Developer experience — Compatibility with existing smart-contract tooling varies across Layer 2 solutions. Optimistic rollups generally offer the smoothest developer experience for teams migrating from Layer 1, whilst ZK-rollups may require specialised development frameworks.
Cost trajectory — Layer 2 gas fees are expected to continue declining as the technology matures and as Layer 1 networks implement data-availability improvements. This cost trajectory strengthens the economic case for building on Layer 2.
Donovan Vanderbilt is a contributing editor at ZUG BLOCKCHAIN, a publication of The Vanderbilt Portfolio AG, Zurich. The information presented is for educational purposes and does not constitute investment advice.