Cointime

Download App
iOS & Android

ZK-Rollups: A Revolutionary Scaling Approach

Validated Project

ZK-Rollups’ technology offers a particular transaction validation mechanism along with other advanced features.

The development of Web3, coupled with the growing popularity of dApps, are putting pressure on the existing networks, prompting the development of scaling solutions. Among the latter zero-knowledge rollups (ZK-Rollups) are considered most promising.

Scaling solutions, known as Layer 2 chains (L2s), are designed to solve the scalability problem of Layer 1 (L1) networks, like Ethereum, by handling transactions off the mainnet. While depending on L1 for final transaction settlement, they aim to offer users greater throughput, lower gas fees and higher transaction speed. Rollups rely on rolling up multiple transactions into batches on L2 and then publishing them to the main network. There are two common types of rollups, Optimistic Rollups and ZK-Rollups. The examples of top Optimistic Rollups include Optimism and Arbitrum. Speaking of ZK-Rollups, zkSync Era is currently one of the leading projects. Among other notable players are Polygon’s ZK Rollups and Starknet. Both Optimistic and ZK-Rollups share L2’s transaction handling principle. Meanwhile, through its approach to the validation process, the latter offers users a number of additional benefits.

The advanced validation approach and fast withdrawal

Optimistic Rollups rely on fraud proof based on the assumption that all transactions submitted to L1 are legitimate. Hence, they are “optimistic.” After a user submits a withdrawal request, a validator needs to check the state of the chain to provide fraud proof. To detect incorrectly calculated transactions, the fraud proof uses a binary search between two parties to find where exactly in a block they disagree. The whole process can take multiple days, leading to a long withdrawal time.

By contrast, ZK-Rollups use zero-knowledge proofs (ZKPs) — a computationally intense and promising approach to transaction verification. L2 transactions are batched into a proof — a cryptographic mechanism — to automatically provide an L1 proof that computations on L2 were made correctly. This algorithm is based on the principle of encrypting and validating the result of computation without being able to “unroll” it to reveal the original data. So there is no need to check all the transactions, since the encryption algorithm has already provided the final correct result along with validation.

The generated proof is then submitted to the main chain and validated by the L1 network’s nodes. This approach offers both enhanced security and instant withdrawal time, since it optimizes the data shared between layers and allows for faster verification and higher throughput.

Transaction fees of ZK-Rollup proof systems

ZKPs come in the form of two proof systems, SNARKs and STARKs — Zero-Knowledge Succinct Non-Interactive Argument of Knowledge and Zero-Knowledge Scalable Transparent Argument of Knowledge, respectively.

ZK-SNARKs rely on a trusted setup to create private transactions. The system has been widely adopted in crypto transactions and other DeFi areas. For example, the privacy of the Zcash coin is derived from zk-SNARKs. One reason for the technology’s growing adoption is its capability to generate proof without disclosing much data. A notable example of a rollup built on the SNARK platform is zkSync Era.

ZK- STARK’s computations are simpler and not as expensive, and they don’t need a trusted setup, but the size of the generated proofs is larger. One of the well-known ZK-Rollups using ZK-STARK is Starknet.

The two systems differ in their cost validation approach. With ZK-SNARK, the gas required for validating the proof doesn’t change, no matter how complex the transaction is. By contrast, ZK-STARK uses different amounts of gas depending on the transaction size.

Less gas fee with more ZK-Rollup users

Part of the gas fee goes to publishing on L1, when using all rollups. They can post either the entire calldata or the most current state at the moment of publishing. The latter offers more scalability, since it reduces the size of submitted records (calldata is potentially heavier).

Another key difference is that as long as only the final states are published, the transaction cost decreases with more people using the L2. For example, no matter how many users simultaneously swap through the same protocol, one or ten, the state will be updated only once and then published. But in the former case, one user will pay the entire fee for submitting data to L1, while in the latter, the cost will be split among ten transactions. This feature allows for cheaper transaction execution with increasing ZK-Rollup demand. It appears to be the opposite principle to that of the main network: the more users, the cheaper gas. Since ZK-Rollups mostly publish the final states, they can boast an unlimited potential for future growth and offer a favorable gas price.

