ZKsync

On this page 7

ZKsync is a zero-knowledge rollup (ZK-rollup) network built on Ethereum that executes transactions off-chain, batches them, and submits a cryptographic validity proof to Ethereum so that the base layer can verify the results without re-executing them. In blockchain scaling, ZKsync belongs to the family of Layer 2 blockchains that inherit Ethereum security while offering lower fees and higher throughput.

The project is developed by Matter Labs. Its first version, now called ZKsync Lite, focused on payments, while ZKsync Era, launched on mainnet in 2023, added general smart contracts through a zkEVM. The name was formerly written zkSync; the current styling uses capital ZK, and the broader framework for launching connected chains is known as the ZK Stack.

How ZKsync processes and proves transactions

ZKsync follows a pipeline of four stages: users send transactions to a sequencer, the sequencer orders and executes them, a prover generates a proof for the batch, and an Ethereum smart contract verifies the proof and records the new state. Once the proof is accepted on Ethereum, the batch is final with Layer 1 security, without any challenge window.

StageComponentWhat happensTypical timing
SubmissionUser walletSigned transaction reaches the operatorSeconds
SequencingSequencerOrdering, execution and soft confirmationAbout one second
CommitmentL1 contractBatch data and state diffs posted to EthereumMinutes
ProvingProver clusterValidity proof generated for the batchMinutes to about an hour
ExecutionL1 verifierProof checked, state root finalizedHours, including a security delay
Stages of a ZKsync transaction

The proof system, introduced as Boojum, produces STARK-style proofs over many small circuits and then compresses them into a single SNARK that is cheap to verify on Ethereum. This recursive approach keeps on-chain verification cost roughly constant regardless of how many transactions a batch contains, which is the core reason ZK-rollups amortize costs so effectively.

For data availability, ZKsync Era publishes compressed state differences rather than full transaction data. Since the Dencun upgrade introduced proto-danksharding, this data can be posted in blob space, which substantially lowered the cost per transaction.

Key technical features of ZKsync Era

ZKsync Era combines EVM compatibility, native account abstraction and a custom virtual machine to balance developer familiarity with efficient proving. The table below summarizes the features that most influence how applications behave on the network.

FeatureDescriptionPractical effect
zkEVM designSolidity and Vyper compiled to a custom instruction setMost contracts deploy with minor changes
Native account abstractionEvery account can be a smart contract walletSocial recovery, batched actions, gas sponsorship
PaymastersContracts that pay fees on behalf of usersFees payable in tokens other than ETH
State diff publicationOnly final storage changes posted to L1Lower data costs for repeated updates
Recursive proofsMany circuit proofs aggregated into oneConstant verification cost on Ethereum
Main features and their practical effect

In the common zkEVM taxonomy, ZKsync Era has been described as a language-level compatible zkEVM, sometimes labeled Type 4, because it compiles high-level code rather than executing Ethereum bytecode directly. The trade-off is faster, cheaper proving at the cost of occasional differences in opcode behavior, gas accounting and precompiles that developers must test for.

ZKsync compared with other scaling approaches

ZKsync differs from optimistic rollups mainly in how correctness is established: it proves every batch in advance, while optimistic designs such as Arbitrum, Optimism and Base assume correctness and rely on a fraud proof window. It also differs from Starknet, another ZK-rollup, in its virtual machine and language choices.

Network typeCorrectness mechanismNative withdrawal timeDeveloper language
ZKsync EraValidity proofs (SNARK-wrapped STARK)HoursSolidity, Vyper
StarknetSTARK validity proofsHoursCairo
Optimistic rollupsFraud proofs after a challenge periodAbout seven daysSolidity
ValidiumValidity proofs, data kept off-chainHoursVaries
SidechainOwn validator set, no L1 proofsBridge-dependentSolidity
ZKsync and neighboring Layer 2 designs

The main advantage of the ZK approach is faster trust-minimized withdrawals and stronger guarantees against invalid state. The main disadvantages are proving hardware costs and greater engineering complexity, which historically made ZK-rollups slower to reach full EVM equivalence than optimistic rollups.

The ZK Stack and interconnected ZK chains

The ZK Stack is an open-source framework that lets teams launch their own ZK chains, which are appchains sharing the ZKsync proof system and settlement contracts on Ethereum. Each chain can customize its gas token, sequencer and data availability choice, including a validium mode that stores data off Ethereum for lower cost.

Chains in this network are designed to share a common bridge and settlement layer, with the long-term goal of native interoperability in which assets and messages move between ZK chains without third-party bridges. The approach resembles a modular blockchain architecture, where execution, settlement and data availability can be combined in different ways.

Governance passed to a token-holder structure after the ZK token was distributed in 2024, with security councils retaining emergency powers over upgrades. Users should understand that upgradeable contracts remain a trust assumption until upgrade delays and decentralization goals are fully met.

Limitations and common misconceptions about ZKsync

ZKsync inherits Ethereum security for state validity, but not every component is decentralized. Several practical limitations matter for users and builders, and some popular claims overstate what the network guarantees.

  • Centralized sequencing: a single operator orders transactions, so censorship resistance depends on L1 escape mechanisms rather than a decentralized sequencer set.
  • Not identical to Ethereum: compiler and opcode differences mean that contracts relying on exact bytecode behavior require separate testing.
  • Finality has layers: a soft confirmation in about one second is not the same as Ethereum-level finality, which arrives only after proof verification.
  • Zero knowledge does not mean privacy: ZKsync uses proofs for succinct verification, and transaction data remains publicly visible.
  • Upgrade risk: contract upgrades controlled by governance or councils remain a residual trust assumption.

Understanding it simply

Ethereum is secure but busy, so using it directly can be slow and expensive. ZKsync works like an express lane beside the main road. It handles thousands of transactions on its own, then hands Ethereum a short mathematical receipt proving that all of them were done correctly.

Ethereum checks only the receipt, not every transaction, which is far cheaper. The key idea is that users get lower fees with Ethereum confirming the results. The term zero-knowledge refers to the proof technique, not to hiding information, so activity on ZKsync is still public.

Applied in practice

A small online game studio wants players to own in-game items as tokens and trade them frequently, but on Ethereum mainnet each trade could cost several dollars during busy periods. The studio deploys its Solidity contracts on ZKsync Era after running its full test suite against the ZKsync compiler and fixing two functions that depended on precise gas values.

The studio also uses native account abstraction and a paymaster so that new players can sign up with a smart contract wallet and play without first buying ETH. Trades confirm in about a second, and typical fees fall to a few cents or less, depending on Ethereum blob prices.

The outcome is a game economy where thousands of daily trades remain affordable, while the final state of every item is still secured by proofs verified on Ethereum.