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

  • Crypto trading ecosystem LazyBear completes strategic financing of 4 million USDT

    The cryptocurrency trading ecosystem LazyBear announced the completion of a strategic financing of 4 million USDT, with participation from Gogeko Labs, DWF Labs, Shadow Labs, Salad Labs, Bees Network, REI Network, IBIT, Crypto Bullish, SYNBO Protocol, Bazaars, Sypool, Bitcoin Gbox, GemX Crypto, Wikibit, and others. It is reported that LazyBear is a cryptocurrency trading ecosystem for retail traders, committed to providing users with an industry-leading, low-fee, inclusive, and enjoyable trading experience.

  • Tether Invests $200M in Majority Stake of Brain-Computer Interface Company Blackrock Neurotech

    Tether's venture capital division, Tether Evo, has invested $200 million to acquire a majority stake in Blackrock Neurotech, a company that develops medical devices powered by brain signals to aid those impacted by paralysis and neurological disorders. The investment will fund the roll-out and commercialization of the devices and research and development purposes. Tether, the issuer of stablecoin USDT, has recently established four divisions to expand beyond stablecoin issuance and believes in nurturing emerging technologies with transformative capabilities. Paolo Ardoino, CEO of Tether, stated that Blackrock Neurotech's brain-computer-interfaces have the potential to open new realms of communication, rehabilitation, and cognitive enhancement.

  • Turnkey Raises $15M Series A Funding to Expand Wallet Infrastructure for Crypto Developers

    New York-based Turnkey has secured $15m in Series A funding led by Lightspeed Faction and Galaxy Ventures, with participation from Sequoia, Coinbase Ventures, Alchemy, Figment Capital, and Mirana Ventures. The company, founded by the team behind Coinbase Custody, offers a wallet infrastructure that enables developers to build anything that involves a wallet or cryptographic transaction. Turnkey plans to use the funds to expand operations and development efforts, and has already integrated with companies including Alchemy, Dynamic, Goldfinch, Halliday, Thunder Terminal, and Kinto. The product suite offers embedded and smart wallet services, biometric passkey logins, and seamless onboarding experiences for users.

  • Thai regulator to crack down on deceptive cryptocurrency ads

    Cryptocurrency advertisements that contain false, exaggerated, distorted, concealed, or misleading information violate Thai regulations. Regulatory agencies in major cryptocurrency markets have also taken similar measures to minimize investment losses in cryptocurrencies. For example, the UK Financial Conduct Authority (FCA) issued 450 illegal cryptocurrency advertising alerts in 2023 alone. In addition, in November 2023, the Spanish National Securities Market Commission, the main securities market regulatory agency, condemned fraudulent cryptocurrency asset promotion activities on X and reiterated the company's obligation to comply with local laws. The Thai Securities and Exchange Commission reminded cryptocurrency exchanges to include appropriate warnings about investment risks and to avoid attracting new users through special promotions. He warned that violating the above guidelines would result in "legal punishment".

  • Russia to impose cryptocurrency restrictions, exempting miners and central bank projects

    Russia will implement cryptocurrency restrictions, exempting miners and central bank projects. Starting from September 1st, Russia will impose strict restrictions on the circulation of cryptocurrencies such as Bitcoin, only allowing the issuance of digital financial assets within its jurisdiction. Anatoly Aksakov, Chairman of the Financial Market Committee of the State Duma, led this initiative. This is part of a wider government effort to control the cryptocurrency ecosystem in the face of escalating geopolitical tensions. Aksakov stated that the upcoming legislation aims to restrict non-Russian cryptocurrency transactions to strengthen the dominance of the ruble. Meanwhile, recent reports indicate that Russian entities have used cryptocurrencies, particularly Tether's USDT, to purchase key components for military technology.

  • Ethereum stablecoin transaction volume exceeds $1 trillion so far in April, setting a new record

    On April 29th, The Block data shows that as of April 28th, the trading volume of stablecoins on the Ethereum blockchain reached a record high of $1.08 trillion in April, with DAI trading volume ranking first at $578.07 billion, followed by USDC at $268.15 billion in second place, and USDT at $198.62 billion in third place.

  • Shenyu: Up to one billion users' cloud input methods may have leaked input content. Please take immediate measures to reduce the risk.

    On April 29th, Cobo co-founder and CEO Shen Yu wrote on X platform that the cloud input method used by up to one billion users may have leaked input content. If you have entered mnemonic words or other sensitive information through any of the following cloud input methods, please take immediate measures to reduce the risk.

  • EU member states prepare to enforce landmark crypto law, MiCA

    The European Union is set to enforce MiCA, a crypto law that mandates national regulators to license and supervise service providers. While the regulation is EU-wide, countries can implement slightly different technical standards that crypto firms must adhere to. MiCA's specialized rules for stablecoin issuers will take effect in a few months, followed by licensing and other requirements for crypto firms broadly in December. Each jurisdiction must transpose the EU regulation into local law, select which of their regulators will oversee crypto, and prepare to authorize token issuers and other service providers. Regulators are facing challenges in implementing the new legislation, particularly in terms of licensing requirements, and each country's crypto industry has its own concerns about implementation and proposed laws.

  • The total open interest of BTC contracts on the entire network dropped to $29.83 billion

    According to Coinglass data, the total open position of BTC futures contracts on the entire network is 478,180 BTC, equivalent to 29.83 billion US dollars.

  • An independent Bitcoin miner obtained the entire 3.125 BTC block reward by verifying block 841,286

    On April 29th, independent mining pool ckpool's software engineer and administrator Con Kolivas posted on social media that a miner had mined the 282nd independent block in Bitcoin history. The miner's computing power at the time was about 120PH, which is equivalent to about 0.12 EH, with an average of about 12 PH per week, accounting for about 0.02% of the total network hash rate.