15 May 2022
5 min read

What are ZK-Rollups?

Welcome to Part 1 of our new Back to Basics series, where we will break down the fundamentals behind ZKX. We're starting with ZK-Rollups — the underlying technology that powers our permissionless protocol.

What are ZK-Rollups

They say the future of Ethereum will be built on ZK-Rollups. Cheaper, faster, and secure!

Many people believe in this view, and according to Vitalik, Layer 2 scaling and privacy are here to stay.

'ETH2 scaling for data will be available before ETH2 scaling for general computation.' In his tweet, ETH's main man insinuated that rollups would be the dominant scaling paradigm for at least a couple of years.

Many of us have heard the term 'ZK-Rollups' before alongside 'Ethereum' and 'Scalability,' but what exactly are they? Let's take a deep dive into the world of Layer 2 scalability, starting with the origins:

L1 and L2s

DiversiFi Tweet

Layer 1 is the underlying architecture of the main blockchain, i.e., Ethereum. It is the foundation upon which L2 networks are built. Layer 2 is an extension of Ethereum, which provides scalability through faster, cheaper transactions without compromising the security of the main-chain.

Instead of directly putting all activities on L1 and clogging the network, you can now conduct your activities off-chain on L2. A smart contract on-chain processes withdrawals and deposits and guarantees that everything happening off-chain is following the rules of the mothership!


  • L1: Bitcoin, Ethereum
  • L2: Lightning Network, Polygon, Arbitrum, Optimism, and StarkWare

Ethereum intends to use both Layer 1 (sharding) and Layer 2 (rollups) solutions to solve the scalability trilemma. Smart!

Scalability Trilemma
Scalability Trilemma

How does Layer 2 work?

Layer 2 interacts with Ethereum (Layer 1) and takes the transactional burden off of it. Layer 2 then posts finalized proofs back to the main-chain. By removing this transaction load from Layer 1, the base layer becomes less congested, and the ecosystem becomes more scalable. A perfect example of this is how sending a regular Ethereum transaction can run into hundreds of dollars during times of congestion. Layer 2 serves to clear this congestion and keep transaction fees low.


  1. L1 — Decentralization, Security, and Data availability
  2. L2 — Scalability, Speed, and Cost-effective

How Does Layer 2 work?

Now that we’ve got the origin story, let’s talk about Rollups!

Rollups are the preferred Layer 2 solutions for scaling Ethereum. Rollups bundle hundreds of transactions from L1 off-chain, dispersing transaction fees among all users in the rollup. By posting transaction data back to L1, rollups take advantage of the security of Ethereum.

There are two different types of rollups: optimistic and zero-knowledge.

There are two different types of rollups: optimistic and zero-knowledge.

Watch this Finematics video for a visual explanation of Rollups.

Rollups Explained

If you want to figure out how to move your funds from L1 to L2 and learn about bridging, you can refer to Paper Ape's blog on What does Layer 2 mean?

A deep dive into Optimistic Rollups vs ZK Rollups

Optimistic vs ZK Rollups

ZK rollups are considerably quicker and more scalable than Optimistic rollups, and there are many 'betting' on ZK Rollups' growth. One such advocate is polynya, who offers a long-term view of their potential in the tweet below.

polynya tweet

Popular L2 Projects by Total Value Locked (as of 15th May 2022)

  1. Arbitrum — $2.69B
  2. dYdX — $952M
  3. Optimism — $477M
  4. Loopring — $203M
  5. Boba Network — $94. 02M
  6. zkSync — $77.52M
  7. StarkNet — $186K
  8. ZKX — Coming Soon

Presenting ZKX

Presenting ZKX
Trade Perpetual Swaps like never before

ZKX is an upcoming open-source permissionless swap protocol that enables trading derivatives of assets on StarkNet with built-rewards mechanisms, liquidity provisioning, and complex trading strategies.

Our simple trading interface is powered by StarkNet, StarkWare’s ZK-Rollup. We’re talking low fees, instant settlements, fast withdrawals on the platform, and the support of the ever-growing StarkWare ecosystem.

Don't forget to join our waitlist for early access to platform updates —

Join our waitlist