
{"id":22366,"date":"2024-11-21T12:30:21","date_gmt":"2024-11-21T12:30:21","guid":{"rendered":"https:\/\/mycryptomania.com\/?p=22366"},"modified":"2024-11-21T12:30:21","modified_gmt":"2024-11-21T12:30:21","slug":"agglayer-a-new-blockchain-ecosystem-paradigm","status":"publish","type":"post","link":"https:\/\/mycryptomania.com\/?p=22366","title":{"rendered":"AggLayer: A New Blockchain Ecosystem Paradigm"},"content":{"rendered":"<p>Similarly to pre IP\/TCP internet, the current Web3 ecosystem organically developed itself throughout a variety of silos naturally leading to an ever-increasing liquidity and state fragmentation. At present, no single monolothitic chains can single handedly process internet-level transactional load while modular ecosystems like Optimism or Arbitrum are inherently stymied by fragmentation. Thus, in spit of a seamless and united network experience similar to the internet, Web3 is plagued by limited interoperability and complex UXs severly hindering further development towards mainstream adoption. As such, it would appear that the market is ripe for a shift from the monolothitic and modular design towards a more flexible approach like Polygon AggLayer enabling Web3 protocols to aggregate their strength into a network agnostic unified framework.<\/p>\n<h3>What is Polygon AggLayer?<\/h3>\n<p>Launch in early Q1 \u201924, AggLayer is an interoperability protocol aiming to unite the divided blockchain landscape into a web of ZK-secured L1 and L2 chains allowing users to perform trustless cross-chain transfer of message and token among a wide range of blockchain architecture.<\/p>\n<p>AggLayer architecture, Source: <a href=\"https:\/\/polygon.technology\/blog\/aggregated-blockchains-a-new-thesis\">Polygon\u00a0Docs<\/a><\/p>\n<p>Yet, it is important to underline that although AggLayer enables interoperability, it is not merely another interoperability solution or mega-network from the likes of Optimism Superchain but something new: <strong>an aggregated solution<\/strong>. Indeed, through aggregating chains and posting finality to Ethereum, the AggLayer unlocks a wide range of interoperability and liquidity features for the entire Web3\u00a0space:<\/p>\n<p><strong>Unified liquidity<\/strong>\u200a\u2014\u200aPossibility fo direct transfer fungeable tokens without the need for wrapped tokens creating further liquidity fragmentation.<strong>No Fee extraction<\/strong>\u200a\u2014\u200aNo cost upon joining AggLayer and no 7 days fraud-proof window for token transfer from L2 to\u00a0L1.<strong>Agnostic architecture<\/strong>\u200a\u2014\u200aNo mandatory tech-stack or network design on the contrary to other modular frameworks (Arbitrum, Optimism,\u00a0\u2026)<strong>One time set-up<\/strong>\u200a\u2014\u200aOnce a chain joins AggLayer, it get access to every other connected chains in contrast to other interoperability solutions such as Chainlink\u2019s CCIP.<\/p>\n<p><strong>Advantages of\u00a0AggLayer<\/strong><\/p>\n<p><strong>Unified liquidity and user pool<\/strong>\u200a\u2014\u200aSingle point of entry to the liquidity and user base of all connected chains eliminating the need for bootstrapping liquidity on individual chains.<strong>Cross-chain development<\/strong>\u200a\u2014\u200aExtensive cross-chain transaction toolkit streamlining the development of complex cross-chain logic.<strong>Better UX<\/strong>\u200a\u2014\u200aSeamless interchain connectivity allowing to abstract away the complexity from the user experience and create a feeling similar to the use of a single\u00a0network.<strong>Extended reach<\/strong>\u200a\u2014\u200aBuilt-in connectivity to any AggLayer allowing to maximise the reach of any Dapp to the entire ecosystem.<strong>Efficiency<\/strong>\u200a\u2014\u200aSeamless interactivity among every connected chains enabling a high-level of Dapps specialisation and greater overall ecosystem network efficiency.<\/p>\n<h3>How does it\u00a0work?<\/h3>\n<p>From a technical standpoint, Polygon AggLayer relies on three core components:<\/p>\n<p>Ethereum Unified\u00a0BridgeBridgeAndCall() LibraryPessimistic ProofAggLayer architectural design flow, Source: <a href=\"https:\/\/polygon.technology\/blog\/aggregated-blockchains-a-new-thesis\">Polygon\u00a0Docs<\/a><\/p>\n<h4><strong>Ethereum Unified\u00a0Bridge<\/strong><\/h4>\n<p>The Ethereum unified bridge is the source of unified liquidity for the AggLayer and can simply be envision as a single bridge contract on Ethereum providing a safe, common access point to transfer native tokens of all connected chains. Technically speaking, it encompasses two types of primitives\u200a\u2014\u200abridgeAssets and bridgeMessage\u200a\u2014\u200arespectively extending traditional bridging functionalities to cross-chain token and message transfers.<\/p>\n<p>Additionally, each connected chain has a local copy of the unified bridge root which couple with the ZK-pessimistic proof alleviates all risks induced by third party bridges or the need for Ethereum withdrawal like in modular\u00a0design.<\/p>\n<h4><strong>BridgeAndCall Library<\/strong><\/h4>\n<p>The BridgeAndCall is an open-source library allowing developers to program cross-chain logic in smart contracts by essentially merging the processing of cross-chain transfer with the ability to trigger a contract on the recipient chain. As such, using this library, developers can easily create complex multi-chain computation with seamless and near-instantaneous user experience requiring only one transaction signature for the entire workflow.<\/p>\n<h4><strong>Case Study<\/strong><\/h4>\n<p>Alice is an Ethereum user and sees a character\u2019s skin on a gaming chain built with Polygon CDK that she wants to buy\u200a\u2014\u200aand she wants to buy it first by swapping ETH to MATIC on Polygon zkEVM because it has deeper liquidity than the Polygon CDK\u00a0chain.<\/p>\n<p>Transaction workflow happening in a single\u00a0click<\/p>\n<p>Transfer ETH from Ethereum to Polygon\u00a0zkEVMSwap ETH for\u00a0POLTransfer the new asset from Polygon zkEVM to the gaming\u00a0chain;Mint the gaming\u00a0NFT.<\/p>\n<p>As demonstrated through this short example, Polygon AggLayer is offering the best of both worlds by providing the scale of modular architecture with the unified liquidity and UX of monolithic systems.<\/p>\n<h4><strong>Pessimistic Proof<\/strong><\/h4>\n<p>As highlighting above in this article, a shared bridge allows users to seamlessly send and receive fungible assets between L2s, providing far better UX than third-party bridges resulting in users receiving wrapped synthetic tokens or native bridges imposing extended time delays of up to seven days in the case of Optimistic rollups. However, it also comes with a novel challenge as without a proper safety mechanism, a malicious actor on one chain could potentially exploit the entire bridge. Hence the need for the Pessimistic proof, a custom-built zk-proof ensuring safety for cross-chain transactions.<\/p>\n<h4>Pessimistic Proof\u00a0Design<\/h4>\n<p>From the AggLayer\u2019s perspective, the unified bridge is a vast network chains growing in complexity as more chains are joining. Thus to keep the network safe, the AggLayer needs a full view of all the transfer of assets and messages across the chains in order to guarantee that at no point any chain withdraw more from the bridge that what has been deposited on the chain\u2019s L1 contract. To do so, it needs to verify that at any\u00a0time:<\/p>\n<p>Each chain update is done correctlyEach chain internal accounting is correct\u200a\u2014\u200ameaning that they didn\u2019t try to withdraw tokens they didn\u2019t\u00a0haveAll chains accounting checks\u00a0out<\/p>\n<p>In other words, if Chain A says it has 100 POL deposited on the bridge, the AggLayer keeps track to make sure it does not subsequently attempt to withdraw 200 POL, whether through equivocation or an exploit by some malicious actor.<\/p>\n<h4><strong>Pessimistic Proof ZK\u00a0Flow<\/strong><\/h4>\n<p>Each chain connected to the AggLayer maintains a local exit tree tracking all withdrawals from the chain. Therefore, using the root of each chain\u2019s local exit tree, the AggLayer can build a global view of all withdrawals from all chains on the unified bridge, called the global exit tree. However, this latter being committed to the L1, the AggLayer needs to cryptographically ensure that all exit trees composing the global exit tree are valid. To do so, the network generates a pessimistic proof as\u00a0follows:<\/p>\n<p><strong>Step 1<\/strong><\/p>\n<p>Chain A communicates the three following inputs:Most recent updated state of the chain exit\u00a0treeList of new withdrawal included in the current\u00a0updateExpected new local exit root\u00a0state<\/p>\n<p><strong>Step 2<\/strong><\/p>\n<p>AggLayer compute the new local exit root using the chain most recent updated exit tree and the communicated list of new withdrawalsComparison of the result with the communicated expected new local exit root\u00a0stateGeneration of a\u00a0proof<\/p>\n<p><strong>Step 3<\/strong><\/p>\n<p>Using the pessimitic proof output, the AggLayer is computing the bridge balance of each\u00a0chainIf any chain is found to have a negative balance, the AggLayer determines that the chain attempted to withdraw tokens that were not deposited into it and flag the chain update as invalid preventing any pessimistic proof containing that chain state to be validated on the L1 in order to keep the network\u00a0safe.<\/p>\n<p>So in summary, the AggLayer scrutinize all chain balances on the unified bridge and generate a cryptographic proof isolating bad actors to prevent them from draining the\u00a0bridge.<\/p>\n<h3>AggLayer use\u00a0cases<\/h3>\n<p>By unlocking atomic composability and creating a unified environment allowing developers to create a superior cross-chain user experience similar to Web2, AggLayer is unlocking a wide array of new use-cases all throughout the Web3\u00a0space:<\/p>\n<h4><strong>DeFi<\/strong><\/h4>\n<p><strong>Deep Liquidity<\/strong>\u200a\u2014\u200aUsers on any aggchain can experience native tokens of any connected chains allowing new market designs with more efficient and deeper liquidity pools.<strong>Dapp composability<\/strong>\u200a\u2014\u200aDevelopers can create interoperable applications leveraging liquidity, smart contracts and users from multiple blockchain allowing for a seamless integration of DeFi \u201cLegos\u201d across ecosystems.<strong>Extended Users pool<\/strong>\u200a\u2014\u200aDevelopers can soleley focus on answering best their use-cases without worrying about ecosystem lockup.<strong>One-click transaction<\/strong>\u200a\u2014\u200aThe AggLayer\u2019s near-instant cross-chain message transfer reduces complexity, costs, and security risks compared to current cross-chain swapping\u00a0methods.<strong>Interoperable stablecoins<\/strong>\u200a\u2014\u200aStablecoins can move freely across chains without wrapping, creating unified liquidity pools accessible on all connected blockchains.<\/p>\n<h4><strong>Gaming<\/strong><\/h4>\n<p><strong>New interoperability design<\/strong>\u200a\u2014\u200aUnified gaming ecosystem where in-game assets and player achievement seamlessly move between\u00a0chains.<strong>Web2 like experience<\/strong>\u200a\u2014\u200aSimilarly to a Steam account enabling players to play Xbox and Playstation games, AggLayer enable simultaneous access to a wide range of blockchain gaming ecosystems.<\/p>\n<h4><strong>RWA<\/strong><\/h4>\n<p><strong>Cross-chain RWA marketplace<\/strong>\u200a\u2014\u200aUnified marketplace where tokenized real-world assets like real estate and collectibles can be traded across any connected chain while enhancing overall market liquidity and\u00a0depth.<strong>Cross-chain fractional ownership<\/strong>\u200a\u2014\u200aUsers on all connected chains can access shared ownership opportunities for high-end assets like real estate or collectibles.<strong>Multi-asset fund aggregation<\/strong>\u200a\u2014\u200aFund managers can create and manage multi-asset funds containing tokenized RWAs from different blockchains in compliance with local regulations.<strong>Data markets<\/strong>\u200a\u2014\u200aUsers can better take control and monetize valuable data\u00a0sets.<\/p>\n<p>In brief, by improving UX and lowering the barrier to entry in the Web3 space, AggLayer is amplifying the value of existing blockchain capacity while simultaneously providing a path for everyone to benefit from the overall growth in blockchain innovation, value creation and\u00a0usage.<\/p>\n<h3>Conclusion<\/h3>\n<p>While still in its early days, the AggLayer might represent the next natural evolutionary step of blockchain design and, similarly to the IP\/TCP revolution, consolidate the fragmented Web3 space into a unified web of hyper-specialised protocol prime for mainstream adoption. Yet, only time will tell if the Polygon community is able to put this vision to fruition and attract other significant partnerships and network integration that could indirectly allow AggLayer to tap into other significant user base (Telegram with TON,\u00a0\u2026).<\/p>\n<p><a href=\"https:\/\/medium.com\/coinmonks\/agglayer-a-new-blockchain-ecosystem-paradigm-2c0c68622a5f\">AggLayer: A New Blockchain Ecosystem Paradigm<\/a> was originally published in <a href=\"https:\/\/medium.com\/coinmonks\">Coinmonks<\/a> on Medium, where people are continuing the conversation by highlighting and responding to this story.<\/p>","protected":false},"excerpt":{"rendered":"<p>Similarly to pre IP\/TCP internet, the current Web3 ecosystem organically developed itself throughout a variety of silos naturally leading to an ever-increasing liquidity and state fragmentation. At present, no single monolothitic chains can single handedly process internet-level transactional load while modular ecosystems like Optimism or Arbitrum are inherently stymied by fragmentation. Thus, in spit of [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-22366","post","type-post","status-publish","format-standard","hentry","category-interesting"],"_links":{"self":[{"href":"https:\/\/mycryptomania.com\/index.php?rest_route=\/wp\/v2\/posts\/22366"}],"collection":[{"href":"https:\/\/mycryptomania.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mycryptomania.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/mycryptomania.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=22366"}],"version-history":[{"count":0,"href":"https:\/\/mycryptomania.com\/index.php?rest_route=\/wp\/v2\/posts\/22366\/revisions"}],"wp:attachment":[{"href":"https:\/\/mycryptomania.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=22366"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mycryptomania.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=22366"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mycryptomania.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=22366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}