Research

The fundamentals of zkSync

Article hero image

This research piece has been written by Michael Nadeau from The DeFi Report, in collaboration with Token Terminal.

Background & progress to date

Alex Gluchowski is the CEO, Co-Founder, and “face” of Matter Labs — the development team behind zkSync — an upstart zero-knowledge Ethereum rollup/L2.

The German-based developer group is recognized as one of the early proponents of Ethereum rollups — having launched the very first zero-knowledge prototype in 2019 shortly after establishing the development team.

Per Gluchowski, the thesis was (and still is) that Ethereum would require scaling solutions in the near term. The team concluded that entities putting lots of value onchain will always pick the platform that offers the highest security — with Ethereum being #2 in this category (behind only Bitcoin). For this reason, it didn’t make sense to build a competing L1. Rather, the team decided that the next wave of app developers will seek a rollup such as zkSync — since it offers the same security guarantees as Ethereum L1 with the added benefits of privacy, lower costs, and higher throughput.

Having launched multiple versions of the protocol, conducted robust testing, several internal and external security audits, public contests, and bug bounties — the Matter Labs team launched its mainnet to the public on March 24, 2023 (just 9.5 months ago).

The team is now up to 116 employees (per LinkedIn) and has become the fastest-growing Ethereum rollup over the last 6 months.

Let’s go onchain to check the progress to date:

Core developers & transaction counts

  1. zkSync is #1 in terms of core developers when compared to Arbitrum, Base, OP Mainnet and Starknet — it’s main competitors.
  2. They are also #1 in terms of transaction counts over the last 180 days.

Takeaway: It’s really hard to attract and inspire a talented team of core developers to build a blockchain. It’s even harder to get other developers to come in and build apps “on top.” And it’s even harder to get users to come in and use those apps.

This data tells us that zkSync is seeing early success on all three fronts. Stay tuned as we look at user retention figures later in the report.

Bridged assets

The total value deposited to zkSync’s bridging contracts is currently $591m. With that said, in total, the L2 has only $167m of value locked within project smart contracts — with SyncSwap the leader at $48m today (per DeFiLlama).

Active users

Below we can visualize zkSyncs active users vs Arbitrum, Optimism (L2), Ethereum, Solana, and Avalanche (L1s):

As we can see, despite its nascent stage, zkSync is currently the leader amongst the heavyweights. Impressive indeed.

Product: What makes zkSync different?

As ever, our goal is to keep these sections as high-level as possible — so that you can stay out of the technical weeds, yet come away with clear takeaways.

To provide a quick primer — Ethereum rollups (L2s) are designed to scale the network with faster throughput and lower costs by batching transactions off-chain — and then anchoring proofs of the data on the L1.  In doing so, rollups inherit the security guarantees of the more decentralized and secure L1 — while solving the scalability constraints of the base layer. This then enables more interesting use cases for developers to build consumer applications — leveraging the rollup/L2 for execution, and the L1 for security/settlement/data availability.

Our recent coverage of Ethereum L2s (Base, Arbitrum, and Optmism), has been largely focused on optimistic rollups.

zkSync is taking a different approach toward scaling Ethereum. They are doing it with a zero-knowledge rollup.

Below are some of the primary differences between zero-knowledge rollups and optimistic rollups.

Security guarantees: in both cases, security is derived from Ethereum because L2 rollups offer trustless bridges and do not have their own consensus — which differs from side chains such as Polygon (which has its own validator set and uses the MATIC token to pay for transactions).

Transaction verification: Optimistic rollups use “fraud-proofs.” In essence, every transaction “optimistically” assumes all transactions are valid. However, there is a 7-day “fraud-proof” period where anyone can challenge the validity of the transaction, and is economically incentivized to do so.

Zero-knowledge rollups use “validity proofs” instead.

Timing of transaction verification: 7 days for optimistic rollups vs nearly instant for zero-knowledge rollups. Why? There is no “fraud-proof” period for zero-knowledge rollups.

Privacy of data: As the name “zero-knowledge” would imply, when zk rollups such as zkSync anchor proofs of the data to Ethereum, only the “proof” is visible — and not the transaction details. With that said, transactions initiated on zkSync (at the L2 execution level) are transparent, just like Ethereum today. Anyone can see the sender, the recipient, and all the details of the transaction through a zkSync transaction explorer. Per the protocol’s governance docs, the team is focused on building out scalability first and will be implementing private transactions later.