Development of ZK-Rollups projects

One of the rapidly expanding ZK-Rollups is zkSync Era, which is constantly experiencing significant network activity. It became the 4th largest L3 in terms of TVLin just over a month since launch and, according to DeFiLlama, keeps 3rd place among all rollups at the moment of writing with a TVL of $116.67 mln. The company behind zkSync Era, Matter Labs, previously launched zkSync Lite, but, despite the similar name, it refers to a completely different project that does not support smart contracts.

Polygon zkEVM shares the ZK-Rollup technology with zkSync, yet is lagging behind it with a TVL of $2.1 mln. StarkNet and StarkEx, developed by Starkware, are other examples of early ZK-Rollup projects, with StarkNet’s TVL standing at $9.28 mln.

This April, 1inch added zkSyncEra to the list of supported L2s in order to provide users with yet more swapping opportunities and connect them with more liquidity sources.

Read more: https://medium.com/1inch-network/zk-rollups-a-revolutionary-scaling-approach-6331608cf328

Comments

All Comments

Recommended for you

  • UXUY Completes $7 Million Pre-A Round of Financing, with Investments from Binance Labs, Bitcoin Magazine, and Other Institutions

    UXUY, the next-generation decentralized multi-chain trading platform incubated by Binance Labs, announced the completion of a $7 million Pre-A round of financing. Since its establishment, its total financing amount has exceeded $10 million. UXUY is an important builder of the Bitcoin ecosystem, and more than 100,000 traders use Bitcoin Lightning Network services through UXUY. UXUY's current round of financing has received investment from well-known institutions in Asia, North America, and Europe, such as Binance Labs, UTXO Management (Bitcoin Magazine), JDI Ventures, Bixin Ventures, SWC Global, Matrix Partners, CMS Holdings, Dewhales Capital, Comma3 Ventures, Satoshi Labs, YBB Capital, GBV Capital, Web3Vision, Pentos Ventures, NGC Ventures, Alti5, Metalpha, and GSR. The funds raised by UXUY in this round will be used for the construction of the Bitcoin ecosystem infrastructure, and will be committed to promoting the efficient and low-cost trading of Lightning Network Taproot Assets, Ordinals BRC-20, Runes, and other assets. Jordan, co-founder of UXUY, said: "We are pleased to be strategic partners with all investors! This year, we have successfully built a bridge between the Bitcoin Lightning Network and the multi-chain ecosystem. UXUY will continue to promote the use cases and popularization of the Lightning Network in trading scenarios, and make more contributions to the Bitcoin ecosystem." According to RootData, a Web3 asset data platform, UXUY is a next-generation decentralized multi-chain trading platform based on MPC wallets. UXUY actively participates in the construction of the Bitcoin Layer2 ecosystem, fully integrates into the Bitcoin Lightning Network and Taproot ecosystem, provides Lightning Address DID services to users, and becomes an important bridge connecting the Bitcoin and Ethereum ecosystems. As a decentralized multi-chain trading platform, UXUY provides immediate cross-chain trading services for Coin, Token, and Inscription among public chains through the establishment of uPool.

  • Taiwan's administrative agency passed four new anti-fraud laws to bring cryptocurrency traders under control

    It was announced that Taiwan's administrative management agency has passed the "New Anti-Fraud Law" to regulate cryptocurrency traders. In the future, businesses or individuals providing virtual asset services or third-party payment services must complete anti-money laundering measures and register their services or log in. Failure to do so may result in a maximum of 2 years in prison or a fine of up to NT$5 million. Businesses or individuals outside of Taiwan providing virtual asset or third-party payment services must register their companies or branches according to company law and complete anti-money laundering measures and service registration or login. Otherwise, they are not allowed to provide virtual asset services or third-party payment services in Taiwan. Qiu Shuzhen, the deputy chairman of Taiwan's financial regulatory agency, stated that there are currently around 60 to 70 cryptocurrency traders in the market, of which 25 have passed the anti-money laundering review by the financial regulatory agency. In the future, all traders will be required to declare and undergo review, and a cryptocurrency traders' association will be established for legal, administrative, and association management. Accounting professionals will also be enlisted to assist with internal control.

  • EigenLayer TVL falls back to $14.794 billion

    According to DefiLlama data, the total value locked (TVL) in Ethereum's re-staking protocol EigenLayer has fallen below $15 billion, currently at $14.794 billion.

  • The EU is considering including cryptocurrencies in the 12 trillion euro investment market, and its impact may far exceed that of US ETFs

    The European Securities and Markets Authority (ESMA) is consulting with the investment product advisory industry and experts on whether cryptocurrency assets should be included. This move could open up a broader market for cryptocurrencies, far exceeding the market size of spot Bitcoin ETFs. The plan aims to expand the scope of UCITS (EU Transferable Securities Collective Investment Scheme), with the UCITS market reaching as high as €12 trillion. If successful, this would be a key step in mainstreaming cryptocurrency assets in Europe.

  • SlowMist: The hacker who stole 1,155 WBTC may be from Hong Kong

    According to SlowMist analysis , the IP address associated with the theft of 1155 WBTC has been traced to Hong Kong (VPN use cannot be ruled out). Earlier reports indicated that a certain address was suspected to be a victim of phishing attacks and lost 1155 WBTC, worth 71 million USD. Subsequently, the fraudsters sold all 1155 WBTC and exchanged them for 22960 ETH, and used a large number of wallet addresses to send and launder the funds.

  • Web3 game developer Seeds Labs completes $12 million seed round of financing, with participation from Solana Foundation and others

    According to Cointelegraph, Web3 game developer Seeds Labs has announced the completion of a $12 million seed round financing, with participation from Avalanche's Blizzard Fund, Solana Foundation, Krust, Hashkey Capital, UOB Ventures, Signum Capital, IVC, and Emoote.It is reported that Seeds Labs, a Solana ecosystem game infrastructure developer, was established in 2021, and its Web3 game Bladerite is scheduled to be released this month.

  • The total subscription volume of Hong Kong Bitcoin ETF yesterday was 101.6, and the Ethereum ETF showed net redemption for two consecutive days

    The Hong Kong Bitcoin spot ETF had a net purchase of 101.6 bitcoins and a total holding of 4350 bitcoins on May 8th. The daily trading volume was 2.67 million US dollars, and the total net assets were 270 million US dollars. The daily BTC purchase came from Bosera HashKey and Huaxia Bitcoin ETF.

  • Trump announces he will accept cryptocurrency donations for his presidential campaign

    Donald Trump announced that he is accepting cryptocurrency as a form of donation for his presidential campaign.

  • Uniswap founder: Founders and VCs need to stop valuing startups and pre-coin crypto projects at more than $1 billion

    Uniswap founder Hayden Adams posted on social media that cryptocurrency founders and venture capitalists need to stop valuing projects at over $1 billion in the early stages of development and before tokens have been released, until they are truly worth that valuation. Building something worth 7-9 figures is an incredible achievement, and not every project needs to be a unicorn at launch. Additionally, Hayden Adams said, perhaps it's naive, but I think raising funds as a founder at a fair valuation (real talent wants upside) and investing at a fair valuation as a VC (LPs want upside) can make more money. It's just harder to do it that way.

  • Trump: The US will stop being hostile to cryptocurrencies and embrace them

    According to Watcher.guru on X platform, former President Donald Trump stated that he will stop the hostility towards cryptocurrency in the United States and embrace it.