Woodcut-style illustration of a stylized businessman climbing a ladder to push an upward trending arrow graph line higher
Contact@BetaSyndicate.com 828-361-7464

Zero-knowledge rollups: how zkSync and StarkNet prove batches

Ethereum can provide strong settlement and security, but its limited throughput and fluctuating gas costs make frequent transactions expensive. Zero-knowledge rollups address that constraint by processing activity away from Ethereum, grouping many transactions into a batch, and submitting a compact cryptographic proof that the resulting state is correct.

zkSync and StarkNet use related principles but different proving stacks. Both ask Ethereum to verify mathematics rather than replay every transaction, while their execution environments, virtual machines, proof systems, and data-publication strategies shape how developers and users experience the networks.

The role of a rollup batch

A rollup operator receives transactions, checks signatures and balances, and executes them in an off-chain environment. The resulting changes might include token transfers, smart-contract storage updates, swaps, or account-deployment events. Instead of sending every execution step to Ethereum, the operator commits to a new state root and assembles the relevant activity into a batch.

The zero-knowledge proof demonstrates that the new state follows from the old state under the network’s rules. It does not reveal private transaction details by default; “zero-knowledge” describes how correctness is established, although most public rollups still publish enough transaction data for users to reconstruct state and recover funds.

Ethereum’s verification contract checks the proof and the associated commitments. If the proof is valid, the rollup’s state transition can be accepted without Ethereum independently executing all transactions. This reduces settlement workload while preserving a cryptographic connection to the base chain.

How zkSync turns execution into proof

zkSync Era is designed around a zkEVM-compatible execution model, allowing Solidity-based applications and Ethereum tooling to operate with comparatively limited changes. Its operator collects transactions into L2 blocks and batches, executes them, and records the state differences needed to update accounts, contracts, and balances.

The prover then converts that execution trace into constraints. Those constraints represent operations such as arithmetic, memory access, hashing, signature checks, and Merkle-tree updates. zkSync’s Boojum-based proving infrastructure uses recursive and specialised proof techniques to compress substantial computation into a proof that Ethereum can verify efficiently.

A key distinction is between execution data and proof data. The proof confirms that the computation was performed correctly, while transaction data or state-difference data must remain available according to the rollup’s design. Users need that information to verify the chain independently, rebuild state, and withdraw assets if an operator becomes unavailable.

How StarkNet uses Cairo and STARK proofs

StarkNet uses Cairo, a language and virtual-machine architecture built for proving general computation. Instead of primarily targeting compatibility with the Ethereum Virtual Machine, it represents application logic in a form that can be efficiently transformed into a provable execution trace. Developers can use Starknet-native contracts and tooling, while bridges connect assets and messages with Ethereum.

For a batch, StarkNet records the ordered transactions and executes them against a prior state commitment. The execution trace is converted into an algebraic representation, commonly described through an AIR, or Algebraic Intermediate Representation. A STARK prover then produces a proof that the trace satisfies the required transition rules.

STARKs avoid a trusted setup and rely on hash-based cryptography, which is attractive for long-term transparency and scalability. StarkNet has also used shared proving infrastructure, including SHARP-related mechanisms, to aggregate proofs from multiple computations. Recursion and aggregation can reduce the amount of verification work ultimately presented to Ethereum.

What Ethereum actually verifies

The Ethereum contracts for these systems do not inspect every swap or replay each Cairo or zkEVM instruction. They verify a succinct proof against public inputs, such as the previous state root, the proposed new root, transaction commitments, and data-availability references. If those inputs and the proof match, the batch is eligible for acceptance.

This arrangement creates an important distinction between validity and finality. A valid proof shows that the claimed computation follows the protocol rules. Ethereum finality determines when the accepted commitment becomes difficult to reverse. Temporary delays can still occur while a batch is being formed, proved, submitted, and included on Ethereum.

For Australian users, this timing matters when moving funds between an L2 and an exchange denominated in AUD. A trader in Melbourne may see a transaction completed on zkSync or StarkNet before an Ethereum withdrawal is economically or operationally settled. Network status, bridge rules, exchange cut-off times, and volatile ETH fees all affect the practical result.

The trade-offs for users and builders

Proof generation is computationally demanding, so rollups depend on specialised operators, provers, and carefully engineered circuits. A faulty sequencer may order transactions unfairly or become unavailable, but it should not be able to make an invalid state transition pass a correctly implemented verifier. Decentralisation therefore involves more than publishing a proof: sequencing, data availability, governance, and upgrade controls all matter.

The two ecosystems also present different developer trade-offs. zkSync’s EVM orientation can reduce migration costs for Ethereum applications, although compatibility is not identical in every edge case. StarkNet’s Cairo model can offer a proving-friendly foundation, but teams accustomed to Solidity may need to learn new languages, account abstractions, testing practices, and tooling.

Australian founders building from Sydney, Brisbane, or Perth must also assess compliance, custody, tax records, and customer disclosures rather than treating a low transaction fee as the whole business case. Teams seeking research, publication, or market visibility for a blockchain product can use editorial support while keeping technical claims separate from promotional language.

Proof systems will continue to evolve as hardware improves and recursive aggregation becomes more efficient. For users, the most important questions are practical: which data is published, how withdrawals work, who operates the sequencer, how upgrades are authorised, and whether independent tooling can verify the chain.

A useful rule is to treat the proof as one part of the security model: check the rollup’s data-availability method, bridge design, upgrade governance, and current network status before moving significant funds.