Efficiency of transactions: In terms of the gas/data costs, zero-knowledge rollups use less gas at the L1 level since only the proof of the data is sent. Optimistic rollups post the entire transaction data to the L1 — making them more costly.

Capital efficiency: Because there is no 7-day fraud-proof period, users can withdraw funds almost immediately with zk proofs vs the significant wait for optimistic rollups today.

Transaction costs: Zk rollups cost more at the L2 level since they are more complex/technical — making the computation more expensive than optimistic rollups today.

Complexity to build: From a technical/math perspective, zk rollups are more difficult to build than optimistic rollups today.

Takeaways:

  1. Both technologies are relevant.
  2. Strong teams are building zk solutions as well as optimistic solutions.
  3. We expect consensus to eventually form amongst app developers in terms of which types of applications should be built on zero-knowledge rollups vs optimistic rollups.
  4. We haven’t seen anything to indicate clear consensus has formed in the market just yet — an indication that we are still in the sandbox/experimentation phase of innovation.
  5. Depending on who you speak to, you’ll hear differing opinions from various developers and engineers as to which technology will be more important in the years to come.
  6. At the end of the day, successful teams will out-execute their competition over a very long period. In some cases, optimistic rollups will incorporate zk rollups and vice versa — as we are already seeing with Optimism. More on that in the section that follows.

Let’s go back onchain to see which applications are driving the most gas fees, transactions, and users on zkSync.

Top projects by 180-day gas fees

  • SyncSwap is the largest DEX with $48m in value locked currently and about $15-20m in daily trading volume. The protocol has stiff competition within the ecosystem as Maverick Protocol, Mute.io, iZUMI Finance, SpaceFi, Pancakeswap, Odos, and Velocore are all competing to control the DEX market on zkSync.
  • Circle is the company behind USDC - the second-largest dollar-backed stablecoin.
  • Dmail Network is an AI-powered decentralized communication infrastructure built to provide encrypted emails, unified notifications, and targeted marketing across multiple chains. It has 4.82 million users to date.
  • Reactor Fusion and Era Lend are nascent decentralized lending protocols.

Takeaway:

zkSync is a DeFi chain right now. We think this makes sense as DeFi protocols are typically the first to market on new blockchains — creating foundational infrastructure for the build-out of the rest of the ecosystem. We expect to hear about many new projects building on zkSync this year.

One challenge for DeFi in its current onchain state is lack of privacy — which makes it impossible for institutions to enter the space today. If zkSync can make all transactions private, we think it could give them a first-mover advantage for financial use cases.

We should also note that Optimism (optimistic rollup) is currently moving forward with two proposals to add zk-proofs natively — which would revamp the tech stack and add privacy to the OP Mainnet. We understand that Coinbase is pushing for this as Base is currently built on the OP stack. Per Jesse Pollak (protocols lead at Coinbase) expects to see multiple implementations of zk rollups included in the OP stack in 2024 and has hinted that starting with optimistic implementations was simply the path of least resistance initially.

As ever, these systems continue to evolve and expand.

What we see today will be different tomorrow. The teams that can consistently iterate, pivot, and execute will ultimately be the long-term winners in our opinion.

Top projects by 180-day active users

zkSync Name Service is the only new protocol when compared to gas fees above. Similar to Ethereum Name Service — the protocol enables human-readable wallet addresses/web3 domains.

Note that ENS is building a general-purpose layer 2 bridge that makes cross-chain interoperability possible for both ENS and other applications that need to be able to retrieve data from a variety of sources (including Optimism, Abritrum, Starknet, zkSync, etc). Therefore, it’s unclear if a naming service such as zkSync Name Service will be needed long-term.

Top projects by 180-day transactions

Transaction volumes on zkSync are high. For reference, Uniswap did 22.2 million transactions on Ethereum over the last 180 days (compared to 18.9m for Syncswap on zkSync).

Circle did 4.2m transactions on Ethereum over the same period and 8.4m on Arbitrum and Optimism combined (compared to 18.8m on zkSync!).

User Retention

We’ve seen some L2s gain users due to token incentives and airdrops — which is not the same as organic product/market fit.

Does zkSync fall into this category?

