<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Neeraj Bagdia on Medium]]></title>
        <description><![CDATA[Stories by Neeraj Bagdia on Medium]]></description>
        <link>https://medium.com/@neerajbagdia?source=rss-e95697b04bea------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*7EO93NG4biysXqiG.jpg</url>
            <title>Stories by Neeraj Bagdia on Medium</title>
            <link>https://medium.com/@neerajbagdia?source=rss-e95697b04bea------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 19:12:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@neerajbagdia/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Zero-knowledge proofs and Ethereum Layer-2 solutions]]></title>
            <link>https://medium.com/@neerajbagdia/zero-knowledge-proofs-and-ethereum-layer-2-solutions-38411b65138b?source=rss-e95697b04bea------2</link>
            <guid isPermaLink="false">https://medium.com/p/38411b65138b</guid>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[crytpocurrencies]]></category>
            <category><![CDATA[zero-knowledge-proofs]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Neeraj Bagdia]]></dc:creator>
            <pubDate>Thu, 20 Oct 2022 11:03:02 GMT</pubDate>
            <atom:updated>2022-10-20T11:03:02.885Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>What are Zero-Knowledge proofs?</strong></p><p>A ZK proof is a way for one party, the prover, to convince another, the verifier, that a particular statement is true while the prover refrains from disclosing full information apart from the fact that the statement is indeed true.</p><p>Zero-knowledge proofs provide a safe way to authenticate data required for cryptocurrency transactions while keeping user data hidden. ZKPs employ straightforward algorithms and don’t necessitate communication between the parties participating in transactions, in contrast to other encryption methods.</p><p>For instance, acquiring health insurance by showing proof that we have good health and not sharing our entire health records. Or getting a loan without showing the entire credit history, but just a good credit score. Zero-knowledge proofs can help in such situations to obtain a loan by proving that you have a good credit score without revealing it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*sHSxvosIMA0oH6J4" /></figure><p><strong>What is a ZK-Rollup and how it is helping Ethereum scale?</strong></p><p>ZK-rollups are layer 2 scaling solutions that increase throughput on the Ethereum Mainnet by off-chaining computation and state storage. ZK-rollups are able to handle thousands of transactions in a single batch and send minimal data to the Mainnet. The data posted to the mainnet should specify changes to be made to the Ethereum state and cryptographic proof that those changes are correct.</p><p>ZK-rollups increase throughput on Ethereum’s foundation layer by moving computing off-chain, but transaction data compression provides the true scaling gain. Because of its limited block size, Ethereum can only handle a certain amount of transactions in each block. ZK-rollups dramatically enhance the number of transactions executed per block by compressing transaction-related data.</p><p>Since ZK-rollups don’t have to post all the information necessary to validate each transaction, they can compress transaction data more effectively than optimistic rollups. They only have to post the minimal data required to rebuild the latest state of accounts and balances on the rollup.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Qp-jjPP6IV8WANnu" /></figure><p><strong>Core components of ZK rollups:</strong></p><ol><li><strong>On-chain contracts</strong>: The ZK-rollup protocol is managed via smart contracts on Ethereum. This comprises the main contract, which keeps track of deposits, keeps track of rollup blocks, and keeps track of state modifications. The verifier contract, a different on-chain contract, validates zero-knowledge proofs provided by block producers. As a result, Ethereum acts as the foundational layer of the ZK-Rollup.</li><li><strong>Off-chain virtual machine (VM)</strong>: While the ZK-rollup protocol runs on Ethereum, transaction processing and state storage take place on a different virtual machine that is not a part of the Ethereum Virtual Machine. This off-chain VM acts as the secondary layer for the ZK-rollup protocol and provides the environment in which transactions on the ZK-rollup are executed. The accuracy of state transitions in the off-chain VM is guaranteed by validity proofs validated on Ethereum Mainnet.</li></ol><p><strong>Benefits of ZK-Rollups:</strong></p><ol><li>Reduced withdrawal times from 1–2 weeks to a few minutes.</li><li>Enable fast transaction confirmations and exits in practically unlimited volumes.</li><li>Stores data needed to recover the off-chain state on L1, which guarantees security, censorship resistance, and decentralization.</li><li>Better data compression can help reduce the costs of publishing calldata on Ethereum and minimize rollup fees for users.</li><li>Validity proofs ensure the correctness of off-chain transactions and prevent operators from executing invalid state transitions.</li><li>Introduce privacy by default.</li></ol><p><strong>Projects building ZK-rollups</strong></p><p><strong>ZkSync</strong>- zkSync is built on ZK Rollup architecture. ZK Rollup is an L2 scaling solution in which all funds are held by a smart contract on the mainchain, while computation and storage are performed off-chain. For every Rollup block, a state transition zero-knowledge proof (SNARK) is generated and verified by the mainchain contract. This SNARK includes proof of the validity of every single transaction in the Rollup block. Additionally, the public data update for every block is published over the mainchain network in the cheap calldata.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hNnKJGJVqXRXblX4" /></figure><p><strong>StarkNet</strong>- StarkNet is a permissionless decentralized ZK-Rollup operating as an L2 network over Ethereum, where any dApp can achieve unlimited scale for its computation, without compromising Ethereum’s composability and security.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lWvS35XhvTRW--ow" /></figure><p><strong>Loopring</strong>- Loopring is the first scalable DEX protocol built with zkRollup for Ethereum. Using Loopring, people can build high-performance, orderbook-based, decentralized exchanges that do not take custody of users’ crypto assets. Due to the use of zkRollup, a layer-2 scalability solution, Loopring is capable of settling more than 2,000 trades per second on Ethereum.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CwlYMoa7LlMLF1f-" /></figure><p><strong>ZKSpace</strong>- Based on ZK-Rollups technology, L2 Labs has launched ZKSpace, a full-featured protocol of Layer-2, including DEX, payment, and NFT function, and it transfers all tokens (including protocols ERC20 and ERC721) onto Layer-2 using ZK-Rollups technology. The consistent state of Layer1 and Layer2 is guaranteed based on continuously generated zero-knowledge proofs, so as to make all token swaps, transfers, and NFT minting and trading on Layer 2, realizing real-time trading with low Gas fees (no need to wait for one-block confirmation).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*84MRyUAVSnashaHV" /></figure><p><strong>Polygon zkEVM</strong>- Polygon zkEVM is the first zero-knowledge (ZK) scaling solution that’s fully compatible with Ethereum: all existing smart contracts, developer tools, and wallets work seamlessly. The zkEVM harnesses the power of ZK proofs to reduce transaction costs and massively increase throughput, all while inheriting the security of Ethereum L1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/0*IY2OviHXNcOIItqf" /></figure><p><strong>Scroll</strong>- Scroll aims to scale blockchains so that it can be accessible to billions of users. This requires making them both scalable and cheap enough to be accessible for all as well as being secure and easy to use for the ordinary user while striving to achieve the same levels of decentralization and censorship resistance as base layer Ethereum itself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5sdxUUokCN3fkb6L" /></figure><p><strong>The Rise of ZK Rollups</strong></p><p>As Blockchain adoption continues to grow I believe ZK-rollups will definitely prevail in the medium to the longer term when compared to Optimistic Rollups as they reduce costs, increase scalability, and introduce privacy by default which is definitely going to change the way we use Ethereum today. All current Ethereum dapps and services will be able to seamlessly migrate to ZK Rollups once they are completely developed without any hassle. Really excited about the future of Ethereum and Web 3.0.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=38411b65138b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>