hedgefund.wiki — institutional knowledge base

Layer 2 Protocol

Crypto & Digital Assets · advanced · CC-BY-4.0

A Layer 2 protocol is a secondary framework or network built on top of an existing blockchain (Layer 1) that processes transactions off the main chain to increase throughput, reduce fees, and decrease latency, while periodically settling the net state back to the base layer to inherit its security guarantees. Examples include the Lightning Network on Bitcoin and Optimistic Rollups or ZK-Rollups on Ethereum.

Key takeaways

Explanation

The scalability problem in blockchains arises from a fundamental design constraint: every node in a decentralized network must process and validate every transaction, limiting throughput to what the slowest participant can handle. Ethereum's base layer (Layer 1) processes approximately 12–15 transactions per second with confirmation times of 12 seconds per block. Bitcoin is even more constrained at approximately 7 transactions per second. By contrast, Visa processes around 1,700 transactions per second on average and can scale to 65,000 tps. For blockchain networks to support global financial applications, throughput must increase by orders of magnitude.

Layer 2 protocols solve the scalability problem by moving transaction execution off-chain while retaining on-chain security. The key insight is that not every transaction needs to be verified by every node on the base layer; instead, a trusted process can batch hundreds or thousands of transactions and submit only the summary (or a proof of the summary's correctness) to Layer 1. This reduces the per-transaction burden on the base layer dramatically.

The major L2 architectures differ in how they handle security assumptions. State channels (e.g., Bitcoin's Lightning Network, Ethereum's Raiden Network) require participants to lock funds in a multi-signature on-chain contract, conduct many off-chain transactions updating their respective balances, and then close the channel by submitting the final state to the blockchain. This approach achieves near-instant finality and extremely low cost but requires both parties to be online and is best suited for repeated bilateral interactions. Plasma chains are child chains that periodically commit their block headers to the parent chain, allowing token transfers with base-layer security guarantees but with complications around data availability and exit procedures.

Rollups are currently the dominant L2 architecture for Ethereum. In a rollup, a sequencer collects transactions from users, executes them off-chain, and periodically posts compressed transaction data plus the resulting state root to Ethereum. This ensures data availability on the main chain—a critical security property that Plasma lacked. Optimistic Rollups (Arbitrum, Optimism, Base) assume transactions are valid by default and allow a window (typically 7 days) during which any party can submit a fraud proof if they detect an invalid state transition. ZK-Rollups (zkSync, StarkNet, Polygon zkEVM) generate cryptographic zero-knowledge proofs of computation validity that are verified on-chain, enabling near-instant finality without the challenge period.

For institutional crypto participants—hedge funds, market makers, and protocol treasuries—Layer 2 adoption has direct operational significance. The majority of DeFi TVL (Total Value Locked) is still on Ethereum mainnet, but trading volume is shifting to L2s where transaction costs make active strategies economically viable. High-frequency DeFi strategies, such as limit-order-book perpetual DEXs (dYdX v4, Hyperliquid) or yield optimization protocols, operate on L2 or application-specific chains because the fee economics of mainnet Ethereum are prohibitive at transaction frequencies above a few per day.

Example

An institutional DeFi hedge fund wants to run a delta-neutral market-making strategy on a perpetual swap DEX. On Ethereum mainnet, each position update costs approximately $15–40 in gas fees during periods of moderate network congestion. With hundreds of position updates needed daily across 10 trading pairs, mainnet fees alone would cost $30,000–80,000 per day—making the strategy unprofitable. The fund instead deploys on Arbitrum, an Optimistic Rollup on Ethereum, where the same transaction costs $0.05–0.20. Daily execution costs fall to $100–400, making the strategy viable. The fund's smart contracts interact with the Arbitrum bridge to move USDC from Ethereum mainnet to Arbitrum, execute thousands of transactions daily, and periodically bridge profits back to mainnet for settlement. Security is inherited from Ethereum's base layer through Arbitrum's fraud-proof system.

Related terms

Bitcoin Blockchain Cbdc Central Bank Digital Currency Default Delta Ethereum Flash Loan Funding Rate Hedge Fund Latency Mining Perpetual Swap