{"id":26741,"date":"2022-08-22T13:44:36","date_gmt":"2022-08-22T13:44:36","guid":{"rendered":"http:\/\/egrowonline.com\/?p=26741"},"modified":"2022-08-22T13:44:36","modified_gmt":"2022-08-22T13:44:36","slug":"what-are-ethereum-roll-ups-and-why-do-they-matter","status":"publish","type":"post","link":"http:\/\/egrowonline.com\/?p=26741","title":{"rendered":"What are Ethereum roll-ups and why do they matter?"},"content":{"rendered":"<p> <br \/>\n<\/p>\n<div data-url=\"https:\/\/protos.com\/what-are-ethereum-roll-ups-and-why-do-they-matter\/\" data-title=\"What are Ethereum roll-ups and why do they matter?\" data-hashtags=\"\">\n<p id=\"h-it-s-expensive-to-transfer-data-on-ethereum\">It\u2019s expensive to transfer data on Ethereum. Unlike centralized cloud storage, where gigabytes of data can be held for very little cost, storing even a few bytes on a blockchain can quickly become expensive.\u00a0<\/p>\n<p>Roll-ups increase data capacity, allowing Ethereum to process more transactions per second.\u00a0<\/p>\n<p>In its current form, Ethereum has an unaided processing rate of just 15 transactions per second, whereas large payment companies such as <a target=\"_blank\" href=\"https:\/\/www.visa.co.uk\/dam\/VCOM\/download\/corporate\/media\/visanet-technology\/aboutvisafactsheet.pdf\" rel=\"noopener\">VISA<\/a> can handle over 65,000. One of the leading initiatives to increase the data throughput on Ethereum is to bundle transactions, rolling them together into a single piece of summarized data. In this way, only one transaction needs storage on the base layer blockchain.<\/p>\n<p>Rolled-up bundles of transactions (\u201croll-ups\u201d), reduce expenses, increase throughput, and help to provide utility for blockchains <strong>with thousands of concurrent users<\/strong>.<\/p>\n<p>Roll-ups assist with scalability efforts by providing a \u201chybrid\u201d Layer 2 solution. Unlike completely off-blockchain (Layer 2) solutions like Bitcoin Lightning channels or Ethereum Plasma, roll-ups <a target=\"_blank\" href=\"https:\/\/vitalik.ca\/general\/2021\/01\/05\/rollup.html\" rel=\"noopener\">focus<\/a> on consolidating the computation and state storage away from the blockchain layer.<\/p>\n<p>Nevertheless, rolled-up transactions are still stored on the <strong>Layer 1 blockchain<\/strong>. Therefore, because roll-ups do publish some transaction data on the blockchain, a roll-up can be called a \u201chybrid\u201d Layer 2 solution.<\/p>\n<h2 id=\"h-how-they-work\">How they work<\/h2>\n<p>Ethereum roll-ups create <a target=\"_blank\" href=\"https:\/\/www.investopedia.com\/terms\/m\/merkle-root-cryptocurrency.asp\" rel=\"noopener\">Merkle roots<\/a> called <em>state roots <\/em>containing data such as account balances and contract code. Users create transaction batches that the roll-up compresses while preserving data about the previous state root and the new state root generated by the roll-up. Roll-up software can compare data from the original state root and the new state root to ensure they match.<\/p>\n<p>Leaving data on the blockchain means it is easier to reach <a target=\"_blank\" href=\"https:\/\/www.investopedia.com\/terms\/c\/consensus-mechanism-cryptocurrency.asp\" rel=\"noopener\">consensus<\/a>.<\/p>\n<p>Consensus features make roll-up transactions <strong>useful for blockchain service providers<\/strong>: transaction batching, fraud detection, withdrawal initiation, data consolidation, or balance and history queries.<\/p>\n<h2 id=\"h-benefits-of-ethereum-roll-ups\">Benefits of Ethereum roll-ups<\/h2>\n<p>The most important benefit of roll-ups is raising throughput and lowering transaction fees. Because roll-ups consolidate numerous transactions into a single transaction, more can be processed at a lower cost.<\/p>\n<p>Also, because roll-ups simply batch and compress the original transaction data, a malicious actor would have <strong>difficulty interfering with the data<\/strong> contained in the roll-up.<\/p>\n<ul>\n<li>For example, quantitative traders cannot find out which transactions are clearing within a roll-up and therefore have little incentive to outbid that transaction for trading purposes.<\/li>\n<li>Similarly, users seeking Miner Extracted Value (MEV) aren\u2019t able to calculate which transactions to reorder when thousands of transactions are lumped together within a single roll-up.<\/li>\n<li>Roll-ups are more likely to be processed in the order in which they were received and according to standard fee schedules, thus limiting delays when requesting a payment.<\/li>\n<li>In this way, assuming that the roll-up is fair, the roll-up can help to shield the original, rolled-up transactions from further interference.<\/li>\n<\/ul>\n<p><em>Read more: <\/em><a target=\"_blank\" href=\"https:\/\/protos.com\/consensys-lawsuit-jpmorgan-owns-critical-ethereum-infrastructure\/\" rel=\"noopener\"><em>ConsenSys lawsuit reveals JPMorgan owns critical Ethereum infrastructure<\/em><\/a><\/p>\n<h2 id=\"h-calldata-and-data-blobs\">Calldata and data blobs<\/h2>\n<p>Once a roll-up finishes processing transactions, it sends the compressed transaction data back onto the blockchain layer as <em>calldata.<\/em> Calldata <a target=\"_blank\" href=\"https:\/\/ethereum.stackexchange.com\/questions\/52989\/what-is-calldata\" rel=\"noopener\">involves<\/a> read-only data parameters of transactions, or \u201ccalls,\u201d that <strong>no one can edit <\/strong>after on-chain publication.<\/p>\n<p>As an upgrade to calldata, developers eventually plan to have roll-ups send transactions back to the blockchain as data blobs. Typical data blobs <a target=\"_blank\" href=\"https:\/\/codingcompiler.com\/what-is-blob\/\" rel=\"noopener\">help<\/a> databases handle large files like videos or large graphic files.<\/p>\n<p>\u201cOptimistic\u201d roll-ups include fraud proofs that can remember state root history and batch hashes. \u201cZero knowledge\u201d (ZK) roll-ups include cryptographic proofs that validate the results of processing each batch. ZK roll-ups demand higher Layer 2 gas fees per batch but have <strong>lower on-chain fees<\/strong> because they use Zero-Knowledge Succinct Non-Interactive Argument of Knowledge (\u201cZK-SNARKS\u201d), which have a high computational overhead.<\/p>\n<p>Optimistic rollups are \u201coptimistic\u201d because they assume off-chain transactions are valid and skip publishing validity proofs for each transaction. In contrast, ZK roll-ups always publish cryptographic validity proofs for off-chain transactions.<\/p>\n<p>Vitalik Buterin has <a target=\"_blank\" href=\"https:\/\/vitalik.ca\/general\/2021\/01\/05\/rollup.html\" rel=\"noopener\">expressed<\/a> his enthusiasm for both types of roll-ups, partly because existing applications can migrate to them <strong>without having to write a lot of new code<\/strong>.<\/p>\n<p><em>Read more: <\/em><a target=\"_blank\" href=\"https:\/\/protos.com\/heres-why-ethereum-2-staking-is-risky-and-increases-centralization\/\" rel=\"noopener\"><em>Here\u2019s why Ethereum 2 staking is risky and increases centralization<\/em><\/a><\/p>\n<h2 id=\"h-using-roll-ups-as-an-average-user\">Using roll-ups as an average user<\/h2>\n<p>Hobbyist users can utilize roll-ups by depositing funds to a roll-up contract. The roll-up uses a sequencer to receive and order transactions. The sender will receive a confirmation from the sequencer when it writes the transactions to the blockchain layer.<\/p>\n<p>Once the batch of transactions has been processed, the <strong>funds can be withdrawn<\/strong>. Processing typically <a target=\"_blank\" href=\"https:\/\/vitalik.ca\/general\/2021\/01\/05\/rollup.html\" rel=\"noopener\">happens<\/a> faster with a ZK roll-up than with an Optimistic roll-up.<\/p>\n<p>There are many organizations working on both types of roll-up contracts. For example, Loopring, zkSync, and Immutable X are building ZK roll-ups.<\/p>\n<ul>\n<li>Loopring <a target=\"_blank\" href=\"https:\/\/loopring.org\/\" rel=\"noopener\">uses<\/a> its ZK roll-up for its quasi-decentralized exchange and payment system.<\/li>\n<li>zkSync\u2019s ZK rollup claims to have developed a \u201cuser-friendly\u201d ZK roll-up that is already in use by <a target=\"_blank\" href=\"https:\/\/www.argent.xyz\/blog\/layer-2-plans\/\" rel=\"noopener\">Argent<\/a> and <a target=\"_blank\" href=\"https:\/\/medium.com\/imtoken\/imtoken-and-matter-labs-join-forces-to-support-zksync-5554e931db48\" rel=\"noopener\">imToken<\/a>.<\/li>\n<li>Immutable X took on the role of <a target=\"_blank\" href=\"https:\/\/www.immutable.com\/\" rel=\"noopener\">supporting<\/a> crypto-enabled games.<\/li>\n<\/ul>\n<p>Optimistic roll-ups include Optimism, Arbitrum, and The Boba Network.<\/p>\n<ul>\n<li>Optimism <a target=\"_blank\" href=\"https:\/\/www.optimism.io\/\" rel=\"noopener\">built<\/a> a bridge between the Ethereum mainnet and Optimism\u2019s Layer 2 DEX.<\/li>\n<li>Arbitrum also <a target=\"_blank\" href=\"https:\/\/bridge.arbitrum.io\/\" rel=\"noopener\">has<\/a> a bridge to its off-blockchain DEX.<\/li>\n<li>The Boba Network <a target=\"_blank\" href=\"https:\/\/boba.network\/\" rel=\"noopener\">aims<\/a> to reduce optimistic roll-up withdrawal times from one week to a few minutes.<\/li>\n<\/ul>\n<h2 id=\"h-why-roll-ups-are-important\">Why roll-ups are important<\/h2>\n<p>Layer 2 solutions gained attention due to data limitations in blockchains. The <a target=\"_blank\" href=\"https:\/\/bitcoinmagazine.com\/business\/the-first-major-bitcoin-civil-war\" rel=\"noopener\">Blocksize War<\/a> of 2016-2017 showed that although it\u2019s <strong>tempting to increase the block size<\/strong> to accommodate more transactions, larger blocks result in increased centralization.<\/p>\n<p>In the end, Bitcoin users didn\u2019t raise the storage capacity of the blockchain in order to keep the cost of running a full node affordable.<\/p>\n<p>Soon after, the Lightning Network was created, built as an <strong>off-blockchain solution<\/strong> for scaling Bitcoin\u2019s throughput from just a handful of transactions per second to thousands.<\/p>\n<p>Without off-blockchain (Layer 2) solutions such as Bitcoin\u2019s Lightning Network or Ethereum\u2019s roll-ups, blockchains cannot compete with payment networks like Visa or Mastercard that can handle thousands of transactions per second.\u00a0<\/p>\n<p>Roll-ups allow blockchains to surpass this throughput, <strong>providing immediate benefits to the user<\/strong>, and also allowing for the development of much more advanced crypto applications in the future.<\/p>\n<p><em>For more informed news, follow us on <\/em><a target=\"_blank\" href=\"https:\/\/twitter.com\/protos\" rel=\"noopener\"><em>Twitter<\/em><\/a><em> and <\/em><a target=\"_blank\" href=\"https:\/\/news.google.com\/publications\/CAAqBwgKMLmroQsw0bW5Aw\" rel=\"noopener\"><em>Google News<\/em><\/a><em>.<\/em><\/p>\n<\/div>\n<p><br \/>\n<br \/><a href=\"https:\/\/protos.com\/what-are-ethereum-roll-ups-and-why-do-they-matter\/\">Source link <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>It\u2019s expensive to transfer data on Ethereum. Unlike centralized cloud storage, where gigabytes of data can be held for very little cost, storing even a few bytes on a blockchain can quickly become expensive.\u00a0 Roll-ups increase data capacity, allowing Ethereum to process more transactions per second.\u00a0 In its current form, Ethereum has an unaided processing [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":26742,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[41],"tags":[158,2724,1919],"class_list":["post-26741","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ethereum","tag-ethereum","tag-matter","tag-rollups"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"http:\/\/egrowonline.com\/wp-content\/uploads\/2022\/08\/Protos-Artwork-ETHRollUps-SIMG.jpg","_links":{"self":[{"href":"http:\/\/egrowonline.com\/index.php?rest_route=\/wp\/v2\/posts\/26741","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/egrowonline.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/egrowonline.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/egrowonline.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/egrowonline.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=26741"}],"version-history":[{"count":1,"href":"http:\/\/egrowonline.com\/index.php?rest_route=\/wp\/v2\/posts\/26741\/revisions"}],"predecessor-version":[{"id":26743,"href":"http:\/\/egrowonline.com\/index.php?rest_route=\/wp\/v2\/posts\/26741\/revisions\/26743"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/egrowonline.com\/index.php?rest_route=\/wp\/v2\/media\/26742"}],"wp:attachment":[{"href":"http:\/\/egrowonline.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=26741"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/egrowonline.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=26741"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/egrowonline.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=26741"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}