Given that zkSync does not have a token just yet, many users will “farm for airdrops” by bridging assets and engaging with various projects. We can typically identify these “mercenary users” in the cohort data available via Token Terminal Pro.

Let’s have a look at user retention cohorts over the last 10 months:

The data here reveals a pretty sticky user base for those onboarded at the beginning of 2023. A quick rundown:

  • 281k users onboarded in February with 33.1% remaining as monthly active users in December.
  • 552k users onboarded in March with 32.9% still using zkSync through December.
  • 1 million users were onboarded in April with the network retaining 22.3% through year end.

Between 100k and 700k users have been onboarded each month since April. Retention rates are now dropping slightly compared to earlier in 2023, but these are still impressive figures — especially when we consider the competition.

Speaking of competition. Here’s Arbitrum (optimistic rollup) — which retained only 2.8% of its users over the same 10-month period.

Next we have OP Mainnet (optimistic rollup) which had 3.8% of its users still interacting with its smart contracts 10 months after onboarding.

Up next is Starknet (a zero-knowledge Ethereum rollup) — with 17.8% user retention in December from the February 2023 cohort. With that said, user retention is dropping with each subsequent onboarding month.

Finally, below we have Ethereum — with just 2.0% of users retained as they move to L2. Keep in mind that even when users leave Ethereum for the L2, their economic activity is still ultimately anchored to the L1. At least for now as new data availability solutions could change this in the future (a topic we’ll explore further in the Q4 update of The Ethereum Investment Framework).

Summary: 10-month user retention

  • zkSync = 33.1%
  • Arbitrum = 2.8%
  • OP Mainnet = 3.8%
  • Starknet = 17.8%
  • Ethereum =  2.0%

Financials

Impressive numbers given the team launched its mainnet to the public just 9.5 months ago.

Token Economics

Coming soon: zkSync has not yet launched its token or provided details as to allocations, vesting schedules, airdrops, etc.

Market comps

Over the last 180 days, zkSync is number one amongst its peers in terms of:

  • Revenue
  • Average daily active users
  • User retention
  • Transactions/day
  • Core developers
  • Transactions per second

Team

Matter Labs has a total of 116 employees today per LinkedIn.

In terms of code commits, the project has had 95 contributors per Github data — with 20 developers committing code at least 10 times over the last few months as the development focus has shifted to zkSync Era (an updated version of the protocol with EVM compatibility). We can see this shift by observing the project’s Github activity — which is active and fully open-sourced (MIT license).

Prior to zkSync Era:

zkSync Era:

Current job openings:

Matter Labs currently has 18 job openings within the following categories:

  1. Engineering - 8 positions
  2. Marketing - 2 positions
  3. Product - 2 positions
  4. Research - 3 positions
  5. Security - 3 positions

Investors

In total, Matter Labs has raised over $456 million across four rounds.

Series C November ‘22: $200m. The latest round was led by Blockchain Capital and Dragonfly with participation from Andreesen Horowitz, LightSpeed Ventures, and Variant.

Bridge round January ‘22: $200m. BitDAO (a DAO-directed treasury with over $2.6b in its coffers) announced a $200m contribution to the zkSync ecosystem via zkDAO — which is using the funds to help expand the zkSync ecosystem through public goods and infrastructure, security frameworks, and development grants.

We believe this investment round was strategically used to seed many projects on zkSync prior to mainnet launch. As such, when the L2 went live 9.5 months ago it was immediately active — manifesting today in some impressive onchain usage compared to its peers.

Series B November ‘21: $50m. Led by Andreesen Horowitz with participation from its existing investors Placeholder and Dragonfly Capital. New investors included Crypto.com, Consensys, Blockchain.com, Alchemy, and OKEx.

Series A February ‘21: $6m. Union Square Ventures, Andreesen Horowitz, Placeholder, Dragonfly, and 1kx.

Seed September 2019: $2m. Placeholder, Dekrypt Capital, Dragonfly Capital, Hashed Fund, 1kx.

Community

zkSync Twitter: 1.3m followers

Alex Gluchowski Twitter: 29.5k followers

Reddit: 6.7k members

In addition to boasting a large Twitter account, zkSync is well-connected with many influential VC firms and vocal investors on Twitter.

Conclusion

