Linea is a zero-knowledge Ethereum rollup built by ConsenSys, designed for near-full EVM equivalence without custom compilers or rewritten contracts. It launched on Ethereum mainnet in August 2023, uses a proprietary prover library called gnark, and inherits security from Ethereum's base layer. Developers deploy existing Solidity code directly, with no toolchain changes required.
Most ZK rollups make trade-offs between EVM compatibility and proving speed. Linea's stated design goal is to sit as close as possible to the canonical EVM execution environment while generating ZK proofs in production time frames. That combination, backed by ConsenSys's infrastructure reach and MetaMask's 30-million-plus active wallet base, gives Linea a distribution starting point that no independent ZK rollup team can replicate at launch.
This article covers how Linea's zkEVM works, how it compares to Scroll and zkSync Era, how MetaMask integrates with the chain, what DeFi protocols are live today, how to bridge assets onto Linea, and where the project sits on its decentralization roadmap.
What Is Linea?
Linea is a ZK-EVM Layer 2 rollup developed by ConsenSys, deployed on Ethereum mainnet in August 2023. It batches transactions offchain, generates ZK validity proofs, and posts them to Ethereum for verification. ConsenSys designed Linea with a prover-agnostic architecture so the proof system can be upgraded as ZK technology matures.
The distinction between Linea and earlier ZK rollups matters for developers. StarkNet and its Cairo language, zkSync 1.x and its SNARK-based Zinc compiler, and similar systems required rewriting contracts in a new language or compiling through a custom intermediate representation. Linea targets Vitalik Buterin's type 2 ZK-EVM classification, meaning it aims for full EVM equivalence at the bytecode level. A Solidity contract that runs on Ethereum mainnet can be deployed to Linea using the same ABI, the same bytecode, and the same tooling, with only a network RPC endpoint change.
ConsenSys has shipped Ethereum infrastructure since 2014. Infura runs a significant share of global RPC traffic; MetaMask holds the largest self-custody wallet user base in the industry. Linea is the natural onchain execution layer for that ecosystem. To understand what a rollup means at a technical level and why rollups differ from other scaling approaches, that linked article covers the optimistic versus ZK design split in detail.
How Does Linea's zkEVM Work?
Linea's zkEVM processes transactions through a sequencer that batches execution, a prover that generates a ZK validity proof for each batch, and a verifier smart contract on Ethereum that checks the proof. The gnark library, an open-source Go-based ZK toolkit developed at ConsenSys, handles the proof generation. Batches are compressed using EIP-4844 blob data to reduce L1 calldata costs.
The proving pipeline has three stages. First, the sequencer collects transactions, orders them, and executes them against the current state. Second, the prover takes the execution trace and generates a Groth16 or Plonk proof over the circuit representation of the EVM. Third, the verifier contract on Ethereum checks the proof root, advancing the state root only if the proof is valid. No invalid state transition can pass without a valid proof, which means cryptographic proof verification serves as the trust anchor rather than a fraud challenge window.
EIP-4844, which introduced blob-carrying transactions to Ethereum in March 2024, materially changed Linea's cost structure. Blobs are large data chunks that are pruned after roughly 18 days, making them cheaper than equivalent calldata but still sufficient for ZK proof data availability. Linea's batch compression targets roughly a 15x reduction in L1 data costs relative to uncompressed calldata, though real-time figures depend on transaction mix and batch fill rate, as tracked on L2BEAT's Linea page.
Finality on Linea has two stages. Soft finality arrives within seconds when the sequencer includes the transaction in a batch. Hard finality, meaning Ethereum-anchored settlement with a verified ZK proof, typically arrives within minutes to an hour depending on batch size and prover throughput. This is faster than the seven-day withdrawal window typical of optimistic rollups, because ZK proofs require no challenge period. A user bridging out of Linea back to Ethereum mainnet is not locked into a week-long waiting window.
The gnark library itself is worth noting for technical readers. ConsenSys open-sourced gnark on GitHub at github.com/ConsenSys/gnark in 2020, and it has become one of the more actively maintained Go-based ZK proving frameworks. It supports Groth16, PLONK, and Plonk with Pedersen commitment schemes across BN254 and BLS12-381 curves. Linea uses the BN254 curve via gnark's Groth16 implementation in its current prover.
Gas accounting on Linea mirrors Ethereum's opcodes closely, which is the practical benefit of type 2 EVM equivalence. Contracts that use SELFDESTRUCT, EXTCODEHASH, or precompiles like ecRecover work without modification. One known exception: certain gas cost differences exist for a small subset of precompiles where the proving cost and the EVM cost diverge, and ConsenSys documents these on the Linea developer documentation site. For the vast majority of production contracts, including Uniswap V2 and V3, Aave V2 and V3, and OpenZeppelin token standards, no changes are needed.
Linea vs. Scroll vs. zkSync Era: How Do the Major ZK-EVMs Compare?
Linea, Scroll, and zkSync Era are the three most prominent ZK-EVM rollups targeting Ethereum bytecode compatibility. Each takes a different approach to EVM equivalence, proof generation, prover decentralization, and wallet integration. The table below summarizes the primary differences across dimensions that matter for developers and users choosing between them.
Dimension | Linea | Scroll | zkSync Era |
EVM compatibility type | Type 2 (bytecode equivalent) | Type 2/3 (bytecode level, some opcodes differ) | Type 4 (source-level, custom compiler) |
Proof library | gnark (ConsenSys, Go) | Halo2 (based on PSE fork) | Custom Boojum (Plonky2 variant, Rust) |
Mainnet launch | August 2023 | October 2023 | March 2023 |
L1 finality speed | Minutes to ~1 hour | Minutes to ~1 hour | ~1 hour typical |
MetaMask native integration | Yes (native bridge + Snaps) | No dedicated wallet | MetaMask not default; ZKsync wallet ecosystem |
Prover decentralization status | Stage 0 (single prover, ConsenSys) | Stage 0 (single prover team) | Stage 0, roadmap to decentralized proving |
Developer tooling compatibility | Hardhat, Foundry, Remix (no changes) | Hardhat, Foundry (no changes) | zkSync CLI required; some contract modifications |
zkSync Era's type 4 classification, explained in detail on the zkSync explainer, means contracts compile through a custom LLVM-based compiler. That gives faster proving times for many workloads but introduces contract-level incompatibilities: certain opcodes, precompiles, and call patterns behave differently than on mainnet Ethereum. Linea's type 2 target eliminates that friction, at the cost of a more complex proving circuit.
Scroll's approach is architecturally closest to Linea. Both target bytecode-level EVM equivalence, both use academic ZK proof systems adapted for EVM circuits, and both launched in the second half of 2023. The primary differences are the proof library (Halo2 for Scroll versus gnark for Linea), the community and backer ecosystem, and Linea's MetaMask distribution advantage. L2BEAT tracks the current TVL, stage classification, and withdrawal mechanism details for all three on its scaling summary page.
How Does Linea Integrate With MetaMask?
Linea integrates with MetaMask through a native bridge in the MetaMask portfolio interface and through MetaMask Snaps. Because ConsenSys built both products, Linea has first-party wallet integration that other ZK rollups cannot replicate. Users can add Linea and bridge assets without leaving the MetaMask interface.
The MetaMask bridge feature, accessible at portfolio.metamask.io, supports Linea as a native destination for cross-chain transfers. Users selecting Linea as the destination chain are routed through the Linea native bridge by default, though the portfolio interface also aggregates third-party bridge quotes. The native bridge is a canonical contract pair: one on Ethereum mainnet, one on Linea, with the ZK proof anchoring the security of the transfer rather than an external validator set.
MetaMask Snaps extend the wallet with modular plugins that run in a sandboxed environment. Several DeFi protocols on Linea have deployed Snaps to surface portfolio data, transaction simulations, and protocol-specific notifications directly inside the MetaMask UI. This is distinct from most L2 integrations, which require users to navigate to a separate dApp interface. For a user population that skews toward MetaMask, these touchpoints reduce onboarding friction substantially.
The distribution math matters. MetaMask reported over 30 million monthly active users as of 2024. Even a single-digit percentage conversion to Linea mainnet activity represents a user base large enough to sustain DeFi liquidity depth. That distribution moat is why ConsenSys frames Linea as the natural next step for MetaMask users moving from custodied exchanges to self-custody DeFi positions.
What DeFi Protocols Are Live on Linea?
Linea's DeFi ecosystem includes lending protocols, decentralized exchanges, yield aggregators, and stablecoin markets. USDC and USDT are both bridgeable to Linea and function as the dominant liquidity pairs across most protocols. The ecosystem was seeded through Linea Voyage, a multi-phase incentive program that launched alongside mainnet and distributed points and protocol incentives to early users.
Nile Exchange is Linea's native liquidity layer, designed after the ve(3,3) tokenomics model popularized by Velodrome on Optimism and Aerodrome on Base. It provides the primary liquidity routing for stable and volatile token pairs onchain. Horizon, a lending protocol native to Linea, supports USDC, USDT, and WETH as collateral. Mendi Finance, a fork of Compound V2, added Linea support at launch and accumulated meaningful TVL during the Voyage campaign period.
Gamma Strategies and Izumi Finance provide concentrated liquidity management, allowing liquidity providers to automate position rebalancing within custom price ranges on Uniswap V3-style AMMs deployed to Linea. LineaBank, another Compound-fork lending market, rounds out the primary lending surface. Rubic and Li.Fi both support Linea as a routing hop in their cross-chain aggregation, which means cross-chain swaps terminating on Linea can access its native DEX liquidity without a separate bridging step. For readers new to DeFi mechanisms, the DeFi explainer covers the core primitives.
Linea Voyage ran in multiple seasons through 2023 and 2024, rewarding users for protocol interactions with XP points redeemable in future token events. The campaign drove onchain transaction volume during the growth phase. As of Q1 2026, Linea's TVL had not broken into the top 10 chains by DeFiLlama's ranking, though it maintained an active user base driven by the MetaMask integration channel rather than mercenary yield farming alone.
ConsenSys operates a developer grant program for Linea, providing funding for teams building native protocols, tooling, and infrastructure. Grant categories cover DeFi infrastructure, gaming, social applications, and developer tooling improvements to the local block explorer and RPC layer. Teams building liquidity infrastructure receive priority consideration, reflecting the practical constraint that a new EVM chain's usability is bounded by its stablecoin depth and swap routing quality. Full details on the current grant cycle are published at linea.build/grants.
How Do You Bridge Assets to Linea?
Bridging to Linea involves sending assets from Ethereum mainnet (or another supported chain) to the Linea network using either the native bridge or a third-party aggregator. The native bridge, operated by ConsenSys, anchors security in the ZK proof: withdrawals from Linea back to Ethereum are only processed after a valid ZK proof has been submitted and verified onchain. There is no seven-day fraud-proof challenge window.
The canonical native bridge is at bridge.linea.build. To deposit from Ethereum to Linea, a user approves the bridge contract to move their tokens, submits the deposit transaction, and receives the bridged tokens on Linea once the Linea sequencer includes the corresponding mint. Deposit confirmation typically takes under five minutes at normal network load.
Withdrawals from Linea to Ethereum take longer. The ZK proof covering the withdrawal batch must be generated and verified on L1 before the funds are claimable. Proof finalization typically happens within minutes to roughly an hour, significantly faster than the seven-day window on Optimism or Arbitrum. The native bridge UI at bridge.linea.build surfaces a status tracker so users can monitor proof finalization without manually querying the verifier contract.
Third-party bridges also support Linea. Across Protocol and Stargate provide fast-finality bridging where a liquidity provider fronts the destination tokens immediately and is reimbursed via the canonical bridge mechanism in the background. This reduces the user-facing wait time to under a minute for common token pairs like USDC and WETH, at the cost of a slightly wider spread. Users bridging frequently between chains should compare the native bridge and aggregator routes for the specific token and amount, as fee structures differ materially above roughly $10,000 in transfer size. For a full comparison of bridge architectures, the blockchain bridge explainer covers lock-and-mint, liquidity pool, and ZK-native bridge models.
What Is Linea's Roadmap for Decentralization?
Linea operates as a stage 0 rollup: ConsenSys controls both the sequencer and the prover, and the bridge contracts are upgradeable by a multisig without a time lock. Moving to stage 1 requires permissionless proof verification and upgrade delays that give users time to exit before any change takes effect.
ConsenSys has published a roadmap toward prover decentralization in which third-party proving nodes will be able to participate in proof generation and earn fees. The design relies on splitting the prover circuit into segments that can be distributed across multiple hardware providers, with a coordinator aggregating the sub-proofs into a single L1-verifiable proof. This is technically more complex than simply running multiple full provers, but reduces the capital requirement for participation.
Sequencer decentralization is a separate track. In a decentralized sequencer model, multiple operators rotate through block production using a consensus mechanism, eliminating the single point of censorship that centralized sequencers represent. Linea's current documentation describes sequencer decentralization as a post-prover-decentralization milestone, reflecting the industry-wide pattern in which proving infrastructure is stabilized first. The Linea engineering blog publishes quarterly updates on both tracks.
L2BEAT's risk classification for Linea notes that the bridge contract upgrade key is held by a multisig without a time lock, which means a compromised key could theoretically upgrade the bridge and drain user funds before anyone can exit. ConsenSys has committed to adding upgrade delays and moving toward a security council model, mirroring the governance structures that Arbitrum and Optimism implemented in 2023. Until those changes land, Linea's security profile is materially similar to other stage 0 rollups. Developers and large liquidity providers should track the L2BEAT Linea risk report for live updates on the upgrade key and emergency exit mechanisms.
FAQ
Is Linea an optimistic rollup or a ZK rollup?
Linea is a ZK rollup. It generates zero-knowledge validity proofs for every batch of transactions and submits them to Ethereum for verification. Unlike optimistic rollups, which assume transactions are valid unless challenged during a seven-day window, Linea's proofs provide cryptographic finality without a challenge period. See the rollup comparison article for detail on both approaches.
What wallet do I use with Linea?
MetaMask is the primary wallet for Linea, with a native bridge and Snaps integration built into the portfolio interface. Any EVM-compatible wallet also works, including Coinbase Wallet, Rainbow, and hardware wallets like Ledger and Trezor. Users add Linea by configuring the network RPC using the parameters published at docs.linea.build or by clicking "Add Linea" from the MetaMask network menu.
How long do Linea withdrawals take?
Withdrawals from Linea to Ethereum mainnet typically finalize within minutes to roughly one hour, once the ZK proof covering the withdrawal batch is submitted and verified onchain. This is faster than optimistic rollup withdrawals, which require a seven-day challenge window. Third-party bridge aggregators like Across can reduce the user-facing wait to under a minute by fronting liquidity from their own pools.
Who built Linea and when did it launch?
ConsenSys, the blockchain technology company behind MetaMask and Infura, built and launched Linea on Ethereum mainnet in August 2023. ConsenSys has been building Ethereum infrastructure since 2014. Linea is the company's production ZK-EVM layer, backed by the gnark ZK proving library that ConsenSys open-sourced in 2020 at github.com/ConsenSys/gnark.
What is the gnark prover that Linea uses?
gnark is an open-source ZK proving toolkit written in Go and developed by ConsenSys. It supports multiple proof systems, including Groth16 and PLONK, across the BN254 and BLS12-381 elliptic curves. Linea uses gnark's Groth16 implementation over BN254 to generate validity proofs for each batch. Proof generation speed and circuit efficiency are the primary areas of active development, as faster proofs directly reduce L1 finality latency.
Related reading
Sources and methodology. Chain TVL data sourced from DeFiLlama (snapshot April 29, 2026). Rollup stage classifications sourced from L2BEAT. Protocol launch dates verified against ConsenSys press releases and Linea documentation. Gnark library details sourced from the gnark GitHub repository. TVL figures for Linea omitted where not present in the live data snapshot; quarter qualifiers used per editorial policy.
