{"id":15239,"date":"2022-06-08T13:01:54","date_gmt":"2022-06-08T07:31:54","guid":{"rendered":"https:\/\/zebpay.com\/?p=15239"},"modified":"2025-01-28T13:06:18","modified_gmt":"2025-01-28T13:06:18","slug":"what-is-a-zero-knowledge-rollup-zk","status":"publish","type":"post","link":"https:\/\/zebpay.com\/in\/blog\/what-is-a-zero-knowledge-rollup-zk","title":{"rendered":"What Is a Zero-Knowledge (ZK) Rollup?"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_66_1 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/zebpay.com\/in\/blog\/what-is-a-zero-knowledge-rollup-zk\/#What_Is_a_ZK_rollup\" title=\"What Is a ZK rollup?\">What Is a ZK rollup?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/zebpay.com\/in\/blog\/what-is-a-zero-knowledge-rollup-zk\/#How_Do_ZK_Rollups_Function\" title=\"How Do ZK Rollups Function?\">How Do ZK Rollups Function?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/zebpay.com\/in\/blog\/what-is-a-zero-knowledge-rollup-zk\/#Conclusion\" title=\"Conclusion\">Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n\n<p>Towards the end of 2020, there was a rise in the application of <a href=\"https:\/\/zebpay.com\/blog\/everything-you-need-to-know-about-nfts\/\" target=\"_blank\" rel=\"noreferrer noopener\">NFTs<\/a>, yield farming, and smart contracts on the Ethereum network. This rise led to the need for faster processing speeds and cheaper transactions. Developers started solving this issue by creating layer 2 blockchains (a secondary framework built on top of an existing blockchain).<\/p>\n\n\n\n<p>One such scalability solution came in the form of developments like zero-knowledge rollups. Let\u2019s understand what they are and how they function!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-is-a-zk-rollup\"><span class=\"ez-toc-section\" id=\"What_Is_a_ZK_rollup\"><\/span>What Is a ZK rollup?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Zero-knowledge rollup (or ZK-rollup) is a layer 2 scalability solution that enables blockchains to validate transactions faster and at a cheaper rate. It performs better than the traditional Ethereum Layer 1 blockchain by combining on-chain and off-chain processes. It combines a large number of Layer 2 transactions to execute them off-chain at once and submits them as one transaction on Ethereum\u2019s blockchain.<\/p>\n\n\n\n<p>Read About: <a href=\"https:\/\/zebpay.com\/blog\/what-is-blockchain-layer-0-1-2-and-3\/\" target=\"_blank\" rel=\"noreferrer noopener\">What Is Blockchain Layer?<\/a><\/p>\n\n\n\n<p>ZK-rollups use a cryptographic proof technique called Zero-Knowledge Proofs (ZKPs) to instantly prove the validity of transactions. However, developing an Ethereum Virtual Machine compatible ZK-rollups is considered a complex task by developers.<\/p>\n\n\n\n<p>Some of the examples of Ethereum Layer 2 blockchains that leverage ZK-rollups are Starknet, dYdX and <a href=\"https:\/\/zebpay.com\/blog\/what-is-immutable-x-or-imx\/\" target=\"_blank\" rel=\"noreferrer noopener\">ImmutableX<\/a> for perpetual contracts on Ethereum. Protocols like <a href=\"https:\/\/zebpay.com\/blog\/looprings-sudden-rise\/\" target=\"_blank\" rel=\"noreferrer noopener\">Loopring<\/a>, zkSync, <a href=\"https:\/\/zebpay.com\/in\/buy-yearnfinance\/\" target=\"_blank\" rel=\"noreferrer noopener\">Yearn Finance<\/a>, Zcash, FRAX, and Zerion also make use of zero-knowledge rollups.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_Do_ZK_Rollups_Function\"><\/span>How Do ZK Rollups Function?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>ZK rollups are based on the concept of zero-knowledge proofs (ZKPs). ZKP is a sort of cryptographic proof in which the prover can demonstrate to the verifier that a particular statement is true without ever communicating it.<\/p>\n\n\n\n<p>For example, let\u2019s say a maths teacher (verifier) wants to know if a student (a prover) has the same answer as everyone else without actually looking at his answer. Hence the name \u201cZero-Knowledge\u201d. \u201cThe Ali Baba\u2019s cave\u201d and \u201cTwo balls and the colour-blind friend\u201d are two abstract examples of the concept of zero-knowledge proofs that can be found <a href=\"https:\/\/en.wikipedia.org\/wiki\/Zero-knowledge_proof\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">here.<\/a><\/p>\n\n\n\n<p>The way to understand Zero-Knowledge proofs is by thinking about hash functions. Hash functions are mathematical functions that return a unique value for every input. Therefore, if the prover and the verifier get the same unique hash value by inputting their statements in the same hash function, it would imply that the inputs were the same.<\/p>\n\n\n\n<p>This is the essence of zero-knowledge proofs. An application of Zero-knowledge proofs apart from ZK rollups is to maintain data privacy in industries like Healthcare and financial services. These are industries where user data needs to be referred to all the time but it raises questions about customer privacy. Zero-knowledge proofs can allow companies to retrieve and use information from the data without actually looking at it.<\/p>\n\n\n\n<p>As a result, ZK rollups employ zero-knowledge proofs to consolidate and validate a large number of transactions off the chain. Then, they submit the transactions as one onto the Layer 1 mainnet of Ethereum.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Zero-Knowledge Rollups are a type of layer 2 scaling solution that helps in making transactions cheaper and faster. They bundle a large number of transactions together and validate them off-chain in order to save data and time. The mathematical conceptual foundation behind ZK rollups is Zero-Knowledge Proofs that allow verifiers to confirm the truth without actually looking at it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Towards the end of 2020, there was a rise in the application of NFTs, yield farming, and smart contracts on the Ethereum network. This rise led to the need for faster processing speeds and cheaper transactions. Developers started solving this issue by creating layer 2 blockchains (a secondary framework built on top of an existing [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":17463,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"_ayudawp_aiss_exclude":false,"footnotes":""},"categories":[14],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/zebpay.com\/in\/wp-json\/wp\/v2\/posts\/15239"}],"collection":[{"href":"https:\/\/zebpay.com\/in\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zebpay.com\/in\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zebpay.com\/in\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zebpay.com\/in\/wp-json\/wp\/v2\/comments?post=15239"}],"version-history":[{"count":1,"href":"https:\/\/zebpay.com\/in\/wp-json\/wp\/v2\/posts\/15239\/revisions"}],"predecessor-version":[{"id":31234,"href":"https:\/\/zebpay.com\/in\/wp-json\/wp\/v2\/posts\/15239\/revisions\/31234"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zebpay.com\/in\/wp-json\/wp\/v2\/media\/17463"}],"wp:attachment":[{"href":"https:\/\/zebpay.com\/in\/wp-json\/wp\/v2\/media?parent=15239"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zebpay.com\/in\/wp-json\/wp\/v2\/categories?post=15239"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zebpay.com\/in\/wp-json\/wp\/v2\/tags?post=15239"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}