zkSync has a mission-driven team that has demonstrated the ability to innovate and execute over the last 3+ years. The project is well-funded, networked, and backed by some of the most prominent venture capital firms in crypto. Additionally, they were first to market for zero-knowledge rollups and have seen significant onchain activity since launching mainnet just 9.5 months ago.

Optimistic rollups (Arbitrum, Optimism, Base) have largely dominated the discussion as it pertains to Ethereum rollups/L2s — but we are expecting the narratives to shift toward zero-knowledge rollups this year.

When this occurs, we expect to see zkSync capture more of the market’s attention — which could potentially coincide with the launch of the project’s token.


Resources

https://www.linkedin.com/company/matterlabs/people/
https://era.zksync.io/docs/dev/
https://era.zksync.io/docs/reference/
https://www.coindesk.com/business/2022/01/27/matter-labs-bitdao-back-200m-dao-for-zksync/
https://twitter.com/zksync
https://dune.com/x3research/syncswap
https://dune.com/zfreddyy/maverick-protocol
https://www.youtube.com/watch?v=5PSHz93lWVM
https://docs.optimism.io/stack/protocol/overview
https://www.nervos.org/knowledge-base/zk_rollup_vs_optimistic_rollup
https://group.hashkey.com/en/insights/layer-2-explained-zk-rollups#
https://minaprotocol.com/blog/guide-to-rollups-and-minas-place-in-the-landscape
https://www.quicknode.com/guides/web3-fundamentals-security/cryptography/introduction-to-ethereum-rollups
https://chain.link/education-hub/zero-knowledge-proof-projects#
https://docs.zksync.io/userdocs/privacy/
https://www.theblock.co/post/240929/optimism-zk-proof-proposals
https://www.theblock.co/post/240786/coinbases-base-wants-to-have-zk-proofs-alongside-optimistic-rollups
https://docs.ens.domains/dapp-developer-guide/ens-l2-offchain
https://github.com/matter-labs/zksync-era/graphs/contributors
https://github.com/matter-labs/zksync/graphs/contributors
https://jobs.eu.lever.co/matterlabs

The authors of this content, or members, affiliates, or stakeholders of Token Terminal may be participating or are invested in protocols or tokens mentioned herein. The foregoing statement acts as a disclosure of potential conflicts of interest and is not a recommendation to purchase or invest in any token or participate in any protocol. Token Terminal does not recommend any particular course of action in relation to any token or protocol. The content herein is meant purely for educational and informational purposes only, and should not be relied upon as financial, investment, legal, tax or any other professional or other advice. None of the content and information herein is presented to induce or to attempt to induce any reader or other person to buy, sell or hold any token or participate in any protocol or enter into, or offer to enter into, any agreement for or with a view to buying or selling any token or participating in any protocol. Statements made herein (including statements of opinion, if any) are wholly generic and not tailored to take into account the personal needs and unique circumstances of any reader or any other person. Readers are strongly urged to exercise caution and have regard to their own personal needs and circumstances before making any decision to buy or sell any token or participate in any protocol. Observations and views expressed herein may be changed by Token Terminal at any time without notice. Token Terminal accepts no liability whatsoever for any losses or liabilities arising from the use of or reliance on any of this content.

Stay in the loop

Join our mailing list to get the latest insights!

Continue reading

  1. Token Terminal brings Celo's onchain data in front of 300,000 institutional customers
    Token Terminal brings Celo's onchain data in front of 300,000 institutional customers

    Token Terminal brings Celo's onchain data in front of 300,000 institutional customers

    Token Terminal has completed its integration of Celo to enable institutional-grade onchain analytics for the Celo network. This integration improves the accessibility of Celo’s onchain data to enable more informed decision-making for all stakeholders in the ecosystem.

  2. Analyst Coverage – The Rise of The Open Network (TON)
    Analyst Coverage – The Rise of The Open Network (TON)

    Analyst Coverage – The Rise of The Open Network (TON)

    The Open Network (TON) blockchain has gained considerable traction recently and has become one of the more interesting projects this year. From new user growth and network activity, to token distribution and trading volume, TON has achieved new all-time highs in many different areas, and continues to gain momentum.

  3. Changelog #001
    Changelog #001

    Changelog #001

    Welcome to the Token Terminal Changelog. Here, we’ll keep you up to date on the latest data and product updates on our platform. Be sure to follow us on X to stay in the loop on the latest changes.