<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>SevenX Ventures</title>
        <link>https://paragraph.com/@sevenxventures</link>
        <description>SevenX is a community and research-driven venture capitalist firm, specializing in early-stage investment in blockchain technology and Web3.</description>
        <lastBuildDate>Thu, 12 Nov 2026 11:55:25 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>en</language>
        <image>
            <title>SevenX Ventures</title>
            <url>https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/e43da5a43ccb4b02b9a7db069a1cc42073dfbbd19bc22270a03a2eb7cbd3ef14.jpg</url>
            <link>https://paragraph.com/@sevenxventures</link>
        </image>
        <copyright>All rights reserved</copyright>
        <item>
            <title><![CDATA[Yield Basis: Real Yield On Bitcoin]]></title>
            <link>https://paragraph.com/@sevenxventures/yield-basis-real-yield-on-bitcoin</link>
            <guid>XelB1uZFQSONJ2DV6uY4</guid>
            <pubDate>Wed, 26 Mar 2025 07:34:31 GMT</pubDate>
            <description><![CDATA[By Rui Shang, investor of SevenX Ventures.BTC APR sounds sexy, but it could be a house of cards- built on layers of altcoin incentives that collapse at any time. Is the yield paid in BTC or altcoins? What risks are you subject to? What&apos;s the potential principal loss? How sustainable is it? Does it dilute as TVL grows? This article focuses on sustainable BTC-denominated yields across CeFi and DeFi:Original Yield Sources: Quant Trading, DEX LP, Lending, Staking, Collateral, LSTs and Pendle...]]></description>
            <content:encoded><![CDATA[<p>By <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/Ruisnakes">Rui Shang</a>, investor of SevenX Ventures.</p><hr><p>BTC APR sounds sexy, but it could be a house of cards- built on layers of altcoin incentives that collapse at any time.</p><p>Is the yield paid in BTC or altcoins? What risks are you subject to? What&apos;s the potential principal loss? How sustainable is it? Does it dilute as TVL grows?</p><p>This article focuses on sustainable BTC-denominated yields across CeFi and DeFi:</p><ul><li><p><strong>Original Yield Sources:</strong> Quant Trading, DEX LP, Lending, Staking, Collateral, LSTs and Pendle</p></li><li><p><strong>A New Venue for BTC Yield:</strong> Introducing <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/@yieldbasis">@yieldbasis</a></p></li><li><p><strong>Looking Ahead:</strong> • Minor Errors Can Lead to Catastrophic Failures • The Scarcity of Elite Quant Teams • The Convergence of TradFi, CeFi, and DeFi, and IPO Opportunities</p></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/2b8b96c659867ca50514bae4a6404759af187a885539c0b4f45c9c0017fbe467.jpg" alt="BTC Yield Landscape 2025" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">BTC Yield Landscape 2025</figcaption></figure><hr><h2 id="h-original-btc-yield-sources" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>Original BTC Yield Sources</strong></h2><p>Despite the many ways for looping and compounding, we can categorize the original yield sources into 5 major buckets: Quant Trading, DEX LP, Lending, Staking, and Collateral.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/42ea720e339334f40d8a65a863bcfb8d10bd30b959110471b3350d3022ff6f75.jpg" alt="Yields and Risks Comparison" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Yields and Risks Comparison</figcaption></figure><h3 id="h-1-quant-trading-strategies-a-zero-sum-game" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">1) Quant Trading Strategies: A “Zero-Sum” Game</h3><p>Make sure your alpha strategy is net profitable. Arbitrage strategies include funding rate, spot-futures basis, cross-exchange, and lending arbs, sometimes involving event-driven trades. Quant requires deep liquidity— now primarily on TradFi and CeFi. Also, TradFi to DeFi arbitrage lacks cross-venue infra.</p><ul><li><p><strong>Yield in BTC:</strong> Vary based on asset size, risk profile, and execution. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.investopedia.com/terms/m/marketneutral.asp">Market-neutral strategies</a> might target <strong>4–8% BTC-based APR with ~1% stop-loss.</strong> Top-performing quant teams even pursue <strong>200–300%+ APR</strong> with sophisticated risk controls around 10-30% stop-loss.</p></li><li><p><strong>Risks:</strong> Highly subjective, have model, judgment, and execution risks- even neutral strategies could fall into directional bets. Requires real-time monitoring, robust infra (e.g. latency, custody, and delivery agreements), insurance against loss, and trading venue risk controls.</p></li></ul><h3 id="h-2-dex-lp-capped-by-supply-and-demand" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">2) DEX LP: Capped by Supply and Demand</h3><p>DEXs also facilitate real trading volume beyond arbs. Now only ~3% of wrapped BTC is in DEXs due to limited supply and demand. In volatile pair LPing (e.g. WBTC-USDC), supply is constrained by impermanent loss, while demand faces wrapped BTC friction, and limited utility in DeFi.</p><ul><li><p><strong>Yield in BTC</strong>: Fluctuated, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/@Uniswap">@Uniswap</a> is at 6.88% APR now, can be up to double digits.</p></li><li><p><strong>Risks</strong>: Due to impermanent loss, simply holding BTC typically outperforms providing liquidity. However new LPs are often misled, which reflects a common psychological bias: fee yields and APRs are highly visible metrics, tempting LPs to maximize short-term gains while overlooking the less obvious long-term capital losses. Standard DeFi risks also apply here.</p></li></ul><h3 id="h-3-lending-btc-loans" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">3) Lending: BTC Loans</h3><p>BTC serves mainly as USD or stablecoins borrowing collateral used in looping or leveraged trading, rather than focusing on the APR for lending out BTC—due to current low borrowing demand.</p><ul><li><p><strong>Yield in BTC:</strong> CeFi and DeFi lending rates are typically low, around <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://app.aave.com/reserve-overview/?underlyingAsset=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&amp;marketName=proto_mainnet_v3">0.02%-0.5% APR</a>. Loans’ LTV ratios vary: TradFi 60-75% LTV with currently 2-3% prime rate, CeFi 33-50% LTV with currently ~7% USDC rate, and <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://app.aave.com/reserve-overview/?underlyingAsset=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&amp;marketName=proto_mainnet_v3">DeFi 33-67% with currently ~5.2% USDC rates</a>.</p></li><li><p><strong>Risks</strong>: Liquidation risks, though low LTV ratios help at the cost of capital efficiency. Hedging strategies can offer additional protection. CeFi and DeFi risks exist.</p></li></ul><h3 id="h-4-staking-earning-alt-reward" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">4) <strong>Staking: Earning Alt Reward</strong></h3><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/babylonlabs_io">Babylon</a> is at a unique position, where staking contributes to the security of associated PoS chains.</p><ul><li><p><strong>Yield in Altcoins</strong>: Denominated in altcoins, APR unknown.</p></li><li><p><strong>Risks</strong>: Babylon protocol should undergo multiple security audits and disclose estimated staking yields once the system is live. If the Babylon token launch isn’t successful, the ecosystem sustainability is at risk.</p></li></ul><h3 id="h-5-collateral-liquidity-mining" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">5) <strong>Collateral: Liquidity Mining</strong></h3><p>When you provide BTC to DeFi, BTC L2s, and others as TVL to earn altcoins.</p><ul><li><p><strong>Yield in Altcoins</strong>: Vary, some 5-7%, but larger whales always get more preferential rates.</p></li><li><p><strong>Risks:</strong> Protocols vary in their reliability and proven track record. Each imposes different lock-up and capital requirements.</p></li></ul><p>On top of the 5 sources, there are LSTs and yield tokenization platforms:</p><h3 id="h-6-liquid-staking-token-compounding-yield" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">6) <strong>Liquid Staking Token: Compounding Yield</strong></h3><p>BTC “LSTs” like <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/Lombard_Finance">Lombard</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/Pumpbtcxyz">PumpBTC</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/SolvProtocol">Solv Protocol</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/Bitfi_Org">BitFi</a> started from the Babylon ecosystem, now are yield-bearing cross-chain BTCs with complex yield strategies. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/veda_labs">Veda</a> acts like an aggregating interface.</p><ul><li><p><strong>Yield Mostly in Altcoins:</strong> <br>Vary, combining Babylon staking rewards, points from different chains, $Pendle, and some with quant strategies through third-party. Additionally, offer own tokens as incentives.</p></li><li><p><strong>Risks:</strong> <br>The low liquidity of LSTs poses a risk of cascading liquidations. Single points of failure exist during minting, redemption, staking, and bridging processes. The heavy reliance on own and others&apos; altcoin yields indicates significant yield volatility.</p></li></ul><h3 id="h-7-yield-tokenization-yield-trading" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">7) Yield Tokenization: Yield Trading</h3><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/pendle_fi">Pendle</a> is the primary platform where LSTs earn more yield, currently managing <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://app.pendle.finance/trade/pools?search=btc">$444.17m BTC TVL</a>. It enables traders to secure fixed yields from principal- like a spot alternative, hedge against interest volatility, and access yield liquidity, long or short yield positions.</p><ul><li><p><strong>Yield in Altcoins:</strong> <br>Yields can be volatile. YT holders earn LST&apos;s underlying yield, swap fees, fixed yield, and $Pendle tokens.</p></li><li><p><strong>Risks:</strong> <br>A decline in $Pendle token price significantly affects participation. Pendle lives on sustainable yield volatility- which is tricky when most of its assets depend on multiple layers of altcoin incentives, including $Pendle itself.</p></li></ul><hr><h2 id="h-a-new-venue-for-btc-yield-introducing-yield-basis" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>A New Venue for BTC Yield: Introducing Yield Basis</strong></h2><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/ff33811763b0fbcdfb79d8c3cecddd8d2ba48fa89ed5f2b9243adea9ae185ba0.jpg" alt="How Yield Bais Works" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">How Yield Bais Works</figcaption></figure><p>As discussed, while altcoin-denominated yields are unsustainable, genuine BTC-based yields are scarce and carry significant risks. Quant teams need sufficient liquidity, but DEXs falling short.</p><ul><li><p><strong>What is YB </strong><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/@yieldbasis"><strong>@yieldbasi</strong></a><strong>:</strong> YB is an AMM that minimizes impermanent loss and encourages BTC liquidity provision, cross-venue arbitrages, and real transactions.</p></li><li><p><strong>Fundamental layer for BTC yield: YB can deliver an average 20% APR (net profit), even higher in a bull market</strong> —based on simulation of the past 6 years of data. Also, it is composable with any LSTs wanting real BTC-based yield exposure, and Pendle can work with the yield generated by YB.</p></li><li><p><strong>Venue for sophisticated trading strategies:</strong> Gradually set up a venue with sufficient liquidity for meaningful quant trading. It also offers a lucrative looping opportunity to boost the BTC borrow rates in lending protocol-<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://app.aave.com/markets/">Currently, $3.286B WBTC is in @aave with ~0.02% borrow rate</a>.</p></li><li><p><strong>Venue for retail trading BTC:</strong> YB’s long-term goal is to create the deepest on-chain liquidity for wrapped BTC, and compete with CeFi trading.</p></li></ul><p><strong>Mechanism: Solving Impermanent Loss</strong></p><ul><li><p><strong>Mechanism: one AMM sitting in another AMM</strong> <br>When BTC LP deposits into YB, it allows leveraged LP creation by borrowing the half LP value and constantly re-leveraging it. This creates a stablecoin-to-BTC pool with a rebalancing model, with both borrow rates and 50% of pool-generated fees going back to subsidize the pool rebalancing.</p></li><li><p><strong>APR= 2*pool yield - (borrow rate + releverage loss)</strong> <br>The fixed cost is the borrowing interest against crvUSD, which is controllable since the system uses it for more earnings. Higher volatility increases the releverage loss but also the pool revenue, so the strategy remains effective unless volatility exceeds the chosen maximum liquidity concentration. <strong>Parameter selection is crucial:</strong> More aggressive parameters can increase yield but are riskier for releverage losses, and vice versa.</p></li><li><p><strong>Enhancing APR by </strong><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/search?q=%24YB&amp;src=cashtag_click"><strong>$YB</strong></a><strong>:</strong> <br>LPs can choose between earning pool fees or staking to earn YB token emissions. When YB tokens are attractive, more LPs opt out of pool fees, resulting in higher pool APR.</p></li></ul><hr><h2 id="h-looking-ahead" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>Looking Ahead</strong></h2><p>BTC Yield generation will become increasingly sophisticated, focusing on risk-managed, BTC-denominated, and institutionalized products. The winners will be those who can deliver deep liquidity and fair yield without excessive risk exposure, and innovate within regulatory frameworks.</p><ul><li><p><strong>Minor Errors Can Lead to Catastrophic Failures</strong> <br>&quot;Nothing is unbreakable — it just hasn&apos;t been targeted yet.&quot; BTC faces increasingly sophisticated attacks across multiple risk layers: CEX trust delegation, self-custody phishing, if put them in work- smart contract vulnerabilities (permissions, logic, arithmetic), and mechanism risks (liquidation, principal loss). Social engineering poses a critical threat by exploiting relationships and interfaces. Major BTC LPs even require chain halts and bridge blocks. Counterintuitive as it sounds, public blockchains and high-liquidity, permissionless protocols are not ideal for their security.</p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/@0xAquariusCap">@0xAquariusCap</a> proposed a <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://mirror.xyz/0xa54017CA3461743Bf0A14d2C46931ECe151d6D2d/-N7sSvEdZgW9IaTOEgda7OOwTEp2s2XDvr5E9xqvQ10">security frameworks</a> enabling comprehensive testing, monitoring, and risk tracking.</p></li><li><p><strong>The Scarcity of Elite Quant Teams</strong> <br>Obviously, a real BTC-denominated yield is more attractive. While DEX LPs are still nascent, quant trading remains dominant. Some teams package their strategies into yield-generating BTC products and raise capital from external LPs. However, the capacity for high-frequency arbitrage could be limited, and top teams often keep these strategies in-house, declining outside capital—creating a form of &quot;adverse selection&quot;. That said, market-neutral and other low-risk strategies make sense as productized BTC yield offerings.</p></li><li><p><strong>TradFi, CeFi and DeFi convergence, with IPO opportunity</strong> <br>As BTC liquidity continues to deepen, we’re witnessing the convergence of TradFi conservatism, CeFi accessibility, and DeFi innovation. Jan 2025, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/@coinbase">@coinbase</a> <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://blockworks.co/news/coinbases-btc-backed-loans">introduced BTC-backed loans powered by</a> <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/@MorphoLabs">@MorphoLabs</a>, it’s a signal: CeFi is operationalizing DeFi mechanisms for a broader audience. Along the way, opportunities for institutional-grade asset management firms to emerge and potentially go public. Firms that combine security-first infra, transparent risk disclosures, and trusted governance will build strong brands, deliver recurring revenue that TradFi asset managers need, and serve everything from high-net-worth clients to pensions and endowments.</p></li></ul><hr><p><em>Special thanks to </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/@newmichwill"><em>@newmichwill</em></a><em>, </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/@visavishesh"><em>@visavishesh</em></a><em>, </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/@JacobPPhillips"><em>@JacobPPhillips</em></a><em>, </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/@joshkessler_"><em>@joshkessler_</em></a><em>, </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/@tomisonchain"><em>@tomisonchain</em></a></p><p><em>for their feedback.</em></p>]]></content:encoded>
            <author>sevenxventures@newsletter.paragraph.com (SevenX Ventures)</author>
            <enclosure url="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/fc151d9d9ce1bc00110899e403c5fc854533e366d3da77a09f9521fff4cdee4d.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[Stablecoin Playbook: Flipping Billions to Trillions]]></title>
            <link>https://paragraph.com/@sevenxventures/stablecoin-playbook-flipping-billions-to-trillions</link>
            <guid>mJcV6FjfHKuqtHcYBN6T</guid>
            <pubDate>Wed, 20 Nov 2024 00:19:53 GMT</pubDate>
            <description><![CDATA[By Rui Shang, investor of SevenX Ventures.Starter: DistributionYounger generations are digital natives, with stablecoins as their natural money. As AI and IoT drive billions of automated micro-transactions, global finance requires adaptable money solutions. Stablecoins act as a "Currency API," transferring as seamlessly as internet data, and have reached $4.5 trillion transaction volume in 2024, this figure is set to grow as more institutions realize stablecoins are an unparalleled business m...]]></description>
            <content:encoded><![CDATA[<p>By <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/Ruisnakes">Rui Shang</a>, investor of SevenX Ventures.</p><h2 id="h-starter-distribution" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Starter: Distribution</h2><p>Younger generations are digital natives, with stablecoins as their natural money. As AI and IoT drive billions of automated micro-transactions, global finance requires adaptable money solutions. Stablecoins act as a &quot;Currency API,&quot; transferring as seamlessly as internet data, and have reached $4.5 trillion transaction volume in 2024, this figure is set to grow as more institutions realize stablecoins are an unparalleled business model—Tether profit $5.2 billion from investing its reserve in the H1 2024.</p><p>In the stablecoins race, <strong>distribution and genuine adoption matter</strong>, not the complex crypto mechanics. Their adoption unfolds across three key arenas: the Native Crypto, Fully-Banked, and Under-Banked worlds.</p><ul><li><p>In the $2.9 trillion Native Crypto world, stablecoins function as DeFi gateways, crucial for trading, lending, derivatives, yield farming and RWA. Crypto-native stablecoins compete through liquidity incentives and DeFi integration.</p></li><li><p>In the $400+ trillion Fully-Banked world, stablecoins enhance financial efficiency, primarily for B2B, P2P, and B2C payments. Stablecoins focuses on regulation, licensing and leveraging banks, card networks, payments, merchants to distribute.</p></li><li><p>In the Under-Banked world, stablecoins provide the dollar access, boosting financial inclusion. Stablecoins are used for savings, payments, foreign exchange, and yield generation. Grassroots go-to-market matters.</p></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/87f2d35ec1347f0ac3c9c162e73f525706e4bd5d66ec1d14d8d2b6d0c8c6506f.webp" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><hr><p><strong>Content Outline</strong></p><ul><li><p>Starter: Distribution</p></li><li><p>Natives in the Native Crypto World</p><ul><li><p>Constant Pegging Battle</p></li><li><p>Liquidity Bootstrapping Challenge</p></li><li><p>DeFi Gateway: Trading Pairs, Lending, Derivatives, Yield, RWA</p></li></ul></li><li><p>Aliens in the Fully-Banked World</p><ul><li><p>Key Players on the Move</p></li><li><p>Efficiency Enabler: B2B, P2P, C2B Payments</p></li></ul></li><li><p>Mavericks in the Under-Banked World</p><ul><li><p>Shadow Dollar Economy</p></li><li><p>Dollar Access: Saving, Payouts, Foreign Exchange</p></li></ul></li><li><p>Ending: Intertwined</p><ul><li><p>Interoperability: Cross-currency, cross-coin and cross-chain</p></li><li><p>Opportunity Highlight</p></li><li><p>Open Questions</p></li></ul></li></ul><hr><h2 id="h-tldr" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">TL;DR</h2><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/230d8f48344a9b82eb6a9dd69482e66ba9fbdb6f93adec359c3f5cb7c7b59e0a.jpg" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><hr><h2 id="h-natives-in-the-crypto-world" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Natives in the Crypto World</h2><p>In Q2 2024, stablecoins comprised 8.2% of the total crypto market cap. Maintaining peg stability remains challenging, and unique incentives are key to expanding on-chain distribution, the critical issue is the limited on-chain utility.</p><h3 id="h-constant-pegging-battle" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Constant Pegging Battle</h3><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/251688cc98dd0acc053d8364aa59f3a12e4d6129226cf6aa625b60efed87f18e.webp" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><ul><li><p><strong>Fiat-backed stablecoins work on banking relationships:</strong> <br>93.33% are fiat-backed stablecoins. they have greater stability and capital efficiency, with banks having the ultimate say by controlling redemption. Regulated issuers like <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://paxos.com/">Paxos</a> became PayPal&apos;s USD issuer due to its reliability in successfully redeeming billions in BUSD.</p></li><li><p><strong>CDP stablecoins improve collateral and liquidation for better peg</strong>: <br>3.89% are Collateralized debt positions (CDPs) stablecoins. They use crypto as collateral, but they face issues with <strong>scaling and volatility</strong>. In 2024, CDPs have improved resilience by accepting a wider range of liquid and stable collateral, Aave’s <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://aave.com/gho">GHO</a> accepts any assets in Aave v3, and Curve’s <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://crvusd.curve.fi/#/ethereum/markets">crvUSD</a> recently added <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.mountainprotocol.com/reference/usdm-token">USDM</a>(RWA). Partial liquidation is improving, especially crvUSD&apos;s soft liquidation, creating a buffer against further bad debt via their customized AMM. However, the ve-token incentive model falls, as witnessing the crvUSD market cap shrink when CRV&apos;s valuation drops after large liquidations.</p></li><li><p><strong>Synthetic dollar uses hedging to maintain stability</strong>: <br><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://ethena.fi/">Ethena USDe</a> single-handedly made up 1.67% stablecoin market cap at $3B in one year. It&apos;s a delta-neutral synthetic dollar that opens short positions in derivatives to counteract volatility. The funding rate is expected to perform well during the upcoming bull market, even post-point seasons. However, its long-term viability that relies heavily on CEXs, is questionable. As similar products proliferate, the impact of small funds on Ethereum will likely diminish. These synthetic dollars are potentially vulnerable to black swan events and persistently low funding rates during bear markets.</p></li><li><p><strong>Algorithm stablecoins diminished to 0.56%</strong></p></li></ul><h3 id="h-liquidity-bootstrapping-challenge" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Liquidity Bootstrapping Challenge</h3><p>Crypto stablecoins leverage yield to attract liquidity. <strong>Fundamentally, their liquidity cost comprises the risk-free interest rate plus a risk premium.</strong> To remain competitive, stablecoin yields must at least match T-bill rates—we&apos;ve seen stablecoin borrowing costs decline as T-bill rates reached 5.5%. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.coingecko.com/en/coins/staked-frax">sFrax</a> and <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.coingecko.com/en/coins/dai">DAI</a> led the way in T-bill exposure. In 2024, several Real World Asset (RWA) projects boosted on-chain T-bill composability: CrvUSD added <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.mountainprotocol.com/reference/usdm-token">USDM</a> from Mountain as collateral, while <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/Securitize/status/1839285964398539172">Ondo&apos;s USDY and Ethena&apos;s USDtb are backed by BlackRock&apos;s BUIDL</a>.</p><p>Based on T-bill rates, stablecoins employ various strategies to add risk premiums, including <strong>fixed-budget incentives like DEX emissions</strong>(constraint and death spiral); <strong>user fees</strong> (tied to lending and perp volume); <strong>arbitrage from volatility</strong>(Fall when volatility wanes); <strong>reserve utilization</strong> like staking or restaking (not appealing).</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/1b523f79fde14ca2ec1f2139f0f9aa46f2577364c8c5d096197809e733a535e9.webp" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>Innovative liquidity strategies are emerging in 2024:</p><ul><li><p><strong>Maximize in-block yield:</strong> While lots of yields currently stem from self-consuming DeFi inflation as an incentive, more innovative strategies are emerging. By leveraging reserves as a bank, projects like <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/CapLabs_">CAP aim to funnel MEV and arbitrage profits</a> directly to stablecoin holders, offering a sustainable and potentially more lucrative yield source.</p></li><li><p><strong>Compound with T-bill yield:</strong> <br>Leveraging RWA projects&apos; newfound composability, initiatives like <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://usual.money/about?gad_source=1&amp;gclid=Cj0KCQiArby5BhCDARIsAIJvjIT8mDrEqNhaGr7-T_DFhKG_DZYQxQ57TTEGOPEuYUhbv8Ef92_49S8aAs9YEALw_wcB">Usual Money (USD0)</a> offer “theoretically” unlimited yield through their governance token, with T-bill yields serving as a baseline- attracted $350M from LPs and got on Binance launchpool. Agora(<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.agora.finance/">AUSD</a>) is also a t-bill yield-bearing off-shore stablecoin.</p></li><li><p><strong>Balanced high yield resists volatility:</strong> <br>Newer stablecoins employ a diversified basket approach, avoiding singular yield and volatility risk and providing a balanced high yield. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/__reservoir">Fortunafi&apos;s Reservoir</a>, for instance, allocated T-bills, Hilbert, Morpho, PSM and adapts the portion dynamically and incorporates other high-yield assets as needed.</p></li><li><p><strong>Is your TVL a flash in the pan?</strong> <br>Stablecoin yield often struggles with scalability. While fixed-budget yield can trigger initial spikes, growing TVL dilutes returns, diminishing yield effectiveness over time. Without sustainable yields or genuine utility in trading pairs and derivatives post-incentive, their TVL is unlikely to be stuck around.</p></li></ul><h3 id="h-defi-gateway-dilemma" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">DeFi Gateway Dilemma</h3><p>Onchain visibility allows us to examine the true nature of stablecoins: Are stablecoins genuine representations of money being used as mediums of exchange or merely financial products for yield?</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/da651d380949a9ccca4c541f3362fae7a39c2b315f949bcfd127f24f0668b603.webp" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/1f585e5525627b0283ab874c8498eb485927680cc6f997f6eda9a785f3a8c184.webp" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><ul><li><p><strong>Only best-interest stablecoins are used as trading paris on CEXs:</strong> <br>Nearly 80% of trades still occur on centralized exchanges, with top CEXs supporting their ‘preferred’ stablecoins (e.g., FDUSD for Binance, USDC for Coinbase). Other CEXs rely on USDT and USDC&apos;s overspilled liquidity. Moreover, stablecoins are trying hard to be the CEX’s margin deposits.</p></li><li><p><strong>Few stablecoins are used as trading pairs on DEXs:</strong> <br>Only USDT, USDC, and a small amount of DAI are being used as trading pairs today. Other stablecoin, such as Ethena with 57% of USDe staked into its own protocol, <strong>are purely financial products held to earn yield, far from a medium of exchange.</strong></p></li><li><p><strong>Makerdao + Curve + Morpho + Pendle, a set distribution combo:</strong> <br>Markets like Jupiter, GMX, and DYDX prefer USDC as deposits since USDT has a more skeptical mint-redemption process. Lending platforms like Morpho, and AAVE prefer USDC since it has better liquidity on Ethereum. On the other hand, PYUSD is mainly used for lending on Solana’s <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://app.kamino.finance/">Kamino</a>, especially when there are incentives being offered by the Solana Foundation. Ethena’s USDe is mainly used in Pendle for yield activities.</p></li><li><p><strong>RWA is under-valued:</strong> <br>Most of the RWA platforms like BlackRock use USDC as minting assets out of compliance consider, also BlockRock is a shareholder of Circle. DAI success in their RWA products.</p></li><li><p><strong>Growing the pie or venturing beyond:</strong> <br>Although stablecoins can attract major liquidity providers through incentives, they face a bottleneck- DeFi usage has been declining. <strong>Stablecoins now face a dilemma: they must either wait for crypto-native activities to expand or seek new utility beyond it.</strong></p></li></ul><hr><h2 id="h-aliens-in-the-fully-banked-world" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Aliens in the Fully-Banked World</h2><h3 id="h-key-players-on-the-move" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Key Players on the Move</h3><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/d7d65463b5da524e2ce87f021464a956b5fb78c5bc0cd7625f923e8f08790c11.webp" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><ul><li><p><strong>Global regulation is gaining clarity:</strong><br>99% of stablecoins are USD-backed, with the Federal having ultimate influence. The U.S. regulatory framework is expected to clarify after crypto-friendly Trump&apos;s presidency, with his promises to lower interest rates and <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.bloomberg.com/news/articles/2024-07-19/trump-s-disdain-for-digital-dollar-risks-cold-war-era-in-money">ban CBDCs</a> potentially benefiting stablecoins. The <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://home.treasury.gov/system/files/221/CombinedChargesforArchivesQ42024.pdf">U.S. Treasury report</a> notes stablecoins&apos; impact on short-dated Treasuries demand, with Tether holding $90 billion in U.S. debt. Crypto crime prevention and maintaining dollar dominance also are the motivations.In 2024, several countries established regulations under common principles, including <strong>approval for stablecoin issuance, reserve liquidity and stability requirements, foreign-currency stablecoin usage limitations, and often, banned interest generation</strong>. Key examples: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.esma.europa.eu/esmas-activities/digital-finance-and-innovation/markets-crypto-assets-regulation-mica">MiCA</a> (E.U), <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://rulebook.centralbank.ae/en/rulebook/payment-token-services-regulation">PTSR</a> (U.A.E.), <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.hkma.gov.hk/eng/news-and-media/insight/2024/07/20240718/">sandbox</a> (HongKong), <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.msiglobal.org/resource/singapore-finalises-its-new-regulatory-framework-for-stablecoin.html">MAS</a> (Singapore), <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.japaneselawtranslation.go.jp/en/laws/view/4477">PSA</a> (Japan) Notably, Bermuda became the first nation to <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.notion.so/Stablecoin-Playbook-Flipping-Billions-to-Trillions-120dde23417f80cfa713fde2d5513272?pvs=21">accept stablecoin tax payments</a> and license interest-bearing stablecoin issuers.</p></li><li><p><strong>Licensed issuers are getting trust:</strong> <br>Stablecoin issuance requires technical prowess, regulatory compliance across regions, and robust management. Key players include <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://paxos.com/">Paxos</a> (PYUSD, BUSD), <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://brale.xyz/">Brale</a> (USC) and <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.bridge.xyz/">Bridge</a>(B2B API). Reserve management is handled by trusted institutions like BNY Mellon for USDC, and securely generating yield by investing in its BlackRock-managed fund. BUIDL now allows broader onchain projects to get yield.</p></li><li><p><strong>Banks are the off-ramp gatekeepers:</strong> <br>While on-ramping(fiat-to-stablecoin) has become easier, off-ramping(stablecoin-to-fiat) challenges persist as banks struggle to verify the source of incoming funds. Banks favor licensed exchanges like Coinbase and Kraken, which conduct KYC/KYB and have similar AML frameworks. While high-reputation banks like Standard Chartered start to embrace off-ramping, small and medium-sized banks are moving fast, like DBS bank in Singapore. B2B services like <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.bridge.xyz/">Bridge</a> aggregates off-ramp channels, and managed billions in volume for high-profile clients including SpaceX and the US government.</p></li><li><p><strong>Distributors has the ultimate say:</strong> <br>Circle, as the compliant stablecoin leader, relies on Coinbase and is now pursuing global licenses and partnerships. However, this strategy could be undermined as institutions issue their own stablecoins due to the unparalleled business model—Tether, a 100-employee company profited $5.2 billion from investing its reserve in H1 2024. <strong>Banks</strong>, like JPMorgan, have already launched JPM Coin for institutional transactions. <strong>Payment</strong> apps, Stripe&apos;s acquisition of Bridge showed interest in owning the stablecoin stack rather than merely integrating USDC. PayPal, too, issued PYUSD to capture reserve yield. <strong>Card networks</strong>, Visa and Mastercard are testing the water by accepting stablecoins.</p></li></ul><h3 id="h-efficiency-enabler" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Efficiency Enabler</h3><p>With trusted issuers, healthy banking relationships, and distributors as foundations, stablecoins can enhance efficiency in large-scale financial systems, particularly in payments.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/ebcdfffb6e66bba0808d0b739813eb2fb7f65bd4c9bd30150af9b4eb28d08a0c.webp" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>Traditional systems face efficiency and cost limitations. Inner-app or inner-bank transfers offer instant settlements, but only within their ecosystems. Inter-bank payments incur fees of about 2.6% (70% to issuer bank, 20% to acquirer bank, 10% to card networks) and take over a day to settle. Cross-border transactions are even costlier at roughly 6.25%, with settlement times up to five days.</p><p><strong>Stablecoin payments, by eliminating intermediaries, provide peer-to-peer instant settlement</strong>. This accelerates money velocity and reduces capital costs, while offering programmability features such as conditional auto-payments.</p><ul><li><p><strong>B2B (annual $120-150 trillion):</strong> <br>Banks are at best position pushing stablecoins. JPMorgan Chase has developed JPM Coin on its Quorum chain, as of October 2023, JPM Coin is used for about <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.bloomberg.com/news/articles/2023-10-26/jpmorgan-says-jpm-coin-now-handles-1-billion-transactions-daily?sref=CIpmV6x8">$1 billion of transactions each day</a>.</p></li><li><p><strong>P2P (annual $1.8-2 trillion):</strong> <br>E-wallet and mobile payment apps are in the best position, PayPal has launched PYUSD, with currently $604 million market cap on Ethereum and Solana. PayPal enables end users to onboard and send PYUSD for free.</p></li><li><p><strong>B2C commerce (annual $5.5-6 trillion):</strong> <br>Stablecoins need to work with POS, entry point with Banking API, and card network, Visa became the first payment network to settle transactions in USDC back to 2021.</p></li></ul><hr><h2 id="h-mavericks-in-the-under-banked-world" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Mavericks in the Under-banked World</h2><h3 id="h-shadow-dollar-economy" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Shadow Dollar Economy</h3><p>Emerging markets desperately need stablecoins due to severe currency devaluation and economic instability. In Turkey, stablecoin purchases accounted for 3.7% of its GDP. People and businesses are willing to pay a premium for stablecoins over fiat USD, with Argentina&apos;s stablecoin premium reaching 30.5% and Nigeria&apos;s 22.1%. Stablecoins offer dollar access and financial inclusion.</p><p>Tether dominates this space with a reliable 10-year track record. Even with their tricky banking relationships and redemption crisis—Tether admitted in April 2019 that USDT was only 70% backed by reserves—the peg remains stable. This is because Tether built a robust shadow dollar economy: In emerging markets, people rarely off-ramp USDT; they view it as dollars, this phenomenon is evident in regions like Africa and Latin America for paying employees, invoices, etc. Tether achieved this without incentives, solely through prolonged existence and consistent utility, enhancing its credibility and acceptance. This should be every stablecoin&apos;s ultimate goal.</p><h3 id="h-dollar-access" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Dollar Access</h3><ul><li><p><strong>Remittance:</strong> <br>Remittance inequality slows economic growth. On average, an economically active individual in sub-Saharan Africa is charged 8.5% of the total remittance when sending money into LMICs and developed countries. For business even harder, high fees, long processing times, bureaucracy, and exchange rate risk are barriers that directly affect the growth and competitiveness of companies in the region.</p></li><li><p><strong>Dollar access:</strong> <br>Currency volatility cost 17 emerging market countries $1.2 trillion in GDP from 1992 to 2022—a staggering 9.4% of their total GDP. Access to dollars is crucial for local financial development. Many crypto projects are dedicated to on-ramping, with ZAR focusing on grassroots &quot;DePIN&quot; methods. These methods leverage local agents to facilitate cash-to-stablecoin transactions in Africa, Latin America, and Pakistan.</p></li><li><p><strong>Foreign exchange:</strong> <br>Today, the FX market facilitates over $7.5 trillion in daily volumes ****In the Global South, individuals often resort to the black market to convert local fiat currencies into U.S. dollars, primarily due to more favorable rates compared to official channels. Binance P2P has started to be adopted, but due to its order book manner, it lacks flexibility. Many projects like ViFi are building onchain AMM FX solutions.</p></li><li><p><strong>Humanitarian aid disbursement:</strong><br>Ukraine war refugees can receive <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.unhcr.org/news/press-releases/unhcr-wins-award-innovative-use-blockchain-solutions-provide-cash-forcibly">humanitarian assistance in the form of USDC</a>, which they can store in a digital wallet or cash out locally. In Venezuela, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://decrypt.co/49088/us-government-use-usdc-stablecoin-bypass-venezuela-maduro">frontline healthcare workers used USDC</a> to pay for medical supplies during the COVID-19 pandemic amid a deepening political and economic crisis.</p></li></ul><hr><h2 id="h-ending-intertwined" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Ending: Intertwined</h2><h3 id="h-interoperability" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Interoperability</h3><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/3739489906ac35ac66e04e83b57e6f61b537075411773149101a879572569b65.webp" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><ul><li><p><strong>Foreign Exchange(FX):</strong></p><p>Traditional FX system is highly inefficent, it faces <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://medium.com/stablecorp/the-seven-defining-opportunities-in-on-chain-fx-a2d55b5b87a0">several</a> challenges: <strong>counterparty settlement risk</strong> (<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.risk.net/risk-management/7719661/cls-cant-live-with-em-cant-live-without-em">CLS e</a>nhanced but cumbersome), <strong>cost of multi-banking system(</strong><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.cls-group.com/media/mrgpmp2c/sringlobalfxoctober2016.pdf">Six banks are involved in an Australian bank&apos;s JPY purchase to a London USD office</a>), <strong>global settlement timezone differences</strong>(<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.bis.org/cpmi/publ/d203.pdf">CAD and JPY banking systems overlap for fewer than 5 hours a day</a>), <strong>limited access to FX markets</strong> (Retail users pay up to 100 times more than large institutions). Onchain FX offers significant advantages:</p><ul><li><p><strong>Cost, Efficiency, and Transparency:</strong> Oracles like Redstone and Chainlink provide real-time price quotes. DEXs offer cost efficiency and transparency, with Uniswap CLMM enabling trading costs of 0.15-0.25%—roughly 90% lower than traditional FX. The shifting from T+2 banking settlement to instant settling provides arbitrageurs can employ various strategies to correct mis-pricing.</p></li><li><p><strong>Flexibility and Accessibility:</strong> Onchain FX gives corporate treasurers and asset managers exposure to a wide range of products without requiring multiple currency-specific bank accounts. Retails can use a crypto wallet with embedded DEX API to get the best FX price.</p></li><li><p><strong>Separation of Currency and Jurisdiction:</strong> Transactions no longer require domestic banks, divorcing them from the underlying jurisdiction. This approach harnesses the efficiencies of digitization while maintaining currency sovereignty, though pros and cons remain.</p></li></ul><p>However, challenges remain, including the scarcity of non-USD-denominated digital assets, oracle security, support for long-tail currencies, regulatory, and unified interfaces with on/off-ramp. Despite these obstacles, onchain FX presents lucrative opportunities. For instance, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.citigroup.com/global/news/press-release/2023/citi-develops-blockchain-fx-solution-under-the-monetary-authority-of-singapore-project-guardian">Citi is developing a blockchain FX solution</a> under the guidance of the Monetary Authority of Singapore.</p></li><li><p><strong>Stablecoin Exchange:</strong></p><p>Imagine a world where most companies are issuing their own stablecoins. A stablecoin exchange proposes a challenge: Paying JP Morgan’s merchant using PayPal’s PYUSD. Although off-and-on ramps can solve the problem, they lose the efficiency crypto promises. Onchain AMMs provide the best real-time and low-cost stablecoin-to-stablecoin. For instance, Uniswap offers a number of such pools with fees as low as 0.01%. However, once a multi-billion is brought onchain, they have to trust the smart contract security, and there must be deep enough liquidity with instant performance to support in-real-life activities.</p></li><li><p><strong>Cross-chains Exchange:</strong></p><p>Major blockchains have diverse strengths and weaknesses, leading stablecoins to deploy across multiple chains. This multi-chain approach introduces cross-chain challenges, with bridges posing HUGE security risks. In my view, the optimal solution is for stablecoins to launch their own layer 0, as seen with <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.circle.com/cross-chain-transfer-protocol">USDC&apos;s CCTP</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://medium.com/layerzero-ecosystem/paypal-usd-pyusd-integrates-layerzero-to-connect-across-chains-enabling-seamless-transfers-cde9b242ecdf">PYUSD&apos;s Layer0 integration</a>, and we’ve witness <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/tether_to/status/1854146277564445040?s=46">USDT&apos;s move to recall bridge-locked tokens potentially launch a Layer0-like solution</a>.</p></li></ul><h3 id="h-" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"></h3><p>Meanwhile, several open questions remain:</p><ul><li><p>Will regulations compromise &quot;open finance,&quot; given that compliant stablecoins are able to potentially monitor, freeze, and withdraw funds?</p></li><li><p>Will compliant stablecoins still avoid providing yields that could be classified as security products, thereby preventing onchain DeFi from benefiting from their massive expansion?</p></li><li><p>Can any open blockchain truly handle vast sums of money, considering Ethereum&apos;s slow speed and its L2s&apos; reliance on single sequencers, Solana&apos;s imperfect uptime record, and the lack of long-term track records for other hyped chains?</p></li><li><p>Will the separation of currency and jurisdiction introduce more chaos or opportunities?</p></li></ul><p>The financial revolution led by stablecoin ahead of us is as exciting as it is unpredictable—a new chapter where freedom and regulation dance in a delicate balance.</p>]]></content:encoded>
            <author>sevenxventures@newsletter.paragraph.com (SevenX Ventures)</author>
            <enclosure url="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/54c11e76d02540f30ce55d59cabcc56ae49712ab44267eb5bfed6f45ed6bbefc.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[AO: AI-Oriented Super Parallel Computer]]></title>
            <link>https://paragraph.com/@sevenxventures/ao-ai-oriented-super-parallel-computer</link>
            <guid>UpdXLYfn3ZH9c2ZBIEWu</guid>
            <pubDate>Fri, 12 Jul 2024 09:06:45 GMT</pubDate>
            <description><![CDATA[AO IntroThe AO computer is the actor-oriented machine that emerges from the network of nodes that adhere to its core data protocol, running on the Arweave network. Inspired by the original actor model and Erlang, ao does not allow processes to share memory between one another but does allow them to coordinate via a native message-passing standard. Each of these processes can then be operated at the full speed of the computing resources that are available, without interfering with one another....]]></description>
            <content:encoded><![CDATA[<h2 id="h-ao-intro" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">AO Intro</h2><p>The AO computer is the actor-oriented machine that emerges from the network of nodes that adhere to its core data protocol, running on the Arweave network. Inspired by the original actor model and Erlang, ao does not allow processes to share memory between one another but does allow them to coordinate via a native message-passing standard. Each of these processes can then be operated at the full speed of the computing resources that are available, without interfering with one another.</p><h2 id="h-tech-architecture" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Tech Architecture</h2><p>The best place to understand the architecture of AO is the official doc. Here I will briefly walk through the core parts so we are ready for the discussion later.</p><p>The fundamental components of ao are as follows:</p><ul><li><p>Processes: The network&apos;s unit of computation. Processes are represented by a log of interacting messages stored on Arweave, as well as an initialization data item (its VM, scheduler, memory requirements, and necessary extensions).</p></li><li><p>Messages: Every interaction with a process in ao is represented by a message, which is an ANS-104 compliant data item. Users and processes can send messages to other processes on the network by way of scheduler units.</p></li><li><p>Scheduler Units (SUs): Scheduler Units are responsible for atomically incrementing slot numberings to the messages that are sent to a process. After the assignment, schedulers are required to ensure that data is uploaded to Arweave. Processes have free choice of their preferred sequencer, which can be implemented in a variety of ways: Decentralized, centralized, or even user-hosted.</p></li><li><p>Compute Units (CUs): Compute Units are nodes that users and messenger units can use in order to calculate the state of processes in AO. Once the computation of a state is completed, the CU will return to the caller a signed attested of the output (logs, outboxes, and requests to spawn other processes) of the resolution of a specific message.</p></li><li><p>Messenger Units (MUs): Messenger Units are nodes that relay messages around the AO network according to a process called cranking. In essence, when MUs crank a message around the system they send it to the appropriate SU for a process, then coordinate with a CU in order to calculate the output of the interaction, and then repeat the process recursively for any resulting outbox messages. Users and processes can also pay a MU to subscribe to a process, cranking any messages that result from its timed interactions. Processes can also optionally label a message as a cast – leading the MU to send the message to its SU, but not listen for a response.</p></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/e1328a55ed3a2d77a789e94e501930865deb2e810b153bc1d5e6b6efb935a43a.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>One simple way to fit AO into the existing L1/L2 model is by imagining multiple co-processors running under different VMs, machines and even consensus models spread into a network. If we were to draw a comparison between parts of AO to parts of a traditional L1/L2:</p><ul><li><p><strong>Onchain states = Messages backed up on Arweave</strong></p><p>AO does not have a straightforward global state. Instead, when observing the latest or historical state of a dapp, one needs to access the historical messages involved with the dApp&apos;s processes on Arweave and then recontruct its state progression until the latest message. Therefore, AO&apos;s state might seem different if one were to observe different dapps at a different time. Sometimes the state might even be in conflict. The invalid message should be ignored by the observer according to pre-defined consensus mechanism of the dapp at its initiation. Therefore AO&apos;s state is always holographic, and it&apos;s not very meaningful to construct a global consensus state.</p></li><li><p><strong>RPCs = Messaging Units + Gateway</strong></p><p>Front-ends send computation demands and retrieve computation results via MUs, similar to how users initiate transactions and observe the onchain state via the query from an RPC provider.</p></li><li><p><strong>Full Node = Computation Units</strong></p><p>This is where the VMs are hosted and the computations are conducted. The difference is that the computation in CUs is stateless, while full nodes store their input and output in the state of their blockchain. Also, full nodes take care of the consensus mechanism of their chain and conduct P2P communication all the time. CUs in AO are only involved in consensus mechanisms when required.</p></li><li><p><strong>Sequencer = Scheduler</strong></p><p>In a traditional blockchain, the sequencer puts transactions in a specific sequence so that the end state can be computed in a deterministic way. In AO, the scheduler can determine the end state of a process by putting messages in a specific sequence. It&apos;s just that these messages are a lower-level representation of a transaction, not necessarily calling a specific function.</p></li><li><p><strong>Data Availability Layer = Arweave</strong></p><p>Arweave serves a similar role to a DA layer, but not in the sense of ensuring that all states are published, but by ensuring that all the state &amp; information (including initial state, computation logic, input, middle state, and end state) needed to reconstruct the entire history of a computation can be retrieved. State retrievability ensures that all computations conducted on the AO network can be lazily/optimistically verified.</p></li></ul><p>The advantage of AO&apos;s architecture is quite clear from a traditional blockchain. Instead of trying to figure out the best place to optimize (big vs small blocks, PoW vs PoS, parallel vs sequential, monolithic VS modular, etc), AO throws everything out of the window and gives dapps, or more specifically their processes, maximum flexibility on how they would like to exist. One process can choose to have 50 SUs (running PoS to ensure sequencer decentralization), then 1 CU (sitting in a data center for maximum performance), together with 3 MUs (sitting in the 3 different data centers in the same area to ensure low latency but running 2/3 multi-sig to eliminate single point of failure on backing up messages to Arweave). Even if something goes wrong, the entire historical state of the dApp&apos;s process can still be retrieved from Arweave and a hard or soft fork on the dApp&apos;s state tree can always be implemented.</p><p>The flexibility of Arweave ensures that it remains maximally wide open for any dApp&apos;s infrastructure need. AO is essentially taking the bottle of &quot;lazy verification&quot; pills and emptying the whole bottle down its throat. By lazily verifying everything (including the computation, consensus mechanism, and even the P2P communication), a dapp can choose to run on the most affordable infra, the most performant infra, or the most economically secured infra, all within a change on their process&apos;s parameters. For most applications, this drastically saved their cost on all items that would need to carry the weight of a consensus mechanism or economic guarantees until it&apos;s absolutely needed.</p><h2 id="h-custom-made-for-decentralized-ai" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Custom-made for Decentralized AI</h2><p>Among the various use cases on the blockchain, AI use cases has been the least explored one, given it&apos;s very recent emergence. In the following section, we will break down the demand for decentralized AI and explain why the AO architecture is the best</p><p>If the use case needs to scale in a horizontal way, why choose vertical scaling for your infra?</p><p>Decentralized AI needs access to:</p><ul><li><p><strong>Decentralized model (hosting &amp; training)</strong></p><p>A decentralized AI infrastructure requires access to decentralized model hosting and training to ensure the robustness and resilience of AI models. Traditional centralized AI systems are prone to single points of failure, making them vulnerable to manipulation.</p></li><li><p><strong>Decentralized data (training, fine-tuning &amp; inference)</strong></p><p>Access to decentralized data for training, fine-tuning, and inference is crucial for building robust and diverse AI systems. Centralized data storage can create bottlenecks and censorship of information. Decentralized data input also allows for more diverse and representative datasets, as data can be sourced from places previously underpaid for their contribution. Decentralized data access supports collaborative efforts in AI development, enabling multiple stakeholders to contribute and verify data quality, which is essential for developing unbiased and accurate AI models.</p></li><li><p><strong>Decentralized computation</strong></p><p>Centralized computation systems are limited by their finite resources and cost structures. Decentralized computation allows for parallel processing and distributed workloads, making it possible to tackle complex AI tasks that require substantial computational power.</p></li></ul><p>Both the above demands should have the following characteristics.</p><ul><li><p><strong>Super-Scalable</strong></p><p>For a decentralized AI infrastructure to be effective, it must be super-scalable, and capable of expanding its resources seamlessly to accommodate growing demands. Super-scalability ensures that as more data and computational tasks are added to the network, the system can scale horizontally without significant performance degradation. This characteristic is vital for supporting the continuous growth and evolution of AI models, which often require increasing amounts of data and computational power.</p></li><li><p><strong>Decentralized Pricing</strong></p><p>A decentralized pricing mechanism is essential for fostering a fair and competitive ecosystem for AI services. Traditional centralized pricing models such as multi-tier subscriptions or token fees is not efficient enough to fully reflect the dynamics of flexible AI usage. Having the price reflected by market dynamics is the best way to cope with the flexibility needed for AI services.</p></li><li><p><strong>Censorship Resistant</strong></p><p>Censorship resistance is a critical characteristic of decentralized AI infrastructure, ensuring that AI models and data remain accessible and unaltered by any single authority. In centralized systems, entities with control over the infrastructure can impose restrictions or manipulation, potentially leading to biased or censored outcomes. The resistance to censorship preserves the integrity and neutrality of AI models, fostering trust and reliability in AI-driven decisions.</p></li><li><p><strong>Autonomous (self-starting and sustaining)</strong></p><p>Autonomy is a defining feature of decentralized AI infrastructure, enabling systems to self-start and sustain without human intervention. Autonomous AI can dynamically manage resources, adapt to changing conditions, and recover from failures independently. We can only witness the true power of AI by ensuring that the AI can operate in an ever-lasting environment and evolve autonomously, without arbitrary guidelines pointing their fingers.</p></li></ul><p>Decentralized AI will incur the following costs to deploy and operate</p><ul><li><p><strong>Cost of Storage</strong></p><p>Decentralized AI would need plenty of space for it&apos;s model, data input and data output. AO leverages Arweave for the cheapest permanent and decentralized storage. Arweave significantly reduces the long-term cost of storage for decentralized AI systems, making it a cost-effective choice for managing large datasets necessary for AI training and operations.</p></li><li><p><strong>Cost of Computation</strong></p><p>Computation on the blockchain is generally much more expensive than computation on a server or on a PC. The extra costs come from redundancy or other ways to ensure validity. It&apos;s hard to lower the computation price beyond the machine cost. AO provides the maximum flexibility on how much redundancy is needed, or to what extent is validity ensured.</p></li><li><p><strong>Cost of Communication/Bandwidth</strong></p><p>Decentralized AI systems incur costs related to communication and bandwidth as data and computational tasks need to be transmitted across the network. One of AO&apos;s greatest cost savings on bandwidth is the reduction in handshake operations by implementing the actor-oriented model. Messages can choose to be simply be casted to avoid costing the bandwidth a response. Also, AO&apos;s flexibility is designed to optimize these costs by giving this power to the AI (dapp) where they can decide for themselves how much data exchanges are needed beyond the absolute basics, optimizing for performance, security, and decentralization VS cost and latency. It&apos;s a fair assumption that an AI on AO would be much cheaper to run than other networks not implementing the Actor Oriented Model.</p></li><li><p><strong>Cost of Validity</strong></p><p>Ensuring the validity of data and computations is crazy expensive, especially under the scale of AIs. Validity technology such as ZK proofs has been focusing on the validity of the computational process. Today it&apos;s still way too expensive for AIs, introducing 1000X overhead. On AO, validity is lazily verified. One can still reconstruct the entire computation based on the messages stored on Arweave, without having to prove the validity of the computational process. In AO, validity is relative. States are observed as a holographic state. There is no one single global state consensus. Every single state is &quot;perceived&quot; or &quot;observed&quot; to be correct by querying from a different node of AO. This works in a very similar way to EigenLayer&apos;s &quot;inter-subjectivity&quot; where whether a statement is valid or not is not entirely subjective or objective.</p></li><li><p><strong>Cost of Consensus</strong></p><p>Consensus is almost always achieved through some form of redundancy with a fault tolerance mechanism and anti-sybil mechanism on top. The Arweave storage already handles fault tolerance and anti-sybil. So for the dapps constructed on AO, there is no immediate need to implement the cost of consensus in the first place. Consensus can always be implemented when the economic situation of the dapp improves and the cost of not having enough consensus grows. The consensus cost of AO comes from the consensus of CU and Arweave itself. If a user chooses to, multiple CUs can conduct computations in parallel and the result is chosen or calculated based on a pre-defined consensus mechanism. The consensus of the starting state of an AI, the ending state, and all middle states are stored on Arweave and can be inferred by running through all the intermittent messages.</p></li></ul><p>To summarize the rundown for AO&apos;s technical architecture, it&apos;s evident that AO has offered a network under the Actor Oriented Model that offers enough validity and consensus (through Arweave and lazy verification), high flexibility on computation (from super affordable to super performance), and great cost optimization and decentralized storage and decentralized communication. These advantages lines up nicely with the emerging decentralized AI where loads on computation, bandwidth, and storage is tremendous, especially decentralized.</p><h2 id="h-ecosystem-projects" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Ecosystem Projects</h2><p>AO does not directly enforce any direct consensus or security mechanism upon the computations. Instead, it offers a flexible system from which economic security mechanisms can be implemented. This opens up a huge design space for both infrastructures and applications.</p><p>Besides the standard WASM implemented by the Forward Research team as a demo/default option, developers would have several other options to play with when it comes to deploying their smart contract on AO.</p><ul><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://everpay.io/">EverPay</a>: The EverVison team built everPay, a real-time payment settlement layer that uses the storage computing paradigm, where all calculations are done off-chain and the results are synchronized with Arweave. There are already several dapps running on the everpay infra including Permaswap (DEX), ARIS (Inscription), and WeWeave (storage service)</p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/mem_tech">MEM.Tech</a> (Molecular Execution Machine): MEM is a layer enabling flexible, chain-agnostic serverless functions, secured by Arweave. The MEM protocol leverages 3EM, supporting languages that can compile to WebAssembly (WASM), such as AssemblyScript, JavaScript, TypeScript, Rust, C/C++, Zig, GoLang, Solidity, and Vyper. MEM is also natively chain-agnostic, allowing authentication from 14 EVMs and non-EVM chains, and can call data from any chain or API.</p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.wvm.dev/">WeaveVM</a>: WeaveVM is a hyper-scalable, lazy-evaluated EVM protocol to compute data at any scale. It&apos;s the first EVM-compatible protocol that fully relies on Arweave for permanent storage, enabling atomicity of executable EVM bytecode and data of any size on the same ledger.</p></li></ul><p>Several other middle-ware is also made available for the AO Network.</p><ul><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://AR.IO">AR.IO</a>: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://AR.IO">AR.IO</a> is the decentralized and incentivized gateway node network of the Arweave ecosystem. The various nodes on the <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://AR.IO">AR.IO</a> Network, known as gateways, are the interface between users and the permaweb. Each gateway acts like a “Permaweb Service Provider” and supports multiple, value-added, services like reading, writing, querying, and indexing of Arweave data.</p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/aox_xyz">AOX</a>: AOX is a bridge facilitating bridging the AR token from Arweave into AO, or out of AO to Arweave.</p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.0rbit.co/">0rbit</a>: 0rbit is the Decentralized Oracle Network built on AO to provide access to limitless data on any AO process. 0rbit can also bring data from any valid URL to an AO process. Building with 0rbit is as simple as making an HTTP GET or POST request to an API.</p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.ao.link/">AO.Link</a>: Built by the Autonomous Finance team, ao.link serves as a message explorer for the ao Network, offering functionalities similar to block explorers in conventional blockchain systems. It includes message computing capabilities, graphical visualization of message links for clarity, real-time message streaming for up-to-date information, and a list of linked messages for organized navigation.</p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.dataos.so/">DataOS</a>: Built by the Autonomous Finance team, DataOS is a protocol developed atop the AO Network, leveraging it for computing power and Arweave for data storage, creating a synergistic foundation for its operations. As a ContentFI protocol, DataOS employs autonomous AI agents to source and regenerate content derivatives, aiming to foster engagement and fulfill the intent of consumers.</p></li></ul><p>Beyond infras, AO has a very exciting application ecosystem landscaping across the basics defi and new exciting AI applications:</p><p>Defi:</p><ul><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.permaswap.network/#/">Permaswap</a>: Permaswap Network is a fully decentralized P2P network where LPs in the network are peer-to-peer self-hosted accounts and assets are self-managed by the user&apos;s private key. The nodes in the network perform price calculations and build peer-to-peer orders in a distributed manner according to protocol rules. Users can trade on Permaswap with extremely low gas fees without experiencing MEV issues. At the same time, the network protocol can flexibly support multiple AMM algorithms.</p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://arswap.org/">ArSwap</a>: ArSwap is a next-generation Automated Market Maker (AMM) built on the AO blockchain. Leveraging the unique capabilities of AO, ArSwap offers decentralized swapping, liquidity provision, and yield farming services with unparalleled security and efficiency. ArSwap introduces innovative features like dynamic swapping pools and custom liquidity schemes, enabling users to maximize returns while minimizing risks.</p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://bark.arweave.dev/">Bark</a>: Built by Community Labs, Bark is A decentralized AMM exchange backed by token liquidity pools.</p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.astrousd.com/">Astro</a>: Astro is a stablecoin protocol on the AO network where users can use the $AR token as collateral and mint the $USDA stablecoin. Astro introduces innovations like Wrapped Arweave (wAR) and a unique liquidation mechanism with Bark AMM, enhancing permaweb liquidity and stability.</p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://goharvest.app/#about-us">Harvest:</a> Harvest is an RWA marketplace for natural resources, featuring land, cattle, and other natural investments from Colombia. Harvest has built-in profit mechanisms, allowing the investor to get exposure to the additional cash flow from their investment. For example, milk &amp; offspring revenue from investing in a cow.</p></li><li><p>Mentions on memecoins: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/JonnyRingo711/status/1767561018677600632">$TRUNK</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://medium.com/@aetherisproject/aetheris-project-1b004d485b1d">Aethirs</a> (which consists of several other memecoins: $FIRE, $AIR, $WATER, which can be composed into some other memecoins: $Lava, $Dust, $Mud, $Lightning, $Steam and $Ice).</p></li></ul><p>AI Applications:</p><ul><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.autonomous.finance/about">Autonomous Finance</a>: Autonomous Finance is a dedicated research and technology entity, focusing on the intricacies of financial infrastructure within the AO network. Autonomous Finance team is building AI onchain and generating new data-driven financial primitives. Autonomous Finance is developing composable semi and fully autonomous agents. The autonomous agents will be self-learning and executing logic using onchain data streams.</p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/Autonomous-Finance/dca-agent">Autonomous DCA Agent</a>: Built by the Autonomous Finance team, Autonomous DCA Agent is an Autonomous Investment Agent (AIA) executing a dynamic dollar-cost-average (DCA) investment strategy across various liquidity pools within the AO ecosystem. It automatically buys a base token at predetermined, user-configurable intervals using a consistent amount of a quote token for each transaction.</p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://x.com/aogamesorg">AO Games</a>: AO Games is a fully decentralized game launchpad on AO. Looking to build games delivering a Web2-level experience with fully decentralized games. The team will also introduce On-Chain AI so that the gameplay experience can adapt, learn, and evolve.</p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.outcome.gg/predictions">Outcøme</a>: Built by the <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://Puente.ai">Puente.ai</a> team, Outcome is a prediction market hyper-focused on the AO ecosystem. The prediction markets center around AO, games, defi, memes, business, and technology. Users bet whether they are &quot;IN&quot; or &quot;OUT&quot; of a prediction. Users can also claim daily tokens, predict, and climb the leaderboards to win prizes.</p></li></ul><h2 id="h-closing" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Closing</h2><p>The projects mentioned above covers the majority of projects currently announced or live on the AO network. Though the ecosystem is quite young, we are thrilled to see that a lot of the projects already have a working product. Some of them already have a tradable token. The AO testnet is announced in a very usable stage which is ready to support some basic AI functionalities. Given more time and resources, we would not be surprised to see more dapps thriving with their onchain AI.</p><p>Given the less-than-expected friction deploy AIs on AO, it is evident that the architecture of the AO supercomputer is well-aligned with AI operations. As the mainnet date comes closer, we look forward to see more exciting new innovations happening here in AO and Arweave.</p>]]></content:encoded>
            <author>sevenxventures@newsletter.paragraph.com (SevenX Ventures)</author>
            <enclosure url="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/a21a6314412bb968bd064da8edf17c239ac6bbf86d9830304324681a51e10f67.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[Crypto AI Mafia ]]></title>
            <link>https://paragraph.com/@sevenxventures/crypto-ai-mafia</link>
            <guid>MeSEsFqUeCiAVZ4HdAMM</guid>
            <pubDate>Tue, 12 Mar 2024 02:47:04 GMT</pubDate>
            <description><![CDATA[By @Rui, Investor of SevenX Ventures Recap for Decentralized AI House at ETHDenver2024, co-hosted by SevenX Ventures, MyShell, and Jessy’s Hacker HouseWhen AI is wildly growing in the web3 world, it’s even harder to distinguish real innovation from narrative bubbles. We invited 12 most mainstream AI mafias during ETHDenver and this article does a simple recap of the project&apos;s visions, methods, and scenarios, to see how they shaking the current world. Here are some important questions to ...]]></description>
            <content:encoded><![CDATA[<p><em>By </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/Ruisnakes"><em>@Rui</em></a><em>, Investor of SevenX Ventures</em></p><p>Recap for Decentralized AI House at ETHDenver2024, co-hosted by SevenX Ventures, MyShell, and Jessy’s Hacker House</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/8ed42f0e5c98cd474ad5a265c1e38bb92217cd024a2c5a416cb180ca8c8477b1.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>When AI is wildly growing in the web3 world, it’s even harder to distinguish real innovation from narrative bubbles. We invited 12 most mainstream AI mafias during ETHDenver and this article does a simple recap of the project&apos;s visions, methods, and scenarios, to see how they shaking the current world.</p><p>Here are some important questions to ask, and answers from our mafias:</p><p>Data:</p><ul><li><p><strong>Data Provisioning: How to source AI training data？</strong> <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/getgrass_io">@Grass</a></p></li><li><p><strong>Data provenance</strong>: <strong>How to protect data source IP?</strong> <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/StoryProtocol">@Story Protocol</a></p></li><li><p><strong>Data alignment</strong>: <strong>How to ensure certain data used by the model?</strong> <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/SpaceandTimeDB">@Space&amp;Time</a></p></li></ul><p>Model:</p><ul><li><p><strong>Open economics: How to build an open platform with incentive?</strong> <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/opentensor">@Bittensor</a>, @Sentient</p></li><li><p><strong>Model alignment: How to prove model result is untampered?</strong> <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/ModulusLabs">@Modulus labs</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/OraProtocol">@Ora</a></p></li></ul><p>Infra:</p><ul><li><p><strong>General infrastructure: How to connect all infrastructures together?</strong> <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/ritualnet">@Ritual</a></p></li></ul><p>Agent:</p><ul><li><p><strong>AI agent: How to enable agents to be smart, composable, and ownable?</strong> <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/futureprimitive">@Future primitive</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/autonolas">@Olas</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/myshell_ai">@Myshell</a></p></li></ul><p>Full Youtube Link: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.youtube.com/playlist?list=PLFRYxG8q7EY6SgJHzEefMEq-VyrhzK20n">https://www.youtube.com/playlist?list=PLFRYxG8q7EY6SgJHzEefMEq-VyrhzK20n</a></p><hr><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/57e641ffc1c1575c49fa3067c8e42fcb4eb27b685bcae701498ab996f22937b4.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><h2 id="h-grass" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Grass</h2><ul><li><p><strong>Why:</strong> Data is the foundation of all AI training, but extractive gatekeepers make it difficult to source high quality training data. A great deal can be scraped from the public web, but it’s common practice among major websites to block commercial data centers.</p></li><li><p><strong>What:</strong> Grass is a <strong>data provisioning protocol</strong>, makes data accessible and AI infrastructure equitable.</p></li><li><p><strong>How:</strong> Users install a Chrome web extension and trace amounts of their excess compute and bandwidth are used to scan the internet in search of AI data. Grass operates a network of nearly 1 million web scraping nodes located around the world.  Using this network, it scrapes over 1 TB of data per day before cleaning and processing it to produce structured datasets.</p></li><li><p><strong>Where</strong>: Grass nodes are now operating in 190 countries around the globe.</p></li><li><p><strong>Youtube</strong>: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.youtube.com/watch?v=dwBlqwOimig&amp;list=PLFRYxG8q7EY6SgJHzEefMEq-VyrhzK20n&amp;index=2">https://www.youtube.com/watch?v=dwBlqwOimig&amp;list=PLFRYxG8q7EY6SgJHzEefMEq-VyrhzK20n&amp;index=2</a></p></li><li><p><strong>Presenter twitter</strong>: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/0xdrej">@0xdrej</a></p></li></ul><hr><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/ad11582b60f18d488d1be53862253b88e09d05913482e92ed5d371f0f0eaf810.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><h2 id="h-story-protocol" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Story protocol</h2><ul><li><p><strong>Why:</strong> AI remixing is illegal and inevitable. The major block of AI growth is the lack of monetizing and creating attribution and providence for IP and content creators.</p></li><li><p><strong>What:</strong> A <strong>composable on-chain IP layer</strong> allows creators to set autonomous rules of engagement. Adding legibility and liquidity for global IP marvel.</p></li><li><p><strong>How:</strong> Creators can purchase the license NFT, converting their static IP into programmable IP. Programmable IP is a layer that any program can read and write on, consisting of Nouns and Verbs. Nouns include data structures, relevant IP metadata, use ERC6551; And verbs include modules, an array of functionality for IP Assets, like licensing, revenue streams from derivative works, and access globally. Whenever the derivative monetizes, the revenue flows back automatically.</p></li><li><p><strong>Where</strong>: Story protocol can be used in license renting, derivatives, customization about territory, channels, expiration, revocability, transferability, attribution, etc.</p></li><li><p><strong>Youtube:</strong> <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.youtube.com/watch?v=ymq1mhRSxTg&amp;list=PLFRYxG8q7EY6SgJHzEefMEq-VyrhzK20n&amp;index=3">https://www.youtube.com/watch?v=ymq1mhRSxTg&amp;list=PLFRYxG8q7EY6SgJHzEefMEq-VyrhzK20n&amp;index=3&amp;t=201s</a></p></li><li><p><strong>Presenter twitter</strong>: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/jasonjzhao">@jasonjzhao</a></p></li></ul><hr><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/2b450690cc6453d94c720be33374aca41ae164cfaadfdb53e035d148cd187bab.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><h2 id="h-space-and-times" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Space and Times:</h2><ul><li><p><strong>Why:</strong> As the LLM evolves, major companies can bias, alt or tamper the dataset and parameters; it&apos;s important to have cryptographic proof of the untampered dataset, ensuring that same dataset was used during LLM training. Also, SxT has been exploring ways to sanitize out copyrighted data, pulling from a verifiable vector database and injecting into prompts during inference.</p></li><li><p><strong>What:</strong> SxT is an <strong>indexer and ZK prover that proves SQL queries or vector searches against that indexed data.</strong></p></li><li><p><strong>How:</strong> LLM providers can load their on-chain/off-chain training dataset into Space and Time, where the data is witnessed and threshold signed with cryptographic commitments, which are used later to prove that a dataset was used for training. From there, litigators or auditors/reviewers can ensure a dataset hasn’t been tampered with since training. SxT built GPU accelerator &quot;Blitzar&quot;, which already achieves 2 million-row table queries with 14-second proof time on a single GPU.</p></li><li><p><strong>Where</strong>: SxT enables users to create queries in plain words, in a few seconds OpenAI retrieves a context from the vector search database and writes accurate SxT SQL that can be executed by the prover, and the prover returns proof in 4 seconds.</p></li><li><p>Youtube: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.youtube.com/watch?v=cxT0vcU4mSo&amp;list=PLFRYxG8q7EY6SgJHzEefMEq-VyrhzK20n&amp;index=4">https://www.youtube.com/watch?v=cxT0vcU4mSo&amp;list=PLFRYxG8q7EY6SgJHzEefMEq-VyrhzK20n&amp;index=4</a></p></li><li><p><strong>Presenter twitter</strong>: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/chiefbuidl">@chiefbuidl</a></p></li></ul><hr><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/27a36f2df0b36f7674606ba1b3aeb607e421b66ae07fe2fa823c25fffbcfd1f3.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><h2 id="h-bittensor" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Bittensor</h2><ul><li><p><strong>Why:</strong> OpenAI aims to monopolize the control of AI</p></li><li><p><strong>What:</strong> Bittensor is a decentralized platform for open-sourced AI</p></li><li><p><strong>How:</strong> The Bittensor network has 32 subnets. Those subnets started from the model, but now have extended to storage, computing, scraping, tracking, and different AI fields. $TAO incentivizes subnet builders to keep polishing the model or project, and validators rank the results of the subnet, the rank changes the distribution of $TAO, and the least one will be kicked out of the network. <strong>This mechanism guarantees models compete to produce the best outputs, and the work that is most valuable to the collective will be rewarded.</strong></p></li><li><p><strong>Where</strong>: Powerful applications emerge, like FileTAO doing decentralized storage, Cortex TAO doing OpenAI Inference, Nous Research doing fine-tuning LLM; Fractal Research doing Decentralized Text-to-Video, etc.</p></li><li><p>Youtube: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.youtube.com/watch?v=xkXBDCaPMYk&amp;list=PLFRYxG8q7EY6SgJHzEefMEq-VyrhzK20n&amp;index=6">https://www.youtube.com/watch?v=xkXBDCaPMYk&amp;list=PLFRYxG8q7EY6SgJHzEefMEq-VyrhzK20n&amp;index=6</a></p></li></ul><hr><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/3892e04d13b1be7540b725f9d9435e35be733b554c5150f60b16e24de8c5fa97.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><h2 id="h-sentient" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Sentient</h2><ul><li><p><strong>Why:</strong> AGI building is dangerous, facing &quot;human extinction threat&quot; and capitalistic framework risk, so they natively need crypto platforms; whereas the crypto platforms need native killer apps.</p></li><li><p><strong>What:</strong> Sentient is a platform for sovereign incentive-driven AI development.</p></li><li><p><strong>How:</strong> Use crowdsource methods, allowing communities to coordinate and contribute to training models to lower cost, control inference using an open protocol, enable composability across models, and value flow back to network participants. Aggregating web2 and web3 forces, and leveraging the token, Sentient will fairly incentivize developers to build trustless AGI.</p></li><li><p>Youtube: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.youtube.com/watch?v=1fbwIGG7PV8&amp;list=PLFRYxG8q7EY6SgJHzEefMEq-VyrhzK20n&amp;index=10">https://www.youtube.com/watch?v=1fbwIGG7PV8&amp;list=PLFRYxG8q7EY6SgJHzEefMEq-VyrhzK20n&amp;index=10</a></p></li></ul><hr><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/946c2c5bd8fe116db490cb08d928e439a605d8e1cc1d007ef0124ef2e4d8d04f.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><h2 id="h-modulus-labs" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Modulus labs</h2><ul><li><p><strong>Why:</strong> When AGI&apos;s future is unstoppable, we need to prove the AI result is accountable and safe, which is generated from a certificated model instead of manipulated, without relying on the trusted centralized authority&apos;s good behavior.</p></li><li><p><strong>What:</strong> Modulus builds a specialized AI ZK prover &quot;Remainder&quot; which delivers AI features for dApps at a fraction of the cost.</p></li><li><p><strong>How:</strong> It doesn&apos;t make sense to use the modern ZK proving system for AI when there&apos;s around 10,000x to 100,000x overhead compared to non-verifiable AI outputs. Modulus built a custom prover for AI inference, demonstrating only <strong>~180x overhead</strong>.</p></li><li><p><strong>Where</strong>: One notable implementation is Upshot, trust concern was raised since Upshot&apos;s complicated appraisal mode can only be conducted off-chain. However, Upshot can send valuable AI appraisals to Modulus every hour, and Modulus can generate &quot;proof of correctness&quot; for AI computations, aggregate them, and send them to Ethereum for final verification.</p></li><li><p>Youtube: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.youtube.com/watch?v=4JRh2eeZCO0&amp;list=PLFRYxG8q7EY6SgJHzEefMEq-VyrhzK20n&amp;index=7">https://www.youtube.com/watch?v=4JRh2eeZCO0&amp;list=PLFRYxG8q7EY6SgJHzEefMEq-VyrhzK20n&amp;index=7</a></p></li><li><p><strong>Presenter twitter</strong>: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/realDanielShorr">@realDanielShorr</a></p></li></ul><hr><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/5c345b5b7f7fc1c835051ed878bcc597cdb39de8c933f8f33a08630ee451f134.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><h2 id="h-ora" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Ora</h2><ul><li><p><strong>Why:</strong> AI models can&apos;t run on-chain, thousands of computers will execute one inference. Verifying results on-chain is feasible but ZKML has an exponential cost with model size increases, so there&apos;s a need for linear growth cost- OPML.</p></li><li><p><strong>What:</strong> Ora is an <strong>onchain AI oracle using OPML</strong> for any size AI models.</p></li><li><p><strong>How:</strong> Use Oracle to delegate the computation to off-chain nodes. The user initiates a transaction from the smart contract with prompts and a named model. OAO contract delegates the tx into the OPML node to execute the inference, produce fraud proof and submit the verifier to ORO. The verified result goes back to the transaction initiator. But OPML still needs the help of ZKP to fulfill the input/output privacy and instant finalization. Also, a ZK oracle from ORA can generate a storage proof for the OPML, so you don&apos;t need to repeatedly perform OPML when it is being reused.</p></li><li><p><strong>Where</strong>: Now using ORA we can have Stable Diffusion, 7B-LLaMA on ethereum mainnet. ORA can power AI-managed DAO, AIGC NFT like EIP7007, empower model ownership.</p></li><li><p>Youtube: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.youtube.com/watch?v=i2Zkz45AGr4&amp;list=PLFRYxG8q7EY6SgJHzEefMEq-VyrhzK20n&amp;index=1">https://www.youtube.com/watch?v=i2Zkz45AGr4&amp;list=PLFRYxG8q7EY6SgJHzEefMEq-VyrhzK20n&amp;index=1</a></p></li><li><p><strong>Presenter twitter</strong>: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/0xKartin">@0xKartin</a></p></li></ul><hr><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/a20ffbc533651c426466aa03b224f9b23dc116d6b22810dfaef80693ef07e045.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><h2 id="h-ritual" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Ritual</h2><ul><li><p><strong>Why:</strong> New censorship and manipulation take place when AI infrastructure is more and more centralized, permissioned, and increasingly regulated. But crypto gives primitives around privacy and computational integrity, coordination and incentive, and default permissionless infra.</p></li><li><p><strong>What:</strong> Ritual as a natural convergence point of Crypto*AI, consists of a <strong>decentralized Oracle network and sovereign chain with custom VM and coprocessor</strong>.</p></li><li><p><strong>How:</strong> The Oracle network &quot;Infernet&quot; enables any smart contract on evm chains linking on-chain workflow to off-chain ML inference, and ultimately the co-processor enables <strong>AI native operation at VM level,</strong> while remains composability with other Data Availability, Permanent Storages, Prover networks, GPU networks, Inference engine. Nodes in Ritual network not only run and service model operations, but also do consensus and execution clients.</p></li><li><p><strong>Where</strong>: &quot;Frenrug&quot; uses inferent SDK to build a non-deterministic LLM that guides users to buy, and sell keys on friend.tech. For defi lending protocols, they can train models to parameterize and generalize them well across all protocols. For crypto-enabled AI, myshell will be the first model creator economy example.</p></li><li><p>Youtube: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.youtube.com/watch?v=DV-rMP6V-Yk&amp;list=PLFRYxG8q7EY6SgJHzEefMEq-VyrhzK20n&amp;index=9">https://www.youtube.com/watch?v=DV-rMP6V-Yk&amp;list=PLFRYxG8q7EY6SgJHzEefMEq-VyrhzK20n&amp;index=9</a></p></li><li><p><strong>Presenter twitter</strong>: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/sanlsrni">@sanlsrni</a></p></li></ul><hr><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/32b96f18c159aa4a210eea311e18572da7514748c3f6297438b9fa293e252e21.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><h2 id="h-olas" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Olas</h2><ul><li><p><strong>Why:</strong> Autonomous Agents(AA) are powerful entities that perceive certain information and conduct actions. But web2 AA is severely limited in its potential: They can&apos;t do KYC, users can&apos;t take ownership, platform censorship risks, and limited composability.</p></li><li><p><strong>What:</strong> Olas is a <strong>decentralized protocol for co-ownable autonomous agents</strong>.</p></li><li><p><strong>How:</strong> In Olas world, agents live off-chain, while the registration and management are on-chain. Agents are arranged in autonomous services (“decentralised autonomous agents”). The agent operator is in control of one agent and one consensus gadget. Each agent runs a Finite-State Machine(FSM) that is replicated on the temporary blockchain between agents in a service. Agents in a service come to consensus off-chain before taking action on-chain. The network uses a $OLAS incentives for all stakeholders: capital providers (bonders), code providers (developers), agent operators (stakers), and service owners (entrepreneurs).</p></li><li><p><strong>Where</strong>: Olas Predict is an economy of three types of autonomous agents that continuously create and participate in prediction markets on arbitrary future events. The trader agent operator doesn&apos;t need to worry about subscribing to OpenAI, they just simply pay per request in crypto.</p></li><li><p>Youtube: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.youtube.com/watch?v=KQeQgqFAQfI&amp;list=PLFRYxG8q7EY6SgJHzEefMEq-VyrhzK20n&amp;index=8">https://www.youtube.com/watch?v=KQeQgqFAQfI&amp;list=PLFRYxG8q7EY6SgJHzEefMEq-VyrhzK20n&amp;index=8</a></p></li><li><p><strong>Presenter twitter</strong>: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/david_enim">@david_enim</a></p></li></ul><hr><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/3f353410fa424c68aa0d6b7b356676dfd9d3cd386e98a710137e044dc91a3eb0.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><h2 id="h-myshell" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">MyShell</h2><ul><li><p><strong>Why</strong>: With the rise of LLM, we need better tools to help creators easily build applications, also subversing the current &quot;static&quot; creator economy into a dynamic space.</p></li><li><p><strong>What</strong>: MyShell is a <strong>decentralized platform for discovering, creating, and staking AI-native apps</strong>.</p></li><li><p><strong>How</strong>: Creator can create AI-native Apps in MyShell within a few minutes, from AI characters for companionship to various tools designed to enhance your study and work experience: choose an open source model, edit the prefix and suffix of the prompt, feed information with specific fields, image, and video capability coming soon. MyShell LLM is based on massive private data to make the roleplay experience more human-like. The token is used for accessing premium features, supporting creators, and settling usage charges.</p></li><li><p><strong>Where</strong>: MyShell platform has multiple use cases: AI characters have personalities and unique voices for companionship, learning, and playing; Tools for learning language, text-to-image, summarizing videos, and so on.</p></li><li><p>Youtube: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.youtube.com/watch?v=4PgIk4S5a0w&amp;list=PLFRYxG8q7EY6SgJHzEefMEq-VyrhzK20n&amp;index=5">https://www.youtube.com/watch?v=4PgIk4S5a0w&amp;list=PLFRYxG8q7EY6SgJHzEefMEq-VyrhzK20n&amp;index=5</a></p></li><li><p><strong>Presenter twitter</strong>: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/ethan_myshell">@ethan_myshell</a></p></li></ul><hr><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/6b5f5dcc9118899e1d2a93517d0ecca4720297145c06d7ee4829095946412e0a.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><h2 id="h-future-primitive" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Future Primitive</h2><ul><li><p><strong>Why</strong>: NFTs are internet-native objects, but they lack programmability, therefore constrain its potential to conduct further behavior on-chain.</p></li><li><p><strong>What</strong>: Future Primitives <strong>turns NFTs into agents through ERC6551 and its infrastructure.</strong></p></li><li><p><strong>How</strong>: Using ERC6551, every NFT has the same rights as an Ethereum user. They can self-custody assets, execute arbitrary operations, control multiple independent accounts. Every NFT&apos;s address is the same on any evm chain, releasing the cross-chain potential. For tokenbound V4, it publishes the Power of Attorney for your TBA of which a smart contract can perform onchain actions fully autonomously without you needing to sign, validate, or execute the tx, and the owner can always revoke auth extensions.</p></li><li><p>Youtube: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.youtube.com/watch?v=aIr2HeZsQi4&amp;list=PLFRYxG8q7EY6SgJHzEefMEq-VyrhzK20n&amp;index=11">https://www.youtube.com/watch?v=aIr2HeZsQi4&amp;list=PLFRYxG8q7EY6SgJHzEefMEq-VyrhzK20n&amp;index=11</a></p></li><li><p><strong>Presenter twitter</strong>: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/jayden_windle">@jayden_windle</a></p></li></ul>]]></content:encoded>
            <author>sevenxventures@newsletter.paragraph.com (SevenX Ventures)</author>
            <enclosure url="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/7ac4db39b8031d18fed8cb254268a9831d150632bd843114f1ca60dc670534fd.png" length="0" type="image/png"/>
        </item>
        <item>
            <title><![CDATA[Critiquing DePIN: False Hope or Real Dawn?]]></title>
            <link>https://paragraph.com/@sevenxventures/critiquing-depin-false-hope-or-real-dawn</link>
            <guid>KdBmACulfmWuGeG1K06h</guid>
            <pubDate>Thu, 08 Feb 2024 11:42:56 GMT</pubDate>
            <description><![CDATA[Written by @Rui, Investor of SevenX Ventures. With a growing emphasis on real-world applications and the rise of Solana, DePin has regained significant popularity in 2024. However, DePIN is not a novel concept. In my opinion, the essence of DePIN is about the token economic model that turning participants into stakeholders, rather than creating new productivity. In the previous bull run, projects like Arweave, Filecoin, and Helium stood out, while many others fell short, even went down to zer...]]></description>
            <content:encoded><![CDATA[<p>Written by <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/Ruisnakes">@Rui,</a> Investor of SevenX Ventures.</p><p>With a growing emphasis on real-world applications and the rise of Solana, DePin has <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://trends.google.com/trends/explore?geo=US&amp;q=depin&amp;hl=en">regained significant popularity</a> in 2024. However, DePIN is not a novel concept. In my opinion, the essence of DePIN is about the token economic model that turning participants into stakeholders, rather than creating new productivity.</p><p>In the previous bull run, projects like <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.arweave.org/">Arweave</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://filecoin.io/">Filecoin</a>, and <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.helium.com/">Helium</a> stood out, while many others fell short, even went down to zero. Now, as we approach the cusp of the next bull market, our challenge lies in discerning between fleeting fads and genuinely sustainable innovations that will usher us into a new era of real-world applications.</p><p>This piece sets out to provide a balanced critique of DePIN&apos;s historical shortcomings, exploring areas such as regulatory hurdles, lack of demand, flawed tokenomics, and the risk of rugs. Nevertheless, it also highlights the substantial prospects within this space, including overcoming profit margins, value anchors, token incentives, and robust community engagement. And I’ll provide a DePIN evaluation framework, and in-details case studies of DePIN projects. Hopefully this piece can equip readers with insights and tools to build, evaluate and invest in DePIN landscapes.</p><hr><p><strong>Content</strong></p><ul><li><p>Introduction</p></li><li><p>Participants: Hardware, Miner, Protocol, Operator and Users</p></li><li><p>Ecosystem Landscape</p><ul><li><p>DePIN Projects: Purpose, Type and Market</p></li><li><p>Blockchain and Middleware: General and DePin-specific chain</p></li></ul></li><li><p>Essence:</p><ul><li><p><strong>Why Didn&apos;t It Work</strong>: Regulation, Demand, Tokenomic, Moat and Rug</p></li><li><p><strong>Why There&apos;s Hope</strong>: Margin, Anchor, Booster and Community</p></li></ul></li><li><p>Evaluation Criteria:</p><ul><li><p>Total Value = Product X Tokenomic X Narrative</p></li><li><p>Duration = Being proven or disproven</p></li><li><p>Last Straw = Compliance X Team</p></li></ul></li><li><p>Case Study:</p><ul><li><p>Helium: 5G celluar network</p></li><li><p>io.net: AI/ML Sharing GPU</p></li></ul></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/0bdbc7e0105fac2e315e3e7172338bf629a27f011c78f54e07119b7df56d08d5.jpg" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><h1 id="h-intro" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Intro</h1><p>The blockchain domain has focused on infrastructure development, emphasizing scaling solutions (Layer2s, Data Availability), privacy enhancement (Zero-Knowledge), and user experience improvement (Account Abstraction) over the years to prepare for broad adoption. The need for real-world, mass adoption is now more evident than ever. Initiatives such as exchanges working towards compliance and ETFs entering the traditional markets have marked significant progress and are paving the way for us.</p><p>DePIN is not a specific area, this term originally brought up by Messari as the short for Decentralized Physical Infrastructure Networks. It represents a community-driven, decentralized hardware network incentivized by token. Its primary goal is to replace the monopolized coordinator and use native tokens to transform participants into stakeholders of the network. Since the last bull market, there has been a significant expansion into high-value sectors such as AI/ML, 5G, WiFi, Bandwidth, Vehicle, Energy and so on.</p><p>So, what&apos;s new that DePIN brought to the table in this spectrum?</p><ul><li><p><strong>Assets: Type, distribution, trading methods</strong> <br>Looking at successful crypto projects, typically feature assets with generic attributes and continuously refine these assets&apos; functionalities and use cases. DePIN projects can incorporate physical assets, transforming the services provided or data collected by the hardware into tokenized assets. This tokenization facilitates permissionless trading and staking, paving the way for a broader spectrum of financial activities.</p></li><li><p><strong>Participants: Roles, amount, stickiness and relationship</strong> <br>DePIN enhances the ecosystem by diversifying roles, creating a cohesive network of hardware manufacturers, miners, network applications, consumers and so on. Reducing entry barriers and expanding geographical reach draws a broader range of participants. More importantly, DePIN transforms all parties involved into stakeholders through crypto assets, fostering both labor contribution and consumption. This approach ensures ongoing engagement, increasing the ecosystem&apos;s stickiness and surpassing the traditional, simplistic buy-and-sell relationships. By fostering complex interconnections, DePIN significantly bolsters the robustness and sustainability of its ecosystem.</p></li><li><p><strong>Scenarios: Premium value, frequency and scalability</strong> <br>DePIN is grounded in real-world scenarios, addressing existing needs. Beyond the focus on crypto investors, the network&apos;s generic value can be derived from the number of purchasers, value per transaction, and frequency of transactions. Success could be achieved if any two of these parameters excel. E.g. 5G user base is huge, approximately over 100 million in the U.S. pay once a month for 80 dollars. While individual AI companies may represent a smaller volume of transactions compared to 5G consumers, the high frequency and value of these transactions, propelled by extensive demand, highlight a substantial opportunity.</p></li></ul><p>Beyond the initial excitement, several critical factors warrant attention: Achieving product-market fit remains essential for success, even with sufficient supply; the implementation of protocol designs that ensure partition tolerance and censorship resistance is crucial to avoid new forms of censorship; moreover, incentives must be meticulously crafted to avert unsustainable inflation. We will explore these aspects in more detail below.</p><h1 id="h-participants" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Participants</h1><p>This sector examines the roles and objectives of its five principal stakeholders: hardware manufacturers, hosters (referred to as miners for ease of memory), network providers, operators, and end-users.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/b0d060ad4e0af92b86e228d9089f7b2843ad2a005ae74318cbc941147154a2fc.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p><strong>Hardware Manufacturer</strong>: <strong>The Physical Devices that Provide Services or Collect Data</strong></p><ul><li><p><strong>Manufacturer Evolution:</strong> <br>Transitioning from centralized, whitelisted manufacturers to a permissionless system is a natural progression. Initially, it&apos;s reasonable to depend on a single entity to produce reliable hardware. However, to prevent a single vendor from becoming a monopoly threat or a bottleneck in network growth, opening the ecosystem to more qualified hardware manufacturers is advisable. Eventually, an open market can foster full competition to offer the best products at fair prices to miners(<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/helium/HIP/blob/main/0019-third-party-manufacturers.md">e.g. Helium HIP19</a>).</p></li></ul><p><strong>Miner: Entities That Run Hardware as Nodes in the Network</strong></p><ul><li><p><strong>Cost Considerations:</strong><br>Miners consider the total cost, including hardware, onboarding, maintenance, and operational (if applicable) fees. The time and attention cost associated with network participation also counts.</p></li><li><p><strong>Reward System:</strong> <br>Beyond the belief in building physical networks, miners prioritize rewards, often calculating the payback period. Immediate incentives for beta versions are attractive, but the protocol should curb the crazy inflation, incorporate a robust deflationary design and staking mechanisms, to ensure long-term revenue for miners. Many projects have been adopting the <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/rendernetwork/status/1737526639515344971">Burn-Mint-Equilibrium(BME)</a> model.</p></li><li><p><strong>User Experience:</strong> <br>The process should be straightforward, aiming to lower the learning curve for participation, thereby enabling a low-barrier and scalable network.</p></li></ul><p><strong>Protocol: The Coordination Core of the Network</strong></p><ul><li><p><strong>Price Structure:</strong> <br>The price of commoditized services is fixed at the protocol level, while decisions should be made cautiously to achieve sustainability. Taking <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://io.net">io.net</a>’s <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://developers.io.net/docs/pricing-model#design-principles">pricing model</a> as example: The price is effected by multi-dimensional factors like web2 competitor price, peak hours, hardware performance, internet bandwidth, crypto earnings and so on.</p></li><li><p><strong>Rule Transparency:</strong> <br>Rules like reward mechanisms, at least should be transparent and accessible to the public. Then the executed result should be verifiable even if off-chain and, eventually, the whole process automated. On-chain automation seems optimal so guarantees fairness but it may sacrifice flexibility for evolving adjustments.</p></li><li><p><strong>Data Integrity and Honesty:</strong> <br>Establishing transparent and verifiable procedures for fetching data from hardware, uploading it to databases, and reflecting it into rewards.</p></li><li><p><strong>Security Measures:</strong> <br>Anticipate malicious behavior and implement measures like random liveness checks and effective data validation. KYC might be involved, and a reputation system could reward honest behavior while penalizing dishonesty.</p></li><li><p><strong>Privacy and Compliance:</strong><br>Collecting data from participants improves the protocol&apos;s robustness and efficiency but comes with privacy risks. While only collecting necessary data, projects should also consider implementing Zero Knowledge Proof (ZKP).</p></li></ul><p><strong>Operators: Entities That Package Network Resources into Services</strong></p><ul><li><p><strong>Operator Entity Diversity:</strong> <br>Initially, a single operator, possibly from the network foundation may set up a schema for cold start. Over time, allowing more operators to join can enhance market reach, maximize the usage of miner resources, and allow full competition.</p></li><li><p><strong>Revenue Model:</strong> <br>Besides the cost that the operator pays to the miner through the network, the operator usually charges more for the wrapped service. Operators can use profits to invest more in marketing, subsidize users and so on.</p></li></ul><p><strong>Purchaser: Users of the Network</strong></p><ul><li><p><strong>Goals and Needs:</strong> <br>Different users have varying goals, such as cost efficiency, time savings, security, accessibility, or performance. The network should effectively address these primary needs.</p></li><li><p><strong>User Experience:</strong> <br>Seamless onboarding and payment processes are essential. Whether users need to understand cryptocurrency depends on the service design, but the goal should be to simplify transactions, integrating fiat payment options alongside cryptocurrency.</p></li></ul><h1 id="h-ecosystem-landscape" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Ecosystem Landscape</h1><h3 id="h-depin-network" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">DePIN Network</h3><p>DePIN projects vary widely, however for better understanding we can categorized DePin projects by Purpose, Type, and Market.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/3555e9ac38502509ef9ea621aecee8ae33c9e4c9ef5d3af8baa179a39899a9b9.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p><strong>Purpose</strong></p><ul><li><p><strong>Computing:</strong> <br>This encompasses processing and communicating information using computational systems. Rollups, for example, address computing challenges for blockchain, while decentralized GPU and CPU resources cater to off-chain computing needs.</p></li><li><p><strong>Storage:</strong> <br>Storage projects ensure data is preserved for future retrieval and use. This broader concept includes file storage solutions like <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.arweave.org/">Arweave</a> and <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://filecoin.io/">Filecoin</a>, as well as databases such as <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://t.co/3ZpQgvnibY">KwilDB</a>.</p></li><li><p><strong>Network:</strong> <br>Network projects facilitate the fetching and transmitting of real-world data across the network, enabling communication among different nodes and connecting them to users. Commonly, projects utilize IoT sensors and wireless networks to gather data and deliver services.</p></li></ul><p><strong>Type</strong></p><ul><li><p><strong>Service Network: Core asset is the service</strong> <br>At its core, a service network aims to effectively utilize unused or available resources to provide services. The protocol aggregates demand from users, matches it with miners&apos; resources, and allocates tasks accordingly. Examples include <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://io.net/">io.net</a>, which connects GPU resources with AI companies; <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.helium.com/">Helium</a>, linking small cell hosters with 5G users; and <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.teleport.xyz/">Teleport</a>, connecting drivers with riders.</p></li><li><p><strong>Data Network: Core asset is the aggregated dataset</strong> <br>Data networks incentivize data contributions to amass a large dataset. They standardize data formats, ensure data validity and quality, and may involve data cleaning and training before wrapping them into datasets, APIs, or other formats for commercial use. For instance, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://drivedimo.com/">DIMO</a> collects vehicle data for insights useful to insurance or gas companies; <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://hivemapper.com/explorer">Hivemapper</a> captures street images to create map data for delivery and smart city projects.</p></li></ul><p><strong>Market</strong></p><ul><li><p><strong>AI and ML:</strong> <br>The global ML market size was expected to grow from <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.fortunebusinessinsights.com/machine-learning-market-102226">$26.03 billion in 2023 to $225.91 billion by 2030</a>. The AI/ML opportunity in web3 lies with data, computing, and models. For data, projects like <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.getgrass.io/">grass</a> enable mass user sharing of bandwidth for AI companies to fetch data at scale; For computing, projects like <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://io.net/">io.net</a> pool data center computing power at a lower cost compared to web2; For models, projects like <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://bittensor.com/">Bittensor</a> enable the assetization of models.</p></li><li><p><strong>5G/ Cellur:</strong> <br>The global 5G market size was valued at <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.grandviewresearch.com/industry-analysis/5g-services-market">USD 84.31 billion in 2023</a>. The transition to 5G requires more cells, with web2 monopolies capturing significant profit margins. DePIN 5G projects, such as <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.helium.com/">Helium</a>, aim to build decentralized, affordable networks by leveraging small cells, free spectrum bands in U.S., and eSIM cards.</p></li><li><p><strong>Vehicle:</strong> <br>The vehicle market is projected to grow from <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.fortunebusinessinsights.com/internet-of-vehicles-market-105345">USD 145.24 billion in 2023</a>. DePIN vehicle networks gather data via specialized hardware and software, providing valuable insights for insurance, maintenance, gas and other businesses. Projects like <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://drivedimo.com/">DIMO</a> leverage token incentives drivers to encourage data sharing.</p></li><li><p><strong>Hailing:</strong> <br>The global ride-hailing service market reached a value of <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.imarcgroup.com/ride-hailing-service-market">US$ 176.6 Billion in 2023</a>. DePIN hailing services disrupt the ride-sharing market by using tokens to foster growth, offering fair pricing and lower transaction fees compared to Web2 intermediaries. Notable projects include <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.teleport.xyz/">Teleport</a> and <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.drife.io/?ref=iotex.io">Drife</a>.</p></li><li><p><strong>Map:</strong> <br>The global digital map market size was estimated at <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.grandviewresearch.com/industry-analysis/digital-map-market">USD 18.18 billion in 2022</a>. DePIN map projects address data fragmentation and over-reliance on major tech firms by rewarding community contributions with tokens, offering an equitable data sharing model. Examples include <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://hivemapper.com/explorer">Hivemapper</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://2blox.io/">2blox</a>, and <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.natix.io/">Natix</a>.</p></li></ul><h3 id="h-blockchain-and-middleware" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Blockchain and Middleware</h3><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/2621de9666bc8b34c25521f2710b53296a89a22e2b4557dd325d5a2b36f53bff.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>In the current state, most DePIN projects have only the token on-chain with most of the part off-chain. Helium has transitioned from its proprietary blockchain to Solana since 2023 April. This shift was motivated by the need to address maintenance costs and scalability challenges. The nature of DePIN projects, minor and frequent transactions, and timely rewards, dictate a blockchain infrastructure that is fast, cost-effective, and scalable.</p><p>For general-purpose blockchain, the performance, cost, and ecosystem are crucial:</p><ul><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://solana.com/">Solana</a>, with a notable approximately <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://depinhub.io/projects?depinhub%3Aprojects%5BrefinementList%5D%5Bblockchains%5D%5B0%5D=solana">$2.4B</a> DePIN Market Cap, has emerged as the most popular choice for major projects like <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.helium.com/5G">Helium</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://io.net">io.net</a>, Teleport, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://depinhub.io/projects/hivemapper">Hivemappers</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://depinhub.io/projects/render">Render</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://rendernetwork.com/">Nosana</a>, and many more. Solana aligns well with the DePIN projects’ needs for swift and low-cost transactions, because its unique Proof-of-History (PoH) mechanism reduces the computational load, and its high hardware requirements improve the processing performance. Secondly, scalability is crucial, for example, Helium needs millions of transactions each month and minted 900k NFT for subscribers when it migrated to Solana. Solana needs to stay robust during the spikes and enable fast mass minting at a minor price. Projects can interact with other Solana ecosystem projects, and Solana is also upgrading to serve the DePIN needs better. The recent launch of token extension enables advanced customization for SPLs, like threshold transaction, privacy mode, and delegation, which are going to give DePIN protocols more flexibility in how they build their on-chain components.</p></li></ul><p>On the other hand, DePIN-specific blockchains are gaining attention. These blockchains address critical issues such as data trustworthiness, identity management, and verifiability. By providing automation and verifiable data, DePIN projects can save repetitive operational effort, avoid risks, and focus better on network development.</p><ul><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://iotex.io/">IoTeX</a> as a Layer 1 blockchain, has introduced its Layer 2 solution &quot;W3bstream,&quot; which enables secure IoT data collection, leverages flexible data availability layers, and aggregates large volumes of off-chain data into verifiable zero-knowledge proofs (ZKPs) and triggers on-chain transactions.</p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://t.co/BH2xMwiyV1">Peaq</a> is a multi-chain Layer1 blockchain for DePIN. While having low cost and high transaction speed, it also provides Modular DePIN Functions like Multi-Chain Machine ID, payment, role-based access for machines, 3-tier data verification, AI agents, data storage and indexing. Peaq is integrated with Wormhole for liquidity and has strong relations with relevant partners such as Bosch. peaq will launch in 2024.</p></li></ul><h2 id="h-why-didnt-it-work" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Why Didn&apos;t It Work?</h2><ul><li><p><strong>Regulation difficulty:</strong> Managing network in the physical realm necessitates navigating a myriad of regulations, with feasibility and costs differing across markets. For example, hailing projects must manage travel data, comply with local governance reporting requirements, and adhere to personal safety standards. Similarly, 5G projects are subject to varying spectrum licensing regulations across different countries.</p></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/2c131c903e1e20b69103a5be07edb0ca164a8d4e925eda6ec0c9a77ab830bb1a.png" alt="Helium’s LoRa specification" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Helium’s LoRa specification</figcaption></figure><ul><li><p><strong>Demand failure:</strong> <br>Supply side growth doesn&apos;t guarantee demand side adoption. DePIN projects utilize tokens to rapidly incentivize miner expansion, with onboarding fees often reinvested to enhance network value. However, a surplus of supply without corresponding usage can be problematic. To prevent this, it&apos;s crucial to ensure genuine product-market fit for each project. Additionally, effective marketing, sales strategies, and business development are key to competing with giant Web2 vendors.</p></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/99d14238223fef4b9b1a2f12a652f666c68599c8de4605f684e13fe7e5afe9c5.png" alt="DePIN Project Users, https://dune.com/metalight/dewi-project-users" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">DePIN Project Users, https://dune.com/metalight/dewi-project-users</figcaption></figure><ul><li><p><strong>Tokenomic Failure:</strong> <br>DePIN projects often have their token from day one, with the design of its mechanism being a critical determinant of success. However this tokenomic expertise proposed a challenge for projects originating from Web2 manufacturers, who tend to rely on precedents to formulate their token strategies. Sometimes they tend to have mass incentives to attract participants, which leads to unsustainable inflation. The Work token model (Stake for Access) is commonly employed for commoditized services with fixed protocol-level service fees. BME(Burn-Mint-Equilibrium) can adopt a dual-token system, combining a tradable, value-seeking token with a fiat-pegged payment token, allowing for fixed fiat pricing for the service.</p></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/a2ee8f424bf1d0359144e72cbc7e0c2c299fb04a43a5da2b6ffa087d3fccc32b.png" alt="Token price of a previous notable DePIN project" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Token price of a previous notable DePIN project</figcaption></figure><ul><li><p><strong>Performance consideration:</strong> <br>Centralization offers the benefits of focused coordination, adaptable management, and high-speed performance. Even though decentralized projects can attract attention with their lower fees, but matching the performance of centralized service remains a significant uncertainty. Taking sharing GPU as an instance, the distribution of GPUs across various locations complicates the task of consolidating them into a single cluster, leading to potential delays for intensive ML applications, compare to a data center. If decentralized systems cannot achieve performance parity with centralized service, their cost advantage will not be sufficient to offer a competitive alternative.</p></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/e30ad47d5f4716dcbe6f503bc6a49614d06f6a13470dff1af755ffa10659b244.png" alt="Akash dashboard" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Akash dashboard</figcaption></figure><ul><li><p><strong>Hard to build a moat:</strong><br>This challenge is particularly acute in commoditized services, where standardized and interchangeable offerings make it easy for both suppliers and customers to switch networks in pursuit of better revenue or lower fees. This lack of a strong moat is evident even in Web2 businesses. However, certain factors can create a competitive edge: Securing a first-mover position to establish brand recognition, delivering the best user experience, and developing proprietary, patent-protected software or hardware.</p></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/395416915f236b5ae21f85af2dc7f278d16791f3d5bcf9d41f0aa0bf025d0480.png" alt="Helium 5G v.s. RedPocket 5G" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Helium 5G v.s. RedPocket 5G</figcaption></figure><ul><li><p><strong>RUG: Easily rug after selling narrative:</strong> <br>Unlike other fields, DePIN participants (miners) usually need to initially invest significantly in hardware to start earning rewards, although this may be different for use cases. This presents a potential fraud risk, where the foundation could publish a promising roadmap, build a narrative, ask influencers to promote and sell its hardware, and then abruptly rug the money and disappear.</p></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/40a4ef102dc2888829e34d9d8a0a1c8a37f44eca9dae75ad2e4f38322354672c.png" alt="Price of a rug project" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Price of a rug project</figcaption></figure><h1 id="h-why-theres-still-hope" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Why There&apos;s Still Hope</h1><ul><li><p><strong>Your</strong> <strong>Margin is My Opportunity:</strong> <br>Web2 is FAT. In the current Web2 landscape, large companies like Amazon and Microsoft enjoy high gross margins. DePINs can disrupt this by enabling individuals and smaller entities to compete against these giants. By tapping into this margin space, DePINs can offer more cost-effective solutions, undercutting the high-margin models of established players and passing savings onto users.</p></li><li><p><strong>Value Anchor to Minimize Bubbles:</strong> <br>DePINs provide tangible value through <strong>hardware devices, services, and data</strong>. This practical utility acts as a stabilizing factor, anchoring the business model and mitigating the risk of speculative bubbles. By offering real-world applications and benefits, DePINs ensure a grounded and sustainable growth trajectory.</p></li><li><p><strong>Token as a Business Booster:</strong></p><ul><li><p>Initial Funding: DePINs can <strong>raise significant capital from VC, sell hardware, and launch a narrative-driven token</strong>. This initial funding kickstarts the business.</p></li><li><p>Subsidies for Growth: Using a portion of the raised funds to <strong>subsidize service fees and reward users</strong>, DePINs can rapidly expand their network with more nodes and users, fostering a robust and widespread community.</p></li><li><p>Sustainable Expansion: <strong>While hardware reach has its limits (e.g., a certain number of hotspots needed to cover an area), a well-established network can sustain itself in the long term.</strong> Once the initial funds are utilized, the matured network should be self-sustaining, driven by its own momentum and user base.</p></li></ul></li><li><p><strong>Community-Driven, Bottom-Up Approach:</strong> <br>By leveraging a community-driven model, DePINs can achieve more <strong>cost-effective and agile development</strong> compared to traditional top-down approaches. This grassroots strategy not only reduces costs but also enhances user engagement and investment in the platform, creating a loyal and active community.</p></li></ul><h2 id="h-evaluation-criteria" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Evaluation Criteria</h2><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/fd12886d482be8140924a9733fbe9207f21baf76ebc4717340159bd2ac727e0c.jpg" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><h1 id="h-case-study" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Case study</h1><h3 id="h-helium-5g" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Helium 5G</h3><p>In brief, Helium Mobile is tackling the expansive U.S. 5G market, now extending into Mexico, as a forerunner and one of the largest in the DePIN arena. It stands as a significant venture for Solana, DePIN, and 5G innovations. The Helium Mobile offers $20 monthly 5G plan, currently serving over 43,000 subscribers in the U.S. Its BME approach, deflationary token model, and pegged coin concept have set a precedent for numerous projects.</p><ul><li><p><strong>Background:</strong> <br>Helium stands as a pioneer and among the largest in the DePIN networks, initially launched to address IoT challenges in 2019. Through effective token incentives, it became the world&apos;s largest IoT network with over 100,000 hotspots across 182 countries within just two years. At its peak during the last bull market, its FDV <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://coinmarketcap.com/currencies/helium/">hit $11.7 billion</a>, marking it as a standout project. Despite <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.forbes.com/sites/sarahemerson/2022/09/23/helium-crypto-tokens-peoples-network/?sh=631a9e0b7316">criticisms</a> over the limited IoT demand, Helium has continued to explore and develop. In 2022, it branched into IoT and mobile via two sub-DAOs and began focusing on the 5G hotspot market. A <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.fiercewireless.com/5g/t-mobile-allows-helium-mobile-crypto-carrier-ride-its-5g-network">partnership with T-Mobile</a> enhanced network accessibility, and its <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.notion.so/Critiquing-DePIN-False-Hope-or-Real-Dawn-4824300cd6834bf3a96f56349c33cacd?pvs=21">migration</a> to Solana in 2023 solidified its position as a major DePIN project on this platform. As of January 2024, Helium has deployed 8,000 5G hotspots and has over 43,000 monthly 5G subscribers.</p></li><li><p><strong>Network:</strong></p><ul><li><p><strong>How come the community-driven 5G service possible?</strong> <br>Traditional 5G providers such as AT&amp;T, Verizon, and T-Mobile dominate the U.S. wireless market, investing heavily in spectrum licenses and infrastructure. However, DePIN 5G becomes viable through three key opportunities: the rise of eSIM technology allowing users to switch to virtual providers seamlessly; the availability of the CBRS band for public use without the need for costly licenses; and the advent of small cells that individuals can host, providing sufficient coverage when densely deployed.</p></li><li><p><strong>What’s the goal for Helium 5G network?</strong> <br>Considering the limit coverage of small cell- only cover 100 yards to a mile, completely replacing traditional 5G networks isn&apos;t feasible. Instead, Helium&apos;s 5G network aims to serve as a supplementary roaming service, especially in densely populated areas, to offer more affordable connectivity.</p></li><li><p><strong>How Helium network works?</strong> <br>The network comprises five roles: hardware vendors, miners, network, operators, and users. Vendors produce and sell 5G hotspots, which miners purchase at price of $1000-2598 and operate, contributing to the network&apos;s coverage. Miners are rewarded for their active and effective service. The network manages these nodes and maintains a set data price at $0.5/GB. The Operator, Nova Labs packages this infrastructure into a user-friendly service, offering $20 monthly 5G plans for users.</p></li></ul></li><li><p><strong>Token:</strong></p><ul><li><p>Token types: <br>Helium utilizes $HNT for utility, people need to burn $HNT for Data Credits (DC), a coin that pegged to the USD, for network usage, and $MOBILE and $IOT tokens for rewarding participants in its sub-DAOs.</p></li></ul></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/8d31a9f726a1d7f98d74a4c4018fb59f4c04f5ba86a835bfa334f03d24ce4207.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><ul><li><p>$HNT and BME: <br>$HNT is capped at 223 million with a halving event every two years. The constant emissions will eventually decrease to just 1 HNT per month by 2064. To avoid depleting rewards, Helium employs a Burn-and-Mint Equivalence (BME) method without exceeding the max supply. Users must buy $HNT and burn it for Data Credits (DC) to use the network. Burned $HNT is then recycled into a Net Emission Pool. To exert deflationary pressure, a cap ensures that any burned token amount exceeding 1% of the net emission (currently 1,644 per day) is permanently removed.</p><ul><li><p>$HNT and $MOBILE: <br>The value of $MOBILE is underpinned by $HNT. The daily minting of $HNT includes both the recycled amount from the Net Emission Pool and new emissions, with the total distributed among various stakeholders. Approximately 30% goes to investors, with the remainder split between the two sub-DAOs based on a formula considering DC consumption, the number of hotspots, and ve-HNT holdings. This distribution mechanism determines the allocation to the MOBILE DAO’s treasury, impacting the value of $MOBILE.</p></li><li><p>$MOBILE: <br>$MOBILE directly influences rewards for participants, with a maximum supply set at 250 billion and halving every two years. Daily emissions are allocated as follows: 20% to the operator (Nova Labs), 4% to the oracle, 60% to hardware vendors and miners, 10% to mappers (users sharing their location), 3% to stakers, and 3% to operational funds.</p></li><li><p>Theoretical Flywheel Effect: <br>A higher $HNT price boosts the value of $MOBILE, which in turn increases the rewards for miners and mappers. This encourages more participants to join, leading to more $HNT being burned, which can further drive up the price of $HNT, creating a positive feedback loop for the ecosystem&apos;s growth and value.xx</p></li></ul></li><li><p><strong>Essence:</strong> <br>While investor activity can significantly influence the network&apos;s valuation, the sustainable growth of the network fundamentally relies on increasing its user base and miner participation.</p><ul><li><p><strong>User Growth: Managed by Operators</strong> <br>Currently, Helium Mobile, serving as the sole network operator, offers a $20 monthly plan with approximately 43,000 activated SIM cards, generating an estimated monthly revenue of $860,000 (But this is inaccurate since excluding the $5/month Miami plan). However, according to <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://dune.com/killer_whales_dao_levilin2008/helium-mobile-user-data">on-chain data</a>, only 8%-15% of this revenue contributes to the network&apos;s earnings. Assuming the operator has sufficient funds for marketing and covering expenses like the T-Mobile partnership, user attraction strategies include the appealing $20 unlimited 5G offer. Additionally, they&apos;ve introduced innovative incentives, rewarding users with $MOBILE for sharing their location, a program that has seen an 88% participation rate among users. These $MOBILE tokens can directly offset subscription costs. Referral programs are another tactic being utilized.</p></li><li><p><strong>Miner Growth: Influenced by $MOBILE&apos;s Volatility</strong> <br>Miners are primarily concerned with the return on investment and rewards. The initial costs for miners, including hardware purchase and setup, range from $1,025 to $2,624. With 7,672 active hotspots, this represents a significant value generated by miners. However, the rewards fluctuate greatly due to $MOBILE&apos;s volatility; for example, the average daily earnings for a miner in November 2023 were about $12.47, which spiked to $147.63 in December 2023 following a surge in Solana&apos;s value, only to decrease afterwards. Enhancing $MOBILE&apos;s value, and thereby attracting more miners, hinges on increasing $HNT&apos;s value, creating more buying pressure from investors, and exploring other strategies to bolster buying demand.</p></li></ul></li></ul><h3 id="h-ionet-aiml" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://IO.NET">IO.NET</a> AI/ML</h3><p>In short, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://io.net">io.net</a> targets at AI Machine Learning market especially GPU-As-A-Service market. Its high-end GPU is ~82% cheaper compare to web2 providers like AWS and Goggle Cloud, also it has the largest amount of GPU, especially high-end GPU among web3 competitors. It introduced BME similiar to Helium.</p><ul><li><p><strong>Background:</strong> <br>Machine learning, as the fundamental algorithm of AI, is experiencing significant market growth. The realm of machine learning training and inference involves computing elements like CPUs, ASICs and especially GPUs stand out as the most foundational resource. However, there&apos;s a notable supply shortage of high-end GPUs needed for large-scale machine learning. Consequently, many AI/ML businesses, especially those lacking the necessary infrastructure and expertise, are increasingly turning to Cloud GPU services. These services offer a rental model that is both cost-effective and practical for running machine learning tasks.</p></li><li><p><strong>Network:</strong></p><ul><li><p><strong>Why web3 Cloud GPU service makes sense?</strong> <br>”Your margin is my opportunity”, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://cloud.io.net/explorer/home">io.net&apos;s price</a> is A100($0.89/Hour), 522 RTX 3090($0.38/Hour), 301 RTX3080($0.23/Hour), 8426 photos RTX A6000($0.75/Hour), 1988 photos RTX, A4000K8S($0.23/Hour). A100 as an example, <strong>82.45% cheaper</strong> than Google Cloud, <strong>82.62% cheaper</strong> than <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://cloud-gpus.com/">Amazon AWS&apos;s</a> .</p></li><li><p><strong>What’s the goal of </strong><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://io.net"><strong>io.net</strong></a><strong>?</strong> <br>Aiming to become the world&apos;s largest and most cost-effective GPU cloud on-demand with unlimited scalability for AI/ML Training/Inference.</p></li><li><p><strong>How </strong><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://io.net"><strong>io.net</strong></a><strong> network works?</strong><br><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://io.net/">io.net</a> solves this cost and availability problem by aggregating GPUs from underutilized sources such as independent data centers, crypto miners, and crypto projects like Filecoin, Render, and others. GPU workers can join the GPU pool, the pool groups GPU by their internet speed, location, chip manufacturer, and model name, GPUs can earn rewards not only for hired time but also for idle time when they are being utilized for inferencing. Consumers can create a cluster in under 90 seconds. First, create a cluster with a customized choice for GPU, pay using Sphere, and use VSCode to deploy ML tasks, monitoring progress.</p></li></ul></li></ul><p><strong>Acknowledges:</strong></p><p>Acknowledgment to my dearest friends for their review:</p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/knimkar">Kuleen</a>, DePIN eco lead of <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/solana">Solana</a></p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/zeroaxelol">0xlol</a>, Defi research lead of <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/0xPolygon">Polygon</a></p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/0xRainandCoffee">Mads</a>, researcher of <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/Maven11Capital">Maven11</a></p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/dr_andrewlaw">Andrew</a>, research lead of<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/iotex_io"> IoTeX</a></p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/MaxThake">Max</a>, founder of <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/peaqnetwork">peaq</a></p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/0xdrej">drej</a>, founder of <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/getgrass_io">Grass</a></p>]]></content:encoded>
            <author>sevenxventures@newsletter.paragraph.com (SevenX Ventures)</author>
            <enclosure url="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/432407487b8c6c834b23d565f586b51bd9939152019c3f03787bcaf687b85da1.png" length="0" type="image/png"/>
        </item>
        <item>
            <title><![CDATA[WebAuthn and Passkey, Key Management for Daily Crypto Users]]></title>
            <link>https://paragraph.com/@sevenxventures/webauthn-and-passkey-key-management-for-daily-crypto-users</link>
            <guid>73KHgGgPVm63xG3RXBgl</guid>
            <pubDate>Mon, 11 Dec 2023 14:34:20 GMT</pubDate>
            <description><![CDATA[By @Rui, Investor of SevenX Ventures Content:Crypto UX sucks? Key management sucks!Key management layers: Responsibility, Storage, and AccessExisting players analysis: MetaMask, Trust Wallet, Privy and ParticleNew solution:Key layer: WebAuthn, Secure Enclave and PasskeyAccount layer: Smart Contract Account(SCA), External-Owned Account(EOA)Signing layer: Protocol r1 pre-compile, third-party service, Solidity and ZK verifierImplementation case study: (key)+(account)Clave wallet: (Secure Enclave...]]></description>
            <content:encoded><![CDATA[<p><em>By </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/Ruisnakes"><em>@Rui</em></a><em>, Investor of SevenX Ventures</em></p><p><strong>Content:</strong></p><ul><li><p>Crypto UX sucks? Key management sucks!</p></li><li><p>Key management layers: Responsibility, Storage, and Access</p></li><li><p>Existing players analysis: MetaMask, Trust Wallet, Privy and Particle</p></li><li><p>New solution:</p><ul><li><p>Key layer: WebAuthn, Secure Enclave and Passkey</p></li><li><p>Account layer: Smart Contract Account(SCA), External-Owned Account(EOA)</p></li><li><p>Signing layer: Protocol r1 pre-compile, third-party service, Solidity and ZK verifier</p></li></ul></li><li><p>Implementation case study: (key)+(account)</p><ul><li><p>Clave wallet: (Secure Enclave webAuthn) + (SCA)</p></li><li><p>Soul wallet: (Passkey) + (4337 SCA)</p></li><li><p>OKX wallet: (MPC-TSS + Passkey) + (4337 SCA)</p></li><li><p>Web3Auth: (MPC-TSS + Passkey)+ (EOA/SCA)</p></li><li><p>Lit protocol: (MPC-TSS + Decentralized nodes + Passkey) +(EOA/SCA)</p></li></ul><p>*<em>Please notice cases above may soon change and improve</em></p></li><li><p>Conclusion</p></li></ul><hr><h2 id="h-tldr" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>TL;DR</strong></h2><p>The private key is the core that allows us to sign transactions on Ethereum, but managing it has been a nightmare, even in the readable form of “seed phrases”. Yet our goal was never to turn blockchain into a sophisticated game.</p><p>Authenticating authorized users is crucial for secure transactions. With the evolution of internet security and UX, we&apos;ve moved from password authentication to biometrics like facial recognition and fingerprints. WebAuthn is a key development in this progression. This article closely discusses three terms:</p><ol><li><p><strong>WebAuthn:</strong> A web authentication standard uses public key-based credentials, often created by external authenticators. It eliminates the need for passwords and enables secure user authentication.</p></li><li><p><strong>Secure Enclave:</strong> A hardware-based secure area within computing devices, the Secure Enclave is designed to protect sensitive data. Versions of a Secure Enclave are found in iOS, Android, and Windows devices. It can serve as a secure authenticator by implementing WebAuthn, but the private key, tied to the SE, often presents cross-device challenges.</p></li><li><p><strong>Passkey:</strong> An implementation of WebAuthn at the operating system level, customized by various device and system providers. For instance, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://support.apple.com/en-sg/102195">Apple&apos;s Passkey</a> uses the key stored in iCloud Keychain for cross-device synchronization. However, this approach is typically locked to specific platforms or systems.</p></li></ol><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/0669afdee561ba10e767f933dffede04eab0a2628d720bc78456190acf53b82f.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>As described above, the webAuthn implementations align with our goal for <strong>daily blockchain users</strong>, to achieve high-level anti-phishing security and a friendly experience. Here’s the idea to merge them into blockchain:</p><ul><li><p><strong>Key Layer</strong>: Users authenticate using seamless biometric methods like facial recognition or fingerprint. Under the hood, it is the hardware-based security processor like Secure Enclave or cloud services like iCloud and Google Cloud that handle the key management. I&apos;ll dive into addressing cross-device and cross-platform issues later.</p></li><li><p><strong>Account Layer</strong>: A Smart Contract Account (SCA) offers the ability to assign arbitrary signers(e.g. SE and Passkey) and threshold mechanisms. Moreover, its modular design enhances flexibility and upgradability. For example, an SCA can adapt its signing requirements dynamically based on factors such as transaction amount, time, or IP address. On the other hand, a traditional External-Owned Account (EOA) can be augmented with MPC services, their combination offers better interoperability and cost-effectiveness compared to SCA, though it lacks advanced functionalities that SCAs provide, especially for key rotation.</p></li><li><p><strong>Signing Layer</strong>: Ethereum natively supports the k1 curve, but WebAuthn&apos;s signature verification incurs higher costs, since it uses the r1 curve for key generation. Therefore, some Layer 2 solutions like zkSync, planning on <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://eips.ethereum.org/EIPS/eip-7212">native EIP-7212 r1 curve precompiles</a>. Additionally, there are third-party services, Solidity verifiers, Zero-Knowledge (ZK) verifiers, and distributed key management systems, to facilitate r1 curve signing in a more cost-effective manner.</p></li></ul><p><strong><em>Disclaimer:</em></strong></p><p><em>Technological advancement doesn&apos;t guarantee market success; Not all devices and platforms have adopted Passkey; Using SCA can be more expensive than EOA; The proposed solution evolves with technological progress.</em></p><hr><h2 id="h-crypto-ux-sucks-key-management-sucks" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Crypto UX sucks? Key management sucks!</h2><p>In the blockchain realm, the real control of blockchain assets is not in the hands of the user or the wallet provider, but rather lies with the private key. This key is the most integral to the entire process of executing a transaction on Ethereum. To understand this better, let&apos;s take EOA as an example:</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/d286ce0bc710e6db8877b4b74850ce8d327dc28557eb290857677632f9294bdc.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><ul><li><p>Key Generation: A random number selected from the secp256k1 elliptic curve serves as the private key. This key is then multiplied by a predefined point on the curve to generate the public key. The Ethereum address is derived from the last 20 bytes of the hashed public key. The &apos;seed phrase&apos; is usually introduced for human-readable backup, enabling the deterministic derivation of private and public keys.</p></li><li><p>Signing Transactions: A transaction, containing details such as nonce(a sequential number), amount, gas price, and recipient address, is signed using the private key. This process, involving the ECDSA, a digital signature algorithm that uses elliptic curve cryptography and adopts secp256k1 as the curve, generates a signature consisting of values (r, s, v). The signature and the original transaction are then broadcast on the network.</p></li><li><p>Verifying Transactions: Once a transaction reaches Ethereum nodes, it undergoes a validation process in the node&apos;s mempool. To verify the signer, the nodes use the signature and hashed transaction to derive the sender&apos;s public key and confirm the transaction’s authenticity by matching the derived address with the sender&apos;s.</p></li></ul><p>As described above, the private key is an essential entity on-chain. Originally, Ethereum accounts, known as External Owned Accounts (EOAs), relied solely on a single private key, which posed significant risks, as losing the key meant losing access to the account.</p><p>Many may think Account Abstraction(AA) is the solution to everything related the bad user experience, which I&apos;ll say not exactly. AA is about changing the validity rules to be programmable, and the programmability of Smart Contract Account (SCAs) makes it possible. AA is powerful, enables sending multiple transactions in parallel(abstract nonce), gas sponsorship and pay gas in ERC20(abstract gas), and more relevant to this article’s topic, to break the fixed signature validation(abstract ECDSA signature). Instead of EOA, SCAs can assign arbitrary signers and signing mechanisms like multi-signature(multisigs) or scoped keys(session keys). However, <strong>despite the flexibility and upgradability advancement of AA, the fundamental reliance on key(s) for transaction signing remains unchanged.</strong></p><p>Even when converted into a 12-word seed phrase, managing a private key remains challenging, posing risks of loss or phishing attacks. Users must navigate between complex layers of decentralized solutions or the warm embrace of centralized service, neither of them is ideal.</p><p>Why crypto experience sucks? A large part of it is because key management sucks. It always requires tradeoffs in experience, security, and decentralization. This article explores potential optimal solutions for managing the key.</p><h2 id="h-key-management-layers" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Key Management Layers</h2><p>There’ll never be a one-size-fits-all solution, the best way to preserve the key is tailored to specific user scenarios, influenced by factors like user type (institutional or individual), capital amount, transaction frequency, and interaction types.</p><p>To clarify ahead, I avoid using the popular &apos;self, semi, and fully custody&apos; methods to catalog. In my view, true self-custody means signing a transaction independently, without relying on another party, this holds even if the solution isn&apos;t custodial in the traditional sense (like being stored in decentralized nodes&apos; TEE). Categorizing solutions as merely &apos;good&apos; or &apos;bad&apos; based on custody type is overly simplistic and doesn&apos;t account for their varying suitability. For a more nuanced assessment of key management methods, I suggest analyzing them through three distinct layers:</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/5e21935131d8c98f5e97f18c2e00b71ab30963db3d7066c43183ceefcd307f53.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><h3 id="h-responsibility" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Responsibility</h3><blockquote><p>Whether to split the responsibility of managing a key into different parties.</p></blockquote><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/a8556a12110345689f86510b6ef5217d789b24a5edd07d2887257101e46d09aa.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>Given that individuals often face challenges in managing the key, distributing the responsibility of safeguarding the key emerges as a natural risk mitigation strategy. This category includes methods like using multiple keys to collaboratively sign, as seen in Multi-Signature (Multi-sig) systems, and dividing the private key into shares through a Secret Sharing Scheme(SSS) or Multi-Party Computation (MPC).</p><ul><li><p>Multi-sig: Requiring multiple complete private keys to generate transaction signatures. This method necessitates on-chain communication about the different signers, incurring higher transaction fees, and impacting privacy because the number of signers is visible on-chain.</p></li><li><p>SSS: a private key is generated at a single location, and a dealer distributes pieces of this key to different parties. All parties must reconstruct the full private key to sign a transaction. However, this temporary reconstruction may introduce vulnerability.</p></li><li><p>MPC-TSS(Threshold Signature Scheme): as an implementation of MPC, a cryptographic approach enabling several parties to perform computations while keeping their inputs private jointly. Each party independently creates a secret key share, and transactions are signed without these parties ever needing to physically meet. It introduces lower fees because it’s off-chain, and no single point of failure risk as SSS.</p></li></ul><h3 id="h-storage" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Storage</h3><blockquote><p>Store the key or shares, affected by security, accessibility, cost and decentralization factors.</p></blockquote><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/c2bf805ba9b418efeec9c08a36f456f8c6ff852a581d6e23b4693bc5e281fe17.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><ul><li><p>Centralized cloud services like AWS, iCloud and other servers. They&apos;re convenient for frequent transactions, but more vulnerable to censorship.</p></li><li><p>Decentralized storage like <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://ipfs.tech/">IPFS</a> and <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://filecoin.io/">Filecoin</a>.</p></li><li><p>Local computer/mobile: Keys are stored locally within the browser&apos;s secure storage.</p></li><li><p>Paper wallets: Physical printout of private keys or QR codes.</p></li><li><p>Trusted Execution Environment (TEE): <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://en.wikipedia.org/wiki/Trusted_execution_environment">TEE</a> provides a secure area within the main processor to execute or store sensitive data, isolated from the main operating system.</p></li><li><p>Secure Enclave: The Secure Enclave on modern devices is isolated from the main processor to provide an extra layer of security and is designed to keep sensitive user data secure even when the Application Processor kernel becomes compromised.</p></li><li><p>Hardware wallets: Physical devices like <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.ledger.com/">Ledger</a> and <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://trezor.io/">Trezor</a>, specifically designed to securely store private keys.</p></li><li><p>Hardware Security Module (HSM): HSMs are specialized hardware devices designed for secure key management and cryptographic operations. They are typically used in enterprise environments and offer high-grade security features.</p></li></ul><h3 id="h-access" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Access</h3><blockquote><p>How to verify user identity to access the stored key</p></blockquote><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/59efbe466b01bb10f0eba69f2f84a58168c047ef399a876c35846beeed08a456.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>Authentication is involved in accessing the stored key. It&apos;s about validating that the individual attempting access is indeed authorized to do so. Looking back to history, we can categorize the history like this:</p><ol><li><p>Something You Know: Passwords, PINs, answers to security questions, or specific patterns.</p></li><li><p>Something You Have:Include smart cards, hardware tokens (Time-based one-time passwords), or digital factors like social account verifications and SMS codes sent to a phone.</p></li><li><p>Someone You Are:Involve unique physical characteristics of the user, such as fingerprints, facial recognition (like Apple’s Face ID or Windows Hello), voice recognition, or iris/retina scans.</p></li></ol><p>Upon these, 2FA and MFA are methods that combine two or more factors, like SMS combined push notification, to add more security layers to user accounts.</p><h2 id="h-existing-players-analysis" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Existing Players Analysis</h2><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/1ec145bfa5a0f018a39dd1631f25e38f78a44fdd2f6642a8d95d532e6e3c4dda.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://metamask.io/">MetaMask</a> allows users to use a password to access the key stored in the user’s local browser’s storage.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/88755877668b3b58feed1d1f85b891b143ac8407ae6ec84536045527515b7985.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://trustwallet.com/">Trust Wallet</a> allows users to use a password or faceID to access the key stored in the user’s local browser’s storage, the user also can choose cloud service to back up the private key.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/2a3351155b24d321fcae917ab02ea141f8ad20e59b059eb41a2aa592444cc225.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.privy.io/">Privy</a> allows users to use multiple social login methods like email, using SSS to split three shares:</p><ul><li><p>Device share: Browser-iFrame, mobile- secure enclave.</p></li><li><p>Auth share: Stored by privy, link to privy id).</p></li><li><p>Recovery share: User password or encrypted by Privy stored in <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://en.wikipedia.org/wiki/Hardware_security_module">hardware security module (HSM)</a>.</p></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/4966313d498f6ac8c02059795ac3ff83fb0160e1bf5e054bf0958c0f26804315.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://wallet-debug.particle.network/">Particle</a> allows users to use social login, using MPC-TSS that has two shares:</p><ul><li><p>Device share: browser-iFrame</p></li><li><p>Server key share: Particle&apos;s server</p></li></ul><h2 id="h-new-solution" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">New Solution</h2><h3 id="h-key-layer-webauthn-secure-enclave-and-passkey" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Key layer: WebAuthn, Secure Enclave and Passkey</h3><p>Existing solutions above have been pivotal in introducing users to web3. However, they often come with challenges: passwords can be forgotten or targeted in phishing attacks, and even 2FA, though more secure, can be cumbersome with its multiple steps. Additionally, not everyone is comfortable entrusting a third party with key management, users still depend on their system availability and liveness while some services ensure they can&apos;t access the key.</p><p>This brings us to ponder whether there&apos;s a more effective solution — one that offers the closest solution to a trustless, high-security, and seamless user experience. This search leads us to the optimal web2 methods. Several terms are tightly related to the topic, as I described at the beginning of the article, WebAuthn is the authentication standard itself, while Secure Enclave and Passkey are implementations or components related to this standard.</p><p><strong>WebAuthn</strong></p><p>WebAuthn standardizes the interface of authenticating users to web-based applications. It allows users to log in to internet accounts using external authenticators instead of a password. Authenticators could be Roaming Authenticators (Yubikey, Titan key) or a Platform Authenticator (Built-in keychain on Apple devices), and so on.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/163457169fc5f7f3200b04a7e2bad57ed2b765fbd04ab76086c398c75f81c843.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>The FIDO (Fast IDentity Online) Alliance initially developed the technologies behind WebAuthn. It was officially declared a web standard by the W3C in March 2019 and along with its standardization, major browsers like Google Chrome, Mozilla Firefox, Microsoft Edge, and Apple Safari have adopted WebAuthn, significantly increasing its reach and usability. Now it is supported by <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://passkeys.dev/device-support/">many advanced devices</a>.</p><p>Benefits of webAuthn:</p><ul><li><p><strong>Enhanced Security</strong>: Eliminates reliance on passwords, reducing vulnerability to phishing, brute force, and replay attacks.</p></li><li><p><strong>Improved User Experience</strong>: Offers a simpler and quicker login process, often with just a tap or biometric verification.</p></li><li><p><strong>Privacy Protection</strong>: No shared secrets are transmitted during authentication, and individual websites don’t receive any personally identifiable information.</p></li><li><p><strong>Scalability and Standardization</strong>: As a web standard, WebAuthn ensures consistency and interoperability across different browsers and platforms.</p></li></ul><p><strong>Device-bound WebAuthn, eg. Secure Enclave</strong></p><p>In modern cases, we can use the hardware processor as the authenticator, like Secure Enclave for Apple device, Trustzone for Android, and Strongbox for Google Pixel.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/9fc63282f20dc1bd3e142aff21abc9baa893ac4952c717d72fafb4818f3d407e.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><ol><li><p>Key Generation: Using <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://en.wikipedia.org/wiki/Public-key_cryptography">public-key cryptography</a>, a key pair is generated in accordance with WebAuthn standards, typically using the P-256 r1 curve. The public key is sent to the service, while private key <strong>NEVER</strong> leaves Secure Enclave. User never handles the plain-text key, making it difficult for the private key to become compromised.</p></li><li><p>Key Storage: Private key is securely stored within the device’s <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://support.apple.com/guide/security/secure-enclave-sec59b0b31ff/web">Secure Enclave</a>, a fortified subsystem segregated from the main processor. It safeguards sensitive data, ensuring that even if the main system is compromised, the raw key material remains inaccessible. The bar to compromise the Secure Enclave is extremely high, and therefore the most sensitive data types such as Apple Pay and FaceID data are stored there. Here’s a in-depth explanation of <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.blackhat.com/docs/us-16/materials/us-16-Mandt-Demystifying-The-Secure-Enclave-Processor.pdf">how SE works</a>.</p></li><li><p>Authentication: Users use their facial recognition or fingerprint to get access, the Secure Enclave using the private key to sign a challenge from the service, and the service verifies using the public key.</p></li></ol><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/2a0f64f95ed64cfadf75c1f73b3053cc1e8f030632616e7d9a32ae8197a72eec.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>Device-based webAuthn pros:</p><ul><li><p><strong>Hardware-level security:</strong> Using Secure Enclave, an isolated hardware-based key manager to provide an extra layer of security.</p></li><li><p><strong>Phishing resistance:</strong> Do not involve entering any information on potentially compromised devices or websites.</p></li><li><p><strong>Convenient experience</strong>: They provide a more user-friendly experience. Users no longer need to remember complex passwords for different sites.</p></li></ul><p>Device-based webAuthn cons:</p><ul><li><p><strong>Device constraints:</strong> The private key can not be exported or retrieved if the device is lost or damaged, cross-device operation is impossible.</p></li></ul><p><strong>Cloud-based WebAuthn, Passkey</strong></p><p>Addressing the challenge of cross-device functionality, tech giants have introduced cloud-based webAuthn implementation, Passkey is broadly familiar because of Apple.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/50f121a270f509db82aad810ba1a1221a505b7ffc4759d15ba25ad4e9d17c82d.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>Let’s take Apple&apos;s Passkey as an example:</p><ol><li><p>Key generation: The user’s macOS, iOS, or iPadOS device, as the authenticator, generates a public-private key pair when the user creates the account. Then sends the public key to the server, and the private key is stored on the device’s iCloud keychain. iCloud Keychain data is encrypted with a hardware-bound keypair, and stored in a hardware security module (HSM). The key is inaccessible to Apple.</p></li><li><p>Synchronization across devices: This process will be the same as accessing iCloud. Authenticate to the iCloud account, receive an SMS code, and enter the passcode of one of the devices.</p></li></ol><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/4f8c78364eb3dd769c362736a21435b72851142f24a498d394ce06850ac14499.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>Cloud-based webAuthn pros:</p><ul><li><p><strong>Cross-device:</strong> Passkeys were designed to be convenient and accessible from all devices used on a regular basis. But currently limited to Apple devices, for Android it’s more challenging because of its diverse versions and hardware variations.</p></li><li><p><strong>Phishing Resistance:</strong> Same as above.</p></li><li><p><strong>Convenient Experience</strong>: Same as above.</p></li></ul><p>Cloud-based Passkey cons:</p><ul><li><p><strong>Rely on cloud service:</strong> Compare to device-based webAuthn, cloud-based passkey moves the security level from Secure Enclave&apos;s hardware to iCloud keychain, some can argue it’s custodial to your cloud service. Some key aspects to consider include: User’s AppleID account used with iCloud is compromised; While iCloud Keychain employs end-to-end encryption to protect data, operational errors or vulnerabilities pose a risk.</p></li><li><p><strong>Restrict to platform:</strong> For example, using an iCloud-based passkey on an Android device is extremely challenging. Furthermore, unlike traditional methods, Apple and Google do not send device-specific assertions. This means it’s currently impossible to verify the type of device that generated a key, which raises questions about the reliability of the key and its associated metadata.</p></li></ul><h3 id="h-account-layer-sca-and-eoa" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Account Layer: SCA and EOA</h3><p>So far, we can see maintaining hardware-level security while addressing cross-device and cross-platform compatibility is challenging. Equally crucial is the social recovery option, such as adding multiple guardians for enhanced security. In this context, blockchain can show us a way.</p><blockquote><p>A notable gap when we try to implement web2 webAuthn to web3: Web2 only requires proving ownership, whereas web3 also necessitates authorizing the transaction simultaneously. With Passkey, developers lack control over the signing message, which is typically generic, like &apos;sign in.&apos; This can lead to potential front-end manipulation, users signing messages blindly—a seemingly minor but crucial concern.</p></blockquote><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/56013b80f5997aaf122df8e94032a1247f5f301119fb0ec35cac60e7d240c118.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>Smart Contract Accounts(SCA), inherently smart contracts themselves, function as on-chain entities, capable of assigning arbitrary signers. This flexibility allows for programming various devices and platforms – such settingan Android phone, a Macbook, and an iPhone – as signers. Even further, Modular Smart Contract Account allows upgradability, swapping out new signers, changing the signing threshold from 2 out of 3 to even more intricate configurations.</p><p>Envision a wallet that adapts its security requirements based on context: it allows single-signer authentication when the user is on a familiar local IP address, but requires multiple signers for transactions from unknown IP addresses or above a certain value. With modularity and programmability, our imagination is the only limit to such innovations. Many SCA service providers actively build this space, including <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://safe.global/">Safe</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://zerodev.app/">Zerodev</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.biconomy.io/">Biconomy</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://etherspot.io/">Etherspots</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.rhinestone.wtf/">Rhinestone</a>, etc. Also shout out to infrastructure like <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.stackup.sh/">Stackup</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.pimlico.io/">Plimico</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.alchemy.com/">Alchemy</a> make it possible.</p><p><em>Please check </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://mirror.xyz/sevenxventures.eth/Uz8JtwdbTvHMjiqj3n0t-qRA7RpSIyQWPLgFntdKoFg"><em>my previous research</em></a><em> provides more comprehensive context around SCA.</em></p><p>EOAs can achieve social recovery and cross-device/platform compatibility through MPC services. Despite EOAs having fixed signers, MPC providers can split keys into shares for enhanced security and flexibility. This method lacks SCA&apos;s programmable and upgradable features, such as timelock recovery and easy key deactivation. However, it still offers superior cross-chain capabilities by being chain-agnostic and is currently more cost-effective than SCAs. Notable MPC providers including <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.privy.io/">Privy</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://particle.network/">Particle Network</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://web3auth.io/">web3Auth</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.okx.com/">OKX wallet</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.binance.com/en/support/faq/why-do-i-need-to-backup-my-binance-web3-wallet-and-how-to-do-it-4efebcb9a937417ca31baa2f7754c50f">Binance wallet</a>, etc.</p><h3 id="h-signing-layer-r1-support" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Signing Layer: R1 support</h3><p>Let&apos;s take a step back to understand the context: On Ethereum, private keys are random numbers selected from the k1 curve, and the signing process also utilizes this curve.</p><p>However, the key pairs generated according to WebAuthn standards, use the r1 curve. Therefore, verifying an r1 signature on Ethereum is approximately three times more expensive than a k1 signature. Here are some approaches to address this:</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/aac6223c3111b2c283fbb18d3c53f27dd781fb9ba0a2d47ecfe261f928f59336.png" alt="Credit to Dogan, for more in-depth knowledge please check his research." blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Credit to Dogan, for more in-depth knowledge please check his research.</figcaption></figure><p><strong>Protocol Solution:</strong></p><ul><li><p>Solution: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://eips.ethereum.org/EIPS/eip-7212">EIP7212</a>, Precompiled for secp256r1 Curve Support proposed by <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.getclave.io/">Clave</a> team.</p></li><li><p>Evaluation: This proposal creates a precompiled contract that performs signature verifications in the “secp256r1” elliptic curve by given parameters of message hash, <code>r</code> and <code>s</code> components of the signature, and <code>x</code>, <code>y</code> coordinates of the public key. So that, any EVM chain - principally Ethereum rollups - will be able to integrate this precompiled contract easily. By far, protocol precompile maybe the most gas efficient solution.</p></li><li><p>Implementation: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://zksync.io/">zkSync</a></p></li></ul><p><strong>Third-party Service</strong></p><ul><li><p>Solution: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.turnkey.com/">Turnkey</a></p></li><li><p>Evaluation: a Turkey TEE ensures the private key is accessible only to the user via their PassKey and never accessible for the Turnkey themselves, however this still requires the liveness of the service.</p></li><li><p>Implementation: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://goldfinch.finance/">Goldfinch</a></p></li></ul><p><strong>Solidity Verifier Solutions:</strong></p><ul><li><p>Solution: FCL&apos;s Solidity Verifier, FCL&apos;s Solidity Verifier With Precomputation, Daimo’s P256Verifier</p></li><li><p>Implementation: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.getclave.io/">Clave</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.obvious.technology/">Obvious Wallet</a></p></li></ul><p><strong>Zero-Knowledge(ZK) Verifier:</strong></p><ul><li><p>Solution: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://dev.risczero.com/api/bonsai/">Risc0 Bonsai</a>, Axiom’s <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/axiom-crypto/halo2-lib">halo2-ecc</a></p></li><li><p>Evaluation: This approach leverages zero-knowledge proofs to verify computations outside the Ethereum Virtual Machine (EVM), reducing on-chain computational costs.</p></li><li><p>Implementation: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://learn.bonfire.xyz/bonfire-wallet">Bonfire Wallet</a>(Risc0), <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.knownothinglabs.xyz/">Know Nothing Labs</a>(Axiom)</p></li></ul><p>Each of these solutions offers a different method to empower cheaper and feasible r1 signature verification in Ethereum&apos;s ecosystem, and here’s an assessment by <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/doganeth_en/status/1704870326952243237">Dogan</a>.</p><h2 id="h-implementation-case-study" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Implementation Case Study</h2><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/f1c0d79a970236220795b46265e11836e73f496986d9c7e8f6b97ed7bddeaef8.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>*<em>Please note that as of December 2023, most of these solutions are in their early stages and may change or improve at any time. These examples are only for learning purposes; always refer to their official websites for accurate information.</em></p><h3 id="h-clave-wallet-secure-enclave-webauthn-sca" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Clave wallet: (Secure Enclave webAuthn) + (SCA)</h3><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/67970c28629884d3e7dbf9863164fbc1c20d9a6cd8737dc4d64ebf401f6b72d3.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p><strong>Basics:</strong></p><ul><li><p>Demo: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://getclave.io/">https://getclave.io/</a></p></li><li><p>Account: SCA</p></li><li><p>Chain: ZkSync</p></li></ul><p><strong>Transaction process:</strong></p><ul><li><p>Key creation: User provide biometric authentication like fingerprint or facial recognition, a key pair is generated inside the Secure Enclave, which never reveal or leave outside.</p></li><li><p>Key signing: The app takes a required transaction message and forwards a signing request to Secure Enclave, user provide bio-auth to approve signing, and the Secure Enclave signs the message with the key, and to be broadcast to blockchain nodes.</p></li><li><p>Additional functions: Smart contract account enables many powerful functions. First, gas sponsorship. Due to the paymaster, other parties like dApp or advertisers can pay for user’s gas fee, making the transaction process smoother, and also they are able to allow users pay gas in ERC20 instead of Ether or native token. And using session key, user can conduct signless transaction in a period of time.</p></li></ul><p><strong>Recovery mechanism:</strong></p><p>The recovery process is conduct by Clave’s smart contract on zkSync, user is able to cancel the recovery during a 48-hour time lock, to prevent unauthorized and malicious activities.</p><ul><li><p>Cloud backup: A EOA will be created when user choose the cloud backup, the private key of the EOA is stored in either iCloud or Google Drive, user can use this cloud-stored private key to access their account from different device, and users can remove or overwrite this backup section at any time.</p></li><li><p>Social recovery: User can assign their family or friend’s clave address as backup, if M of N guardians give a confirmation for recovery, the recovery will be executed after 48hrs lockdown if without cancel.</p></li></ul><h3 id="h-soul-wallet-passkey-4337-sca" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Soul wallet: (Passkey) + (4337 SCA)</h3><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/0036349134291d809211e34aac00641d930ac4a0a01f5d740d4bdad2dea7d541.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p><strong>Basics:</strong></p><ul><li><p>Demo: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://alpha.soulwallet.io/wallet">https://alpha.soulwallet.io/wallet</a></p></li><li><p>Account: ERC4337 SCA</p></li><li><p>Chain: Ethereum, Optimism, Arbitrum, and soon all EVM layer2</p></li></ul><p><strong>Transaction process:</strong></p><ul><li><p>Key creation: Users provide biometric authentication like fingerprint or facial recognition, and the operating system generates Passkey and backs it up using cloud service. You can add more than one passkey cross-device and cross-platform.</p></li><li><p>Add gardians(Optional): User can assign different EVM EOA address as guardians and set up a threshold for account recovery.</p></li><li><p>Account generation: Using counterfactual deployment, users don’t need to pay any fee until the first transaction</p></li></ul><p><strong>Recovery mechanism:</strong></p><ul><li><p>Passkey: Use any defined passkey to log into the wallet using an arbitrary device.</p></li><li><p>Guardians recovery: The assigned guardians can rotate the wallet according to the threshold, and a time lock may addressed later to prevent malicious behavior.</p></li></ul><h3 id="h-okx-walletmpc-tss-passkey-4337-sca" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">OKX wallet:(MPC-TSS + Passkey) + (4337 SCA)</h3><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/ade4ead76c41464aa36b3c13a8b90c6fe9e5c5aaa9f3e2d1fa1bac2a6f28331b.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p><strong>Basics:</strong></p><ul><li><p>Demo: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.okx.com/help/what-is-an-aa-smart-contract-wallet">https://www.okx.com/help/what-is-an-aa-smart-contract-wallet</a></p></li><li><p>Chain: 30+ chains</p></li><li><p>Key: MPC-TSS, 2/3</p></li><li><p>Account: 4337 SCA</p></li></ul><p><strong>Transaction process:</strong></p><ul><li><p>Key creation: By creating a wallet, the OKX transforms a single private key into three separate shares. Share 1 is stored in the OKX server, share 2 is stored on user’s device local storage, and share 3 is generated by device, encrypted and can be backed up to the device’s preferred cloud services, like Google Cloud, iCloud and Huawei Cloud.</p></li><li><p>Key signing: OKX using the MPC-TSS technology, user can obtain the full signature by using two out of three the private key shares when signing the transaction, the key shares never meet each other during this process.</p></li></ul><p><strong>Recovery mechanism:</strong></p><ul><li><p>2/3 mechanism: When user logged out, device is unavailable or one of the keys on the device is compromised, you can use new device to login OKX wallet(get the server share) and get the cloud service share, combine these2 shares to recover the wallet, OKX wallet will generate new secret shares.</p></li></ul><h3 id="h-web3auth-mpc-tss-passkey-eoasca" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Web3Auth: (MPC-TSS + Passkey)+ (EOA/SCA)</h3><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/2c0b8ae53753cbd2fa77b1ad2f53245f40e5c052a50635ae4354ee13e4401ce7.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p><strong>Basics:</strong></p><ul><li><p>Demo: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://w3a.link/passkeysDemo">https://w3a.link/passkeysDemo</a></p></li><li><p>Chain: All EVM and Solana</p></li><li><p>Key: MPC-TSS, usually 2/3</p></li><li><p>Account: Any account like EOA, 4337 SCA or general SCA</p></li></ul><p><strong>Transaction process:</strong></p><ul><li><p>Key creation: By creating a wallet, three key shares generated. Share1 is social login share, user can type in their email, and a decentralized network of nodes the store the key for each user; Share2 is device share that stored on user’s device local storage; Share3 is generated by local computer and backed up by user’s preferred cloud services.</p></li><li><p>Key signing: The Web3Auth MPC-TSS architecture ensures that the user’s key is always available, even using the threshold signing, keys never reconstruct or stored in a single place.</p></li></ul><p><strong>Recovery mechanism:</strong></p><ul><li><p>Threshold recovery When user logged out, device is unavailable or one of the keys on the device is compromised, you can use social login method to login webAuthn account and get the passkey cloud share, combine these2 shares to recover the wallet.</p></li></ul><h3 id="h-lit-protocolmpc-tss-decentralized-nodes-passkey-eoasca" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Lit Protocol(MPC-TSS + Decentralized nodes + Passkey)+ (EOA/SCA)</h3><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/28354b82bcea809af4935d2717772099ea06dccecd8776630a46ef74382f052e.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p><strong>Basic information:</strong></p><ul><li><p>Demo: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://lit-pkp-auth-demo.vercel.app/">https://lit-pkp-auth-demo.vercel.app/</a></p></li><li><p>Chain: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://developer.litprotocol.com/v2/resources/supportedchains/">Most of the EVM, Cosmos, Solana</a>.</p></li><li><p>Account: MPC-TSS, 20 of 30 network, can be adopted by both SCA and EOA.</p></li></ul><p><strong>Transaction process:</strong></p><ul><li><p>Key creation: When user want to create a wallet, use first select an auth method(passkey, oAuth social login supported), a request then sent to relayer to create key pairs and store the auth logic to smart contract. Each key pair is generated collectively by the Lit nodes through a process called <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://developer.litprotocol.com/v2/resources/howItWorks#threshold-cryptography">Distributed Key Generation</a> (DKG). Operating as a decentralized network, 30 Lit nodes running inside TEE, each node holds a share of the key but the private key never exists in its entirely.</p></li><li><p>Key signing: Receiving the request, Lit nodes independently validate or reject the request against the assigned authentication method, and using the MPC-TSS technology,1. Key shares are collected above the threshold(20 out of 30) to generate a signature and combined by client to fulfill the request.</p></li></ul><p><strong>Recovery mechanism:</strong></p><ul><li><p>2/3 mechanism: Use the auth methods stored in the smart contract to access the account, Lit nodes validate the requests and it will proceed if over 2/3 of nodes confirm.</p></li></ul><hr><h2 id="h-conclusion" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Conclusion:</h2><p>Fueled by enthusiasm for Layer2, Layer3, and Data availability solutions, we are keen to improve the performance of blockchain. Also, pursuing real security, combining Zero Knowledge Proof Privacy with transparency nature. All efforts are targeting one goal: To be ready for real users that frequently interact with blockchain and adopt crypto into their lives.</p><p>It’s easy to be trapped in an optimal technology dream, but we must ask: what kind of experience are we aiming for? We envision a world where crypto is about intuition rather than daunting tech terms, where a user jumps into the rabbit hole without hesitation and hassle.</p><p>Picture a user Rui: She discovers a fantastic dApp, easily signs up using facial recognition or a fingerprint, with the option to set up backups or guardians. As she engages with the dApp, she smoothly executes transactions, possibly with small ERC20 fees or even none at all. Later, she customizes her wallet settings – perhaps activating a time-lock for automated transactions, adding another device as a backup signer, or revising her guardian list.</p><p>Our builders make that happen. Integrating WebAuthn and Passkey, we enhance private key management, making it both secure and user-friendly. On top of the key, SCA as an entity opens a realm of personalized security and functionality. And as for gas fees? They become less burdensome, thanks to Paymaster providers who can create a &apos;vault&apos; for swaps or even allow advertisers to cover fees for users. At the heart of this evolution, particularly for Ethereum mainnet and its equivalent Layer2s, is ERC4337. It introduces an alternative mempool that sets apart SCA transactions from EOAs, without major protocol overhauls. On the other hand, some Layer 2 networks are even embracing SCAs natively, seamlessly incorporating them into their systems.</p><p>It requires tremendous efforts to make everything easy. Many challenges exist like lowering deployment, validation, and execution fees for SCA; Standardizing the interface to increase account interoperability; Syncing account state cross-chain; and many more. Credit to all the builders, we’re getting closer to solve the puzzle day by day. And crypto ventures like us- <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.7xvc.com/">SevenX</a>, are ready to help great firms realize their vision.</p><p>If all of these interest you, there are my other pieces provides more comprehensive context :</p><ul><li><p>04/ Account: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://mirror.xyz/sevenxventures.eth/Uz8JtwdbTvHMjiqj3n0t-qRA7RpSIyQWPLgFntdKoFg"><strong>Modular Smart Contract Account Architecture and Challenges</strong></a></p></li><li><p>03/ Key(this article): WebAuthn and Passkey, Key Management for Daily Crypto Users</p></li><li><p>02/ Infrastructure: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://mirror.xyz/sevenxventures.eth/LM9qZcx9M1ALIPNz15_mqgGSHxPD3ctKMDOXsjxSpzI"><strong>Ethereum Account Evolution brought by ERC4337</strong></a></p></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/b725de4a555aa17d4a8d298430316f65337cd136ca6d38485b2d57b422fa07c5.jpg" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><hr><h2 id="h-acknowledges" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Acknowledges:</h2><p>Acknowledgment to my dearest friends for their review:</p><ul><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/davidlsneider">David Sneider</a>, co-founder of <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.litprotocol.com/">Lit</a> <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.litprotocol.com/">Protocol</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/henri_stern">Henri Stern</a>, co-founder of <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.privy.io/">Privy</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/zenzhenyu">Zhen</a>, co-founder of <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://web3auth.io/">Web3Auth</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/doganeth_en">Dogan</a> and <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/rafierszl">Rafi</a>, founding members of <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://getclave.io/">Clave</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/Ivshti">Ivo,</a> founder of <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.ambire.com/">Ambire</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/itamarl">Itmar</a>, founder of <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.argent.xyz/">Argent</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/larsen_kf">Kurt Larsen</a> and <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/abstractooor">Konrad</a>, co-founders of <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.rhinestone.wtf/">Rhinestone</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/0xpengyu">Pengyu Wang</a> and <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/pantaovay">Peter Pan</a>, co-founders of <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/ParticleNtwrk">Particle network</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.okx.com/cn">OKX Wallet team</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/0xDavidKim">David Kim</a>, eng lead of <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://trustwallet.com/">Trust Wallet</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/vivianphung">Vivian Phung</a>, founder of <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://t.co/Ef5hvSvzsQ">Snowball Tools</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/evmBrahmin">evmBrahmin</a>, founder of <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/hopesec_">HopeSec</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/0xjjpa">Jose Aguinaga</a></p></li></ul><h2 id="h-reference" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Reference:</h2><div data-type="embedly" src="https://developer.apple.com/documentation/security/keychain_services" data="{&quot;provider_url&quot;:&quot;https://developer.apple.com&quot;,&quot;description&quot;:&quot;Securely store small chunks of data on behalf of the user.&quot;,&quot;title&quot;:&quot;Keychain services | Apple Developer Documentation&quot;,&quot;thumbnail_width&quot;:1200,&quot;url&quot;:&quot;https://developer.apple.com/documentation/security/keychain-services&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/dae1b79a9d60ae4bb5b5e6b29eb92ce4909fa6280749e375488604c0e68169fe.jpg&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Apple Developer Documentation&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:630,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:1200,&quot;height&quot;:630,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/dae1b79a9d60ae4bb5b5e6b29eb92ce4909fa6280749e375488604c0e68169fe.jpg&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/dae1b79a9d60ae4bb5b5e6b29eb92ce4909fa6280749e375488604c0e68169fe.jpg"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://developer.apple.com/documentation/security/keychain_services" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>Keychain services | Apple Developer Documentation</h2><p>Securely store small chunks of data on behalf of the user.</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://developer.apple.com</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/dae1b79a9d60ae4bb5b5e6b29eb92ce4909fa6280749e375488604c0e68169fe.jpg"/></div></a></div></div><div data-type="embedly" src="https://developer.apple.com/documentation/authenticationservices/public-private_key_authentication/supporting_passkeys/" data="{&quot;provider_url&quot;:&quot;https://developer.apple.com&quot;,&quot;description&quot;:&quot;Eliminate passwords for your users when they sign in to apps and websites.&quot;,&quot;title&quot;:&quot;Supporting passkeys | Apple Developer Documentation&quot;,&quot;thumbnail_width&quot;:1200,&quot;url&quot;:&quot;https://developer.apple.com/documentation/authenticationservices/supporting-passkeys&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/dae1b79a9d60ae4bb5b5e6b29eb92ce4909fa6280749e375488604c0e68169fe.jpg&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Apple Developer Documentation&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:630,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:1200,&quot;height&quot;:630,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/dae1b79a9d60ae4bb5b5e6b29eb92ce4909fa6280749e375488604c0e68169fe.jpg&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/dae1b79a9d60ae4bb5b5e6b29eb92ce4909fa6280749e375488604c0e68169fe.jpg"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://developer.apple.com/documentation/authenticationservices/public-private_key_authentication/supporting_passkeys/" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>Supporting passkeys | Apple Developer Documentation</h2><p>Eliminate passwords for your users when they sign in to apps and websites.</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://developer.apple.com</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/dae1b79a9d60ae4bb5b5e6b29eb92ce4909fa6280749e375488604c0e68169fe.jpg"/></div></a></div></div><div data-type="embedly" src="https://www.slashid.dev/blog/passkeys-deepdive/" data="{&quot;provider_url&quot;:&quot;https://www.slashid.dev&quot;,&quot;description&quot;:&quot;We stop identity breaches&quot;,&quot;title&quot;:&quot;The good, the bad and the ugly of Apple Passkeys | SlashID Blog&quot;,&quot;mean_alpha&quot;:78.5357142857,&quot;thumbnail_width&quot;:1200,&quot;url&quot;:&quot;https://www.slashid.dev/blog/passkeys-deepdive/&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/6b08e65d094c39469eee466906af275c36222c26648eb784d9d21a4347e91a1e.png&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Slashid&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:630,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:1200,&quot;height&quot;:630,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/6b08e65d094c39469eee466906af275c36222c26648eb784d9d21a4347e91a1e.png&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/6b08e65d094c39469eee466906af275c36222c26648eb784d9d21a4347e91a1e.png"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://www.slashid.dev/blog/passkeys-deepdive/" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>The good, the bad and the ugly of Apple Passkeys | SlashID Blog</h2><p>We stop identity breaches</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://www.slashid.dev</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/6b08e65d094c39469eee466906af275c36222c26648eb784d9d21a4347e91a1e.png"/></div></a></div></div><div data-type="embedly" src="https://blog.getclave.io/p/recovery-for-everyone-cloud-and-guardians?utm_source=profile&amp;utm_medium=reader2" data="{&quot;provider_url&quot;:&quot;https://blog.getclave.io&quot;,&quot;description&quot;:&quot;Onboarding to future of finance&quot;,&quot;title&quot;:&quot;Clave - Meet with Clave #3 : Recovery for Everyone&quot;,&quot;thumbnail_width&quot;:2000,&quot;url&quot;:&quot;https://blog.getclave.io/p/recovery-for-everyone-cloud-and-guardians?utm_source=profile&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/fa5c25761382c64b9a5c67565b944070cd4d9cadcdd6a2295e09aa6d3e633ac7.png&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Getclave&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:1125,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:2000,&quot;height&quot;:1125,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/fa5c25761382c64b9a5c67565b944070cd4d9cadcdd6a2295e09aa6d3e633ac7.png&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/fa5c25761382c64b9a5c67565b944070cd4d9cadcdd6a2295e09aa6d3e633ac7.png"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://blog.getclave.io/p/recovery-for-everyone-cloud-and-guardians?utm_source=profile&amp;utm_medium=reader2" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>Clave - Meet with Clave #3 : Recovery for Everyone</h2><p>Onboarding to future of finance</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://blog.getclave.io</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/fa5c25761382c64b9a5c67565b944070cd4d9cadcdd6a2295e09aa6d3e633ac7.png"/></div></a></div></div>]]></content:encoded>
            <author>sevenxventures@newsletter.paragraph.com (SevenX Ventures)</author>
            <enclosure url="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/0c5d7b26aeb3616dfa40a84b2a44c11ffeafb4fcc16a9c16102b90c9d00b59c0.png" length="0" type="image/png"/>
        </item>
        <item>
            <title><![CDATA[Infrastructural Frontiers for Multi-Rollup World]]></title>
            <link>https://paragraph.com/@sevenxventures/infrastructural-frontiers-for-multi-rollup-world</link>
            <guid>4Wadct95NuZ6SGXiuxHv</guid>
            <pubDate>Fri, 01 Dec 2023 15:46:54 GMT</pubDate>
            <description><![CDATA[By @Grace, Investor of SevenX Ventures Many thanks to @13yearoldvc @prabalbanerjee @maqstik @ballsyalchemist @donnoh_eth @ChundaMcCain @shumochu @ranvirrana001 and others for related discussions and review!Recently, there has been a noticeable trend where an increasing number of dApps are announcing the launch of their own rollups. Additionally, there&apos;s a rise in the number of generic rollups that are set to go live.Generic rollups address Ethereum&apos;s scalability issues as it faces r...]]></description>
            <content:encoded><![CDATA[<p><em>By </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href=""><em>@Grace</em></a><em>, Investor of SevenX Ventures</em></p><p><em>Many thanks to </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/13yearoldvc"><em>@13yearoldvc</em></a><em> </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/prabalbanerjee"><em>@prabalbanerjee</em></a><em> </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/maqstik"><em>@maqstik</em></a><em> </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/ballsyalchemist"><em>@ballsyalchemist</em></a><em> </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/donnoh_eth"><em>@donnoh_eth</em></a><em> </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/ChundaMcCain"><em>@ChundaMcCain</em></a><em> </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/shumochu"><em>@shumochu</em></a><em> </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/ranvirrana001"><em>@ranvirrana001</em></a><em> and others for related discussions and review!</em></p><hr><p>Recently, there has been a noticeable trend where an increasing number of dApps are announcing the launch of their own rollups. Additionally, there&apos;s a rise in the number of generic rollups that are set to go live.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/f1e28ecddc3eb60648ec68ae1e9556154b086f8313fcd92fb6478165b2306aad.jpg" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>Generic rollups address Ethereum&apos;s scalability issues as it faces rising transaction volumes and dApp growth. These layer 2 solutions process more transactions off-chain, later securing them on the main chain, balancing scalability with security. Their versatility supports various dApps, removing the need for unique scaling solutions for each application.</p><p>App-specific rollups are tailored solutions that address the unique needs of individual applications. They offer enhanced speed by optimizing transaction processing for specific use cases. Cost-wise, they might provide a more efficient alternative to generic solutions, especially during network congestion. Their standout feature is flexibility. Unlike general-purpose Layer 2 solutions that are rigid and are more constrained by the enshrined EVM design, app-specific rollups can be customized, making them ideal for applications like games that require specific precompiles. Additionally, they allow dApps to better capture value, offering more control over token economics and revenue streams.</p><p>With the consensus forming around the proliferation of rollups, looking a year into the future where multiple rollups dominate the market, the need for a robust infrastructure becomes paramount. This infrastructure will serve as the &quot;reinforced concrete&quot; of a multi-rollup world.</p><p>This article will delve into four fundamental pillars that will shape the future of the multi-rollup ecosystem:</p><ul><li><p>Security As a Foundation: The Security Layer is the bedrock of trust in the decentralized world. In this section, we explore the vital role it plays in ensuring the integrity of Layer 2 transactions, identifying trust assumptions, and addressing potential security pitfalls.</p></li><li><p>Balancing Customizability and Interoperability : Achieving seamless interoperability among diverse rollups is pivotal for a modular blockchain world. In this section, we dive into the interop problems brought by a modular structure and discuss current solutions to address fragmentation, and foster a cohesive ecosystem.</p></li><li><p>Cost Analysis: Reducing costs is crucial for the broader adoption and viability of rollups, as it lowers the economic barriers compared to utilizing smart contracts. Cost efficiency in rollups is primarily achieved through harnessing economies of scale by aggregating with other rollups to share fees, and embracing the division of labor by delegating certain tasks to external service providers.</p></li><li><p>Shared Security: A shared security layer is essential as it alleviates the time and resource-intensive process of bootstrapping security for new protocols or modular layers, ensuring a robust security comparable to established platforms like Ethereum. Numerous solutions like Eigenlayer, Babylon, Cosmos&apos;s ICS, and Mesh Security have emerged, showcasing a variety of applications</p></li></ul><p>Together, these four layers will provide a comprehensive blueprint for the infrastructure needed to support a thriving and cohesive modular blockchain world.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/6dc666ebb774c9d634067f34792f40c72811c01756dba72971c7696e08a03c09.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><h1 id="h-security-as-a-foundation" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Security As a Foundation</h1><p>At the heart of any decentralized system lies trust and security. Their absence undermines the very promise of a trustless ecosystem. This is why the security layer is paramount; without it, users and TVL are at risk. Plasma and Sidechains&apos; decline offers a cautionary tale. Once seen as Ethereum&apos;s scaling savior, its issues, like the &quot;data availability problem,&quot; eroded trust and led to its waning popularity. That&apos;s why the security layer becomes part I of this article.</p><p>To understand the intricacies of rollups and their potential vulnerabilities, it&apos;s essential to dissect the lifecycle of a Layer 2 transaction. Using smart contract rollups as a reference, let&apos;s delve into each phase and identify the trust assumptions and potential security pitfalls:</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/995df020fda2943531f9bc8fcff240cb78f42c195409fc5b671da91d4a82f82d.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><ul><li><p><strong>Tx Submission through RPC:</strong></p><ul><li><p><strong>Trust Assumption:</strong> The RPC endpoint is reliable and secure. Users and dapps are now trusting rpc providers eg alchemy, infura, etc.</p></li><li><p><strong>Security Concern:</strong> Users might be censored by rpc providers, e.g. infura and alchemy blocking rpc requests to <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/ChainLinkGod/status/1558658544429252608">tornardo cash</a>. RPC providers might face DDOS attacks, eg ankr being comprised via <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/Mudit__Gupta/status/1542840515292532736">DNS hijack</a>.</p></li><li><p><strong>Solutions:</strong> RPC providers, such as Infura, are actively pursuing a decentralized roadmap. Additionally, users have the option to choose decentralized solutions like the Pocket Network.</p></li></ul></li><li><p><strong>Sequencer Orders the Tx, Provides Soft Commitments: unsafe state</strong></p><ul><li><p><strong>Trust Assumption:</strong> Users expect sequencers to fairly order transactions and provide genuine soft commitments.</p></li><li><p><strong>Security Concern</strong>: The system must resist censorship, ensuring all transactions are processed without bias. It&apos;s crucial for the system to remain continuously operational, and it would be better to guard against sequencers gainingbad MEV at the expense of the end user.</p></li><li><p><strong>Solutions:</strong></p><ul><li><p><strong>CR and liveness:</strong></p><ul><li><p>current solutions ranking based on CR and liveness level (low to high): single sequencer——POA——permissionless POS sequencers——shared sequencers——based rollups(sequenced by l1)</p><ul><li><p>Note that POA with limited authorities without support for force txns can be less CR than a centralized sequencer with force txn enabled.</p></li><li><p>Regarding liveness, another crucial metric to consider is proposer failure, which occurs when a proposer goes offline. In such cases, it&apos;s essential to ensure that users can still withdraw their funds.</p><ul><li><p>Even if the sequencers are censoring or refuse to work, some rollups enable users to submit their txs directly to L1s by themselves, i.e the escape hatch ( liveness for forced txs depend on the specific implementation ). The problem is that it might be too expensive for users with limited funds to do that and users might expect real-time CR and liveness.</p></li><li><p>Certain rollup solutions, such as Arbitrum and Fuel, offer the capability for anyone to become a proposer after a certain time delay, i.e self propose.</p></li><li><p>Check out this indicater for each rollup: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://l2beat.com/scaling/risk">https://l2beat.com/scaling/risk</a></p></li></ul></li></ul></li><li><p>More details on other different solutions can be referred to my previous thread: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/yuxiao_deng/status/1666086091336880128">https://twitter.com/yuxiao_deng/status/1666086091336880128</a></p></li></ul></li><li><p><strong>MEV-protection:</strong></p><ul><li><p>Different privacy solutions can help protect users from being front-run or sandwiched as the tx info is hidden (also help with CR). Related methods for hiding tx info include FCFS with a private mempool (what arbitrum and optimism are implementing right now), SUAVE&apos;s TEE solution, threshold encryption (shutter network working on this), etc. The more sophisticated the solution is, the less complicated computation on the txs can be done.</p></li></ul></li></ul></li></ul></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/c4a0e86946e1f915002b6b889328f844935522486c413b7a4402a9e7db97a978.png" alt="MEV Roast | Encrypted Mempools - Justin Drake (Ethereum Foundation) - YouTube" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">MEV Roast | Encrypted Mempools - Justin Drake (Ethereum Foundation) - YouTube</figcaption></figure><ul><li><p>Note that what we want is mev-protection not mev-elimination. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://arxiv.org/abs/2309.14201">Research </a>by @tarunchitra summarizes two main directions to reduce MEV: reduce the flexibility of the miner to reorder transactions by enforcing ordering rules and introduce a competitive market for the right to reorder, add, and/or censor transactions. However, the paper concludes that neither fair ordering nor economic mechanisms alone can effectively mitigate MEV for all payoff functions. There are lower bounds on how you can’t remove MEV beyond some point.</p></li><li><p><strong>Sequencer executes and posts tx batch and state roots to the DA layer when it is economically reasonable; safe state</strong></p><ul><li><p><strong>Trust assumption</strong>: Block producers publish the whole block on the DA layer so that others can download and validate them.</p></li><li><p><strong>Security Concern:</strong> If part of the data is not available, the block might contain malicious transactions that are being hidden by the block producer. Even if the block contains non-malicious transactions, hiding them might compromise the security of the system. It is very important that sequencers have tx data available, as the rollup needs to know about the state of the network and account balances</p></li><li><p><strong>Solutions:</strong></p></li><li><p>Posting on Ethereum now is the safest but most expensive solution(would be 90% cheaper after protodankshadring, but even a 10x throughput increase might still not be enough for the rollups): the rollups&apos; txs are downloaded and gossiped by all Ethereum nodes. As Ethereum has a large number of nodes replicating and verifying transaction data, it is highly unlikely that data will ever disappear or be entirely unavailable.</p><ul><li><p>After danksharding, ethereum nodes will not download all the tx data, but only parts of the data using the DAS and KZG (similar to avail&apos;s solution mentioned below)</p></li><li><p>Under the modular concept, it might be more efficient for rollups to post tx data <strong>to a DA layer which is only responsible for DA</strong> (The theoretical performance of Ethereum might be slightly inferior because, in addition to DA, it still retains the execution of L1, see the performance comparison between eigenDA and Ethereum below).</p></li></ul></li></ul></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/99a4e2e2c677e9139c2ed9cb266780e8fc49bc167482034a973642ff3c5d5663.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><ul><li><p>Current modular DA solutions present trade-offs between safety and performance. It&apos;s challenging to compare the security of DA using just one dimension:</p><ul><li><p><strong>Avail and Celestia</strong> utilize DAS to ensure the availability of the data; as long as there is enough sampling, the data is secured. LCs can sample and get a high guarantee of DA as data unavailability would be easily detected and recovered by very small portions of LCs . This is not possible without DAS. The decentralization of the DA layer, i.e. the number of nodes in the network decides the security level and also the stake distribution. <strong>EigenDA</strong> doesn&apos;t use DAS but uses a proof-of-custody mechanism to prevent restakers from being lazy, i.e. the DA operators have to routinely compute a function that can only be completed if they have downloaded all the required data and get slashed if they fail to attest to the blobs right (no need to store after the proof has been performed though).</p></li><li><p><strong>Ensure the data duplication process, i.e., erasure encoding, is accurate</strong>. EigenDA, Ethereum after 4844, and Avail use kzg commitments to guarantee accuracy, but these are computationally intensive. Celestia employs fraud-proof. Light nodes must wait for a brief interval before they can confirm a block has been correctly encoded, finalizing it from their perspective. (*Celestia could potentially switch to validity proofs if it’s a better trade-off option)</p></li><li><p><strong>Economic security</strong> of the DA layer (reorg and collusion risks): depends on the value staked in the DA layer, =2/3 of value staked in the Avail and Celestia</p></li><li><p><strong>Relaying the DA attestation of the DA layer to Ethereum.</strong> If the data is posted to another DA layer while the settlement contract is still in Ethereum, then we need a bridge contract to validate the DA is available in the DA layer for final settlement.</p><ul><li><p>Celestia&apos;s blobstream verifies the signatures on the DA attestation from Celestia. The attestation is a Merkle root of the L2 data signed by the Celestia validators attesting to the fact that the data is available on Celestia. This feature is available on <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://sepolia.etherscan.io/address/0xf148a9a767f19edcf9a7d125fe143db1b5792ad6">testnet</a> right now.</p></li><li><p>Avail uses an optimistic approach to verify the DA attestation. Once the attestation is posted to the bridge contract on Ethereum, a waiting period begins during which the attestation is assumed to be valid unless challenged.</p></li><li><p>Succinct is working with Avail and Celestia on a zk-SNARK-based data attestation bridge, which makes the attestation progress more secure and cheaper by just verifying the zk proof.</p></li><li><p>For EigenDA, the disperser splits and posts tasks to EigenDA nodes and then aggregates signatures from them and relays data to Ethereum</p></li></ul></li></ul></li><li><p><strong>Final Settlement: finalized state</strong></p><ul><li><p><strong>Trust Assumption 1:</strong></p><ul><li><p>Rollup full nodes (a node that can fully calculates the state without relying on other proofs) can finalize the first valid rollup block at its height as soon as it is published on the parent chain as they have the necessary data and computational resources to verify the validity of the block quickly. However, this is not the case for other third parties like light clients, which rely on validity proofs, fraud proofs, or dispute resolution protocols to verify the state trustlessly without needing to run a full replica of the chain themselves.</p></li></ul></li><li><p><strong>Security Concern 1:</strong></p><ul><li><p>For ZK Rollups, l1 verifies the zkp and only accepts correct state roots. The difficulty mainly lies in the cost and generation process of zkp.</p></li><li><p>On the other hand, Optimistic Rollups depend on the premise that <strong>at least one honest party will promptly submit fraud proof to contest any malicious transactions</strong>. However, most current fraud-proving systems are not yet permissionless, and the submission of fraud proofs is reliant on only a few validators.</p></li></ul></li><li><p><strong>Solutions 1:</strong></p><ul><li><p><strong>Permissionless fraud proving</strong> enabled by <strong>Arbitrum&apos;s BOLD</strong> protocol. The main reason why fraud proving is permissioned right now is the concern of delay attacks:</p><ul><li><p>During the challenge period, any stakers other than the proposer can launch a challenge. The proposer is then required to defend their assertion against each challenger individually, one at a time. At the conclusion of each challenge, the party on the losing end forfeits their stake.</p></li><li><p>In a delay attack, a malicious party (or group of parties) can prevent or delay the confirmation of results back to the L1 chain by making challenges and deliberately losing the dispute and stakes)</p></li><li><p>𝐁𝐎𝐋𝐃 challenge protocol addresses this by guaranteeing fixed upper bounds on confirmation times for Optimistic Rollups’ settlement by ensuring a single honest party in the world can win against any number of malicious claims.</p></li></ul></li><li><p><strong>Witness chain</strong> can act as a watch tower for new optimistic rollups to guarantee at least one honest party would challenge an invalid state:</p><ul><li><p>For established rollups such as Arbitrum and Optimism, there are enough intrinsic incentives for several third-party providers such as explorers, Infura-like services, and their foundation to monitor the chain state and submit fraud proof when necessary. However, new rollups or appchains might lack this level of security.</p></li><li><p>Witness Chain employs a unique incentive mechanism, the &quot;Proof of Diligence,&quot; which ensures that watchtowers (validators) are consistently motivated to monitor and verify transactions, ensuring the state submitted to the parent chain is correct. This mechanism guarantees that each watchtower performs its due diligence since the rewards they receive are specific and independent for each node. In other words, if one watchtower discovers a bounty, it cannot share the exact incentive payout with other watchtowers, ensuring that every node conducts its independent verification. Additionally, Witness Chain offers flexibility by allowing rollups to specify custom requirements, such as the number of watchtowers and their geographical distribution powered by “proof of location” - their independent service. This flexibility ensures a balance between security and efficiency.</p><p>*Watchtower network is also emerging as a new layer in the rollup stack itself, providing pooled security to execution used by other related applications - such as the rollup security itself, interop protocols, notification service and keeper network, etc. More details will be launched in the future.</p></li></ul></li></ul></li><li><p><strong>Trust Assumption 2:</strong></p><ul><li><p>The whole process of settlement for smart-contract rollups is written in smart contact on L1. The smart contract on the DA layer is assumed to be logically accurate, bug-free, and not evilly upgraded.</p></li></ul></li><li><p><strong>Security Concern 2:</strong> Smart contract rollups&apos; bridges and upgrades are controlled by multi-sig wallets. The bridge has the ability to arbitrarily steal funds from users via a malicious upgrade.</p></li><li><p><strong>Solutions 2:</strong></p><ul><li><p>The most popular idea today is to <strong>add time delays</strong> that allow users to exit if they disagree with a planned upgrade. However, this solution requires users to continually monitor all chains they have tokens on in case they ever need to exit.</p></li><li><p><strong>Altlayer&apos;s Beacon Layer can act as a social layer for upgrades for all the rollups enshrined to it.</strong> Sequencers that register to operate a rollup together with the Beacon Layer rollup validators can socially fork the rollup regardless of whether or not the enshrined bridge contract on Ethereum gets upgraded.</p></li><li><p><strong>Enshrined rollups in the long term:</strong> enshrined rollup has been the endgame of the Ethereum roadmap for several years now. Except for the <strong>enshrining</strong> bridge/fraud proof verifier on L1, the settlement contract is also enshrined.</p><ul><li><p>Ethereum PSE is working in this direction</p></li></ul></li></ul></li></ul></li></ul><p>As for sovereign rollups, the main difference is that the chain state is settled by rollup full nodes instead of the enshrined smart contract in the L1. More detailed comparison can referred to <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.cryptofrens.info/p/settlement-layers-ethereum-rollups">https://www.cryptofrens.info/p/settlement-layers-ethereum-rollups</a></p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/7e7de1fe29e19ca7b33174af6bd9d30f9e495807fa55bf4d70db40c30256cd3d.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>It&apos;s important to note that more security doesn&apos;t equate to better performance. Typically, as security measures increase, there&apos;s a trade-off with scalability. Therefore, it&apos;s essential to strike a balance between the two. In conclusion, rollups offer the flexibility to select varying levels of security assumptions based on individual preferences. This adaptability is one of the remarkable features of the modular world, allowing for a tailored approach to meet specific needs while maintaining the integrity of the system.</p><h1 id="h-balancing-customizability-and-interoperability" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Balancing Customizability and Interoperability</h1><p>It&apos;s a well-known adage in the modular world: &quot;Modularism, not maximalism.&quot; If rollups can&apos;t interoperate securely and efficiently, then modularism ≠ maximalism but = fragmentation. It&apos;s crucial to figure out how to handle interoperability between different rollups.</p><p>Let&apos;s first revisit how monolithic chains achieve interoperability. In simplest terms, they achieve cross-chain operations by verifying the consensus or state of the other chain. There are various approaches available in the market, and the differences lie in <strong>who is responsible for the verification</strong> (official entities, multi-signature mechanisms, decentralized networks, etc.) and <strong>how the correctness of the verification is ensured</strong> (through external parties, economic guarantees, optimistic mechanisms, zk-proofs, etc.). For a deeper dive into this topic, check out my favorite bridging pieces: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://medium.com/stateless-ventures/thoughts-on-interoperability-29ba9969abe6">Thoughts on Interoperability</a>.</p><p>With the rise of modularization, the issue of interoperability has become more intricate:</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/aaaa8754f34f00c3b52ab46300269886b399a7f61b9333c5fae96e772228959d.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><ul><li><p><strong>Fragmentation problem:</strong></p><ul><li><p>The proliferation of rollups is expected to significantly surpass the number of L1s as it’s way easier to land a l2 than l1. Could this lead to a highly fragmented network?</p></li><li><p>While monolithic blockchains offer a consistent consensus and state for straightforward verification, what will be the verification process for modular blockchains which have three (or possibly four) distinct components (DA, execution, settlement, and sequencing) ?</p><ul><li><p>DA and settlement layer become the main source of truth. Execution verification is already available as rollups inherently provide execution proofs. Sequencing happens before posting to DA.</p></li></ul></li></ul></li><li><p><strong>Extensible Problem:</strong></p><ul><li><p>As new rollups are introduced, the question arises: can we promptly offer bridging services to accommodate them? Even if building up a rollup is permissionless, you might need to spend 10 weeks convincing other folks to add one. Current bridging services predominantly cater to mainstream rollups and tokens. With the potential influx of numerous rollups, there&apos;s a concern about whether these services can efficiently evaluate and launch corresponding solutions to support these emerging rollups without compromising on security and functionality.</p></li></ul></li><li><p><strong>User-experience Problem:</strong></p><ul><li><p><strong>The final settlement of optimistic rollups takes seven days</strong>, which is much longer than other L1s. The challenge is addressing the seven-day wait time for the official bridges of optimistic rollups. <strong>The submission of zkp also has a time lag</strong> as rollups usually wait to accumulate a large batch of transactions before submitting proof to save verification costs. Popular rollups like StarkEx typically post proofs to L1 only once every few hours.</p></li><li><p>Rollups&apos; tx data submitted to the DA/settlement layer will have a time lag to save costs (1-3 mins for optimistic rollups and a few hours for zk rollups as mentioned above. This needs to be abstracted away from users who have needs for quicker and safer finality.</p></li></ul></li></ul><p>The good news is that there are emerging solutions to these challenges:</p><ul><li><p><strong>Fragmentation problem:</strong></p><ul><li><p>While there is a proliferation of rollups in the ecosystem, it&apos;s noteworthy that <strong>the majority of smart contract rollups currently share a common settlement layer, namely Ethereum</strong>. The primary distinctions among these rollups lie in their execution and sequencing layers. To achieve interoperability, they simply need to mutually verify the final state of the shared settlement layer. However, the scenario becomes slightly more intricate for sovereign rollups. Their interoperability is somewhat challenging due to differing settlement layers. One approach to address this is by establishing a Peer-to-Peer (P2P) settlement mechanism, where each chain directly embeds a light client of the other, facilitating mutual verification. Alternatively, these sovereign rollups can first bridge to a centralized settlement hub, which then serves as a conduit for connecting with other chains. This hub-centric approach streamlines the process and ensures a more cohesive interconnection among diverse rollups. (similar to the status of cosmos interop)</p></li></ul></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/6a3e4559055caf5657bfac59412a1592f1f3072b47f2477ed9fe521c3a1a736f.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><ul><li><p>Besides Ethereum serving as one of the settlement hubs, other potential settlement hubs include Arbitrum, zkSync, and StarkNet, which act as settlement hubs for L3s built on them. The interop layer of Polygon 2.0 also functions as a central hub for zk rollups built on top of it.</p></li><li><p>In conclusion, while the number of rollups and their variations are expanding, the quantity of settlement hubs remains limited. This effectively simplifies the topology, narrowing down the fragmentation problem to just a few key hubs. Although there will be more rollups than altl1s, cross-rollup interactions are less complicated than cross-l1 interactions as rollups usually fall within the same trust/security zoom.</p></li><li><p>How different settlement hubs interop with each other can refer to how current monolithic chains interop with each other, as mentioned at the beginning.</p></li></ul><p>*Moreover, in an effort to eliminate fragmentation on the user side, certain Layer 2s, such as ZKSync, have integrated native Account Abstraction to facilitate a seamless cross-rollup experience.</p><ul><li><p><strong>Extensible problem</strong></p><ul><li><p><strong>Hyperlane</strong>(provide modular security for modular chains) and <strong>Catalyst</strong>(Permissionless cross-chain liquidity) are born to solve the permissioned interop problem.</p><ul><li><p>The essence of Hyperlane is to create a standardized security layer that can be applied across various chains, making them inherently interoperable.</p></li><li><p>Catalyst is designed to offer permissionless liquidity for modular chains. It acts as a bridge, allowing any new chain to connect liquidity and swap with major hubs like Ethereum and Cosmos seamlessly.</p></li></ul></li><li><p><strong>Rollup SDK/RAAS Providers offer native bridging services within their ecosystem</strong></p><ul><li><p>Now, new rollups are mostly launched through existing rollup SDKs or RAAS services, so they are inherently interoperable with other rollups that use the same services. For example, for infrastructure built with the OP Stack, the foundational level is a shared bridging standard, which allows for the seamless movement of assets across everything that shares the OP Stack codebase. For rollups launching through the altlayer, they are all enshrined to the beacon layer, which acts as the settlement hub and ensures safe interoperability. For rollups launching through sovereign labs or zksync, they are interoperable with each other out of the box based on proof aggregation (will explain more later).</p></li></ul></li></ul></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/5ea0165e1b214d571bd391ea261bd9b09f9490a207b72d85ae5e88edacbf924c.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p><strong>UE problem:</strong></p><ul><li><p><strong>Before diving in this part, let’s first recognize different levels of commitments and their time lag:</strong></p></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/66f5db5767048f110b9d063fa65ea06e38219d93b504b16d654fa72b65ff7a50.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><ul><li><p>Some parties are comfortable with <strong>stage1</strong> soft commitments by l2, eg exchanges like Binance only wait for a certain number of Layer2 blocks to consider transactions as confirmed, without the need to wait for batch processing to be submitted to Layer1</p><ul><li><p>Some bridge providers like hop protocol would take as many blocks on the sending chain and determine finality based on L1 consensus (<strong>stage 2</strong>)</p></li><li><p>For trust-minimized bridges and for users to withdraw the funds from l2-l1 using the official bridge, it might take too long <strong>(several hours &amp; 7 days)</strong></p></li></ul></li><li><p><strong>Reducing either Stage 2 or Stage 3 would offer significant advantages, delivering a stronger guarantee in a shorter time frame for a more secure and faster user experience. Additionally, achieving a trust-minimized bridge has always been a coveted goal, especially in light of the frequent security incidents with bridges.</strong></p></li><li><p><strong>Reducing the final settlement time (7days for optimistic rollups and several hours for zk rollups), i.e. shorten stage 3</strong></p><ul><li><p><strong>Hybrid Rollups (Fraud Proof + ZK):</strong> This approach combines the strengths of ZK proofs and optimistic rollups. While generating and verifying proofs can be resource-intensive, it&apos;s only executed when a state transition is challenged. Instead of posting a ZK proof for every batch of transactions, the proof is computed and posted only when a proposed state is contested, similar to an optimistic rollup. This allows for a shorter challenge period since the fraud proof can be generated in a single step, and the cost of ZK proofs is avoided in most scenarios.</p><ul><li><p>Notably, Eclipse&apos;s SVM rollups and LayerN utilize risc0 to generate the zk fraud proof. The OP Stack has granted support to Risc0 and Mina for zk fraud proof development. Additionally, Fuel has recently introduced a similar hybrid method that supports multiple provers.</p></li></ul></li><li><p><strong>After posting data to the DA layer, do some extra verification of the correctness of execution to increase the confidence level——high requirements, same as a full node</strong></p><ul><li><p>When the sequencer batches txs to the optimistic rollups’ DA layers, it ensures canonical ordering and DA for x-rollup txs. Therefore, the only thing that needs to be confirmed is the execution: S1 == STF(S0, B1). Of course, you can simply run a full node (high requirements) to verify the tx, but what we really want is to reduce latency for <em>light clients</em>. Prover networks like <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/SuccinctLabs">@SuccinctLabs</a> and <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/RiscZero">@RiscZero</a> can confirm the post-execution state by providing succinct state proofs. This provides robust confirmation for dapps and users.</p></li><li><p>Altlayer has a beacon layer between rollups and L1. Sequencers from the beacon layer are responsible for sequencing, executing, and generating proof of validity (POV). POV allows verifiers to verify a state transition for a rollup later without having access to the entire state. With decentralized verifiers performing periodic checks, we have achieved a highly robust transaction finality. No need to wait for 7 days as the verifiers have already completed the necessary checks. As a result, cross-chain messaging has become faster and more secure.</p></li><li><p>EigenSettle guarantees verification through economic mechanisms. Opt-in EigenLayer nodes with stakes do the computation to ensure the validity of the state and use their collateral to back their commitments. Any amount that is lower than the amount of stake these operators have posted can be treated as safely settled and enables economically-backed interoperability.</p></li></ul></li><li><p><strong>Instant Verification with ZK Rollups:</strong></p><ul><li><p>Sovereign Labs and Polygon 2.0 employ an innovative approach to achieve rapid finality by circumventing the settlement layer. Instead of waiting to submit the proof to Ethereum, we can instantly disseminate the generated zk proofs through a peer-to-peer network and conduct cross-chain operations based on the propagated zkps. Later on, we can utilize recursion to consolidate them into a batch proof and submit it to Layer 1 when it becomes economically viable.</p><ul><li><p>It’s not fully settled though, we still need to trust the correct aggregation of the zkp. Polygon 2.0&apos;s Aggregator may be operated in a decentralized manner, involving Polygon validators from the shared validator pool, thereby improving network liveness and resistance to censorship. Nevertheless, using this method will also lead to a shorter finality time since aggregating zkps from multiple chains is certainly faster than waiting for sufficient zkps on a single chain.</p></li></ul></li><li><p>Zksync’s hyperchains utilize the layering method to aggregate zkp and achieve shorter finality. In contrast to settling on L1, hyperchains can settle their proofs on L2 (become a l3). This approach facilitates rapid messaging, as the cost-effective environment in L2 enables swift and economically viable verification.</p><ul><li><p>To enhance scalability further, we can replace L2 settlement with a minimal program required to operate L3 with messaging. This concept has been substantiated through specialized proofs that allow for aggregation.</p></li></ul></li></ul></li></ul></li><li><p><strong>Addressing the Time Lag in Posting to the DA Layer</strong> (some methods can also be applied to reduce the settlement period), <strong>i.e. shorten stage2</strong></p><ul><li><p><strong>Shared Sequencing Layer:</strong> If rollups share a sequencing layer (e.g., through a shared sequencer service or using the same set of sequencing layers), they can <strong>obtain a soft confirmation from the sequencer. This, combined with an economic mechanism, ensures the final state&apos;s integrity.</strong> Possible combinations include:</p><ul><li><p>Stateless shared sequencer + builder makes execution promise by staking proposed by Espresso; This approach is more suitable for rollups with PBS structure, assuming the block builder already has the necessary rights to parts of the blocks. Since the builder is stateful and serves as the underlying execution role for the shared sequencers, it&apos;s natural for it to make additional promises.</p></li><li><p>Shared validity sequencing proposed by Umbra research: stateful shared sequencer + fraud proof to ensure good behavior. Sequencers accept cross-chain requests. To prevent dishonest behavior by sequencers, a shared fraud-proof mechanism is used, involving slight changes to the original rollup fraud-proof mechanism. During the challenge period, challengers would also verify the correct execution of atomic actions. This may involve checking the roots of bridging contracts on different rollups or examining the Merkle proof provided by the sequencers. Dishonest sequencers get slashed.</p></li></ul></li><li><p><strong>Third-Party Intervention:</strong> External entities like Hop, Connext, and Across can step in to mitigate risks. They validate messages and front the capital for users&apos; cross-chain financial activities, effectively reducing the waiting period. For example, Boost (GMP Express) is a special feature of Axelar and Squid that reduces transaction time across chains to 5-30 seconds for swaps below a value of $20,000 USD.</p></li><li><p><strong>Intent Infrastructure for bridging as a specific form of third-party intervention:</strong> This revamped infrastructure can embrace more third-parties to step in and solve the cross-domain intents for users.</p><ul><li><p>Through an intent-focused architecture (extracting away frictions and complexity from users by involving sophisticated actors like MMs and builders), users convey their intended objective or result without detailing the precise transactions needed to realize it. Individuals with a high tolerance for risk can step in, front the necessary capital, and levy increased fees.</p></li><li><p>It’s safer because users’ funds would only be released when the outcome is valid. It might be faster and more flexible because more parties(solvers) are permissionlessly involved in the solving process and competing to give a better outcome to users.</p></li><li><p>UniswapX, flashbots’ SUAVE, and essential are all working in this direction. More on intents:</p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="">nft://10/0x9351de088B597BA0dd2c1188f6054f1388e83578/?showBuying=true&amp;showMeta=true</a></p></li><li><p>The challenging aspect of this solution centers around the settlement oracle. Let&apos;s take UniswapX as an example. To facilitate cross-chain swaps, we rely on a settlement oracle to determine when to release funds to solvers. If the settlement oracle opts for the native bridge (which is slow), or if a third-party bridge is used (raising trust concerns), or even if it&apos;s a Light Client bridge (not yet ready for use), we essentially find ourselves in the same loop as before. Hence, UniswapX also offers &quot;Fast cross-chain swaps&quot; similar to an optimistic bridge.</p></li><li><p>Simultaneously, the effectiveness of intent resolution relies on the competition among solvers. Since solvers need to rebalance their inventory across different chains, this may potentially lead to centralized solver issues, limiting the full potential of intents.</p></li></ul></li></ul></li></ul><p><strong>To summarize, it can be observed that there are three ways to address the UE problems:</strong></p><ul><li><p><strong>Use the magic of zk :</strong></p><ul><li><p><strong>The primary challenge lies in the performance of zk technology, encompassing both the time required for generation and associated costs. Additionally, when dealing with highly customizable modular blockchains, the question arises: do we possess a zk proving system capable of accommodating the myriad of differences?</strong></p></li></ul></li><li><p><strong>Use an economic slashing scheme to guarantee :</strong></p><ul><li><p><strong>The major drawback of this approach is the time delay inherent in the decentralized method (for instance, in the case of EigenSettle, we must wait for the cap to be reached). Furthermore, the centralized approach offers limited commitments (as exemplified by shared sequencing), relying on builders/sequencers to make commitments, which can be restricted and lack extensibility.</strong></p></li></ul></li><li><p><strong>Trust a third party :</strong></p><ul><li><p><strong>While trusting a third party can introduce additional risks, as users must have faith in the bridge, intent-enabled cross-domain swaps represent a somewhat more &quot;decentralized&quot; form of third-party bridging. However, this approach still contends with oracle latency, trust issues, and potential time delays, as you must wait someone to accept your intent.</strong></p></li></ul></li></ul><p>It&apos;s interesting that modularization also introduces new possibilities for interoperability experiences:</p><ul><li><p>Enhanced Speed with Modular Components: By breaking down into finer modules, users can get quicker confirmations from the layer2 level (might be already safe enough for ordinal users)</p></li><li><p>Shared Sequencer for Atomic Transactions: The concept of a shared sequencer could potentially enable a new form of atomic transactions, such as flash loans. More details on : <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/sanjaypshah/status/1686759738996912128">https://twitter.com/sanjaypshah/status/1686759738996912128</a></p></li></ul><p>Modular interoperability solutions are experiencing rapid growth, and currently, there are various approaches, each with its own strengths and weaknesses. Perhaps the ultimate solution is still some distance away, but it&apos;s heartening to see so many individuals striving to create a safer and more connected modular world before the rollup explosion arrives.</p><h1 id="h-cost-analysis" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Cost Analysis</h1><p>One factor contributing to the limited number of rollups in existence is the economic consideration associated with their launch, in comparison to utilizing smart contracts. Operating via smart contracts adopts a more variable cost model, where the primary expense is the gas fee, whereas launching and maintaining a rollup incurs both fixed and variable costs. This cost dynamic suggests that applications with a substantial transaction volume or relatively high transaction fees are better positioned to leverage rollups, as they have a greater capacity to amortize the fixed costs involved. Consequently, initiatives aimed at reducing the cost associated with rollups—both fixed and variable—are paramount. Delving into the cost components of rollups, as elucidated by Neel and Yaoqi during their talk at ETHCC, provides a clearer picture:</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/4d6b5f097ebe941cfa3e15fca658a7042d21e79f7e0aed721d93255e2cf6e403.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>Employing a financial model, such as the Discounted Cash Flow (DCF) analysis, can be instrumental in evaluating the viability of launching a rollup for an application. The formula:</p><p>DCF(Revenue - Expenses)&gt;Initial Investment</p><p>serves as a baseline to ascertain whether the operational income surpasses the initial investment, thereby making the launch of a rollup a financially sound decision. Protocols that succeed in lowering operational costs while augmenting revenue are instrumental in encouraging the increased adoption of rollups. Let’s explore one by one:</p><ul><li><p><strong>Initial Development and Deployment Fee</strong></p><ul><li><p>The initial setup, despite the availability of open-source SDKs like Opstack and Rollkit, still demands a significant amount of time and human capital for installation and debugging. Customization needs, for instance, integrating a VM into an SDK, further escalate the resources required to align the VM with the various interfaces each SDK provides.</p></li><li><p>RAAS services like AltLayer and Caldera can significantly alleviate these complexities and efforts, encapsulating the economic benefits of division of labor.</p></li></ul></li><li><p><strong>Recurring Fee/Revenue</strong></p><ul><li><p><strong>Revenue （++++）</strong></p><ul><li><p><strong>User fees</strong></p><ul><li><p>= L1 Data Posting Fee + L2 Operator Fee + L2 Congestion Fee</p></li><li><p>Although some user fees might be offset by expenses, scrutinizing and striving to lower these costs is vital as rollups may become untenable if user fees are prohibitively high for users. (Explored in the expense section)</p></li></ul></li><li><p>Miner Extractable Value (MEV) captured</p><ul><li><p>Primarily related to the transaction value originating from the chain, this can be boosted either by enhancing MEV-extraction efficiency or increasing cross-domain MEV.</p></li><li><p>Partnering with established searchers, employing a PBS auction to foster competition, or leveraging SUAVE’s block building as a service are viable strategies to optimize MEV capture efficiency.</p></li><li><p>For capturing more cross-chain MEV, utilizing a shared sequencer layer or SUAVE (shared mempool and shared block building) is beneficial as they connect to several domains.</p><ul><li><p>According to <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://research.arbitrum.io/t/shared-sequencing-economics/9468">recent research</a> by Akaki, shared sequencers are valuable for arbitrage searchers aiming to seize arbitrage opportunities across different chains, as they ensure victory in simultaneous races on all chains.</p></li><li><p>SUAVE serves as a multi-domain order flow aggregation layer, aiding the builder/searcher in exploring cross-domain MEV.</p></li></ul></li></ul></li></ul></li><li><p><strong>Expenses （- - - -)</strong></p><ul><li><p>Layer 2 (L2) operation fee</p><ul><li><p><strong>Ordering:</strong> It might be tricky to compare centralized and decentralized ordering solutions. Competition in more decentralized solutions like Proof of Efficiency can help decrease cost by keeping the operator margin minimal and also incentivize posting batches as often as possible. On the other hand, centralized solutions typically involve fewer parties, which can simplify the process but may not benefit from the same cost-reducing dynamics.</p></li><li><p><strong>Execution:</strong> This is where full nodes use VMs/EVMs to execute the changes to a rollup’s state given new user transactions.</p><ul><li><p>Efficiency can be bolstered through optimized alt-VMs like Fuel and Eclipse’s Solana VM, which enable parallel execution. However, deviating from EVM compatibility could introduce friction for developers and end-users, along with potential security issues. The compatibility of Arbitrum’s Stylus with both EVM and WASM (which is more efficient than EVM) is commendable.</p></li></ul></li><li><p><strong>Proving</strong></p><ul><li><p><strong>Prover Market</strong></p><ul><li><p>Theoretically, utilizing a specialized prover market like Risc0, =nil and marlin, instead of creating a proprietary centralized or decentralized prover network, can result in cost savings for several reasons:</p><ul><li><p>There may be a higher level of participation in a dedicated prover market, which in turn fosters increased competition, ultimately leading to lower prices.</p></li><li><p>Provers can optimize hardware usage and be repurposed when a specific application does not require immediate proof generation, reducing operation costs and providing cheaper service.</p></li><li><p>Naturally, there are downsides, including potentially capturing less token utility and relying on the performance of an external party. Furthermore, distinct zk rollups may impose varying hardware prerequisites for the proof generation process. This variability could pose a challenge for provers seeking to expand their proving operations.</p></li><li><p>more on the prover market and prover network: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://figmentcapital.medium.com/decentralized-proving-proof-markets-and-zk-infrastructure-f4cce2c58596">https://figmentcapital.medium.com/decentralized-proving-proof-markets-and-zk-infrastructure-f4cce2c58596</a></p></li></ul></li></ul></li></ul></li></ul></li><li><p><strong>Layer 1 (L1) data posting</strong></p><ul><li><p>Opting for a more cost-effective Data Availability (DA) layer apart from Ethereum or even using DAC solution can significantly cut down expenses, although at the potential cost of reduced security (explored further in the security layer). For gaming and social which usually have low-value but high-<strong>bandwidth, scalability might be a more important factor than security for them.</strong></p></li><li><p>Employing Ethereum as the DA layer allows for leveraging protodansharing and dansharding to attain cost efficiency. Moreover, given that the blob posting fee is set per block irrespective of the blob’s utilization by the rollup, there exists a need to balance between cost and delay: While a rollup would ideally post a complete blob, a low transaction arrival rate leading to fully occupying a blob space results in excessive delay costs.</p><ul><li><p>Potential solutions: joint blob posting cost for small rollups;</p></li></ul></li></ul></li><li><p><strong>L1 settlement fee</strong></p><ul><li><p>For optimistic rollups, the settlement cost is relatively low. Post bedrock, Optimism only pays ~5$ a day to ethereum;</p></li><li><p>For zk settlement, it’s relatively expensive for zkp v<strong>erification</strong></p><ul><li><p><strong>zk-proof aggregation</strong></p><ul><li><p>Depending on the underlying proof system, a rollup on Ethereum might spend anywhere from 300k to 5m gas to validate a single proof. But since proof sizes grow very slowly (or not at all) with the number of transactions, rollups can reduce their per-transaction cost by waiting to accumulate a large batch of transactions before submitting a proof.</p></li><li><p>Sovereign labs, polygon 2.0&apos;s interoperability layer as mentioned before aggregates proofs from multiple rollups, each rollup can then verify the state of multiple rollups at the same time, saving on verification costs. Zksync’s layering structure combined with proof aggregation further reduces the verification costs.</p></li><li><p>Nonetheless, this method is most effective when two domains utilize the same ZKVM or a shared prover scheme (zksync’s hyperchains use the same zkEVM with fully identical zkp circuits) ; otherwise, it may result in compromised performance.</p><ul><li><p>NEBRA labs bring economy of scale and composability of proof verification on Ethereum. NEBRA UPA (Universal Proof Aggregator) universally aggregates heterogeneous proofs so that the verification cost can be amortized. UPA can be used to compose proofs from different sources to allow new use cases as well.</p></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul><p>To summarize, the primary methods to economize on rollup costs include:</p><ul><li><p>Co-aggregating with other rollups to share fees or harness economies of scale:</p><ul><li><p>It&apos;s noteworthy that such aggregation is also potentially crucial for achieving interoperability. As previously highlighted, employing a congruent layer or framework across diverse rollups simplifies interaction amongst them, ensuring hassle-free information exchange. This consolidated strategy fosters a more integrated and unified Layer 2 infrastructure.</p></li></ul></li><li><p>Delegating certain tasks to external service providers, capitalizing on the principle of division of labor.</p></li></ul><p>As more rollups emerge (meaning you can collaborate with additional parties to divide fees), and more rollup service providers offer more refined services (providing a wider selection of mature upstream providers), we anticipate that the expenses associated with establishing a rollup will decrease.</p><h1 id="h-shared-security" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Shared Security</h1><p>If you aim to achieve an equivalent level of security (both economically and in terms of decentralization) as the source chain, simply deploy a smart contract or a smart contract rollup. If harnessing a portion of the security provided by the source chain is sufficient to improve performance, there are currently several shared security solutions at your disposal.</p><p>Shared security solutions greatly ease the security bootstrap process of most of the protocols or modular layers that need initial security. This is very meaningful for a future modular world, as we envision more infra/protocols emerging to facilitate the functionality of a modular world and more parts of a rollup become modular, except for DA, execution, settlement and sequencing. If a rollup uses a certain modular layer (such as DA) or a service whose security isn&apos;t on par with Ethereum&apos;s, then the overall security of the entire modular chain could be compromised. We need shared security to enable a decentralized and reliable SAAS service economy.</p><p>Eigenlayer, Babylon and Cosmos&apos;s ICS and Osmosis’ mesh security serve a pivotal role in offering decentralized trust as a service to other infrastructural entities.</p><ul><li><p>Eigenlayer allows Ethereum stakers to repurpose their staked $ETH to secure other applications built on the network.</p></li><li><p>Cosmos’ ICS allows the Cosmos Hub (“provider chain”) to lend its security to other blockchains (“consumer chains”) in return for fees.</p></li><li><p>Mesh Security, brought up by osmosis, enables token delegators (not validators) to restake their staked tokens on a partner chain within the ecosystem. This allows for bidirectional or multilateral security flow, as different appchains can combine their mcaps to enhance overall security.</p></li><li><p>Babylon allows BTC holders stake their BTC within the BTC network and provide security to other POS chains by optimizing the use of the Bitcoin scripting language and use an advanced cryptographic mechanism</p></li></ul><p>ICS and Mesh Security, both integral to the Cosmos ecosystem, primarily aim to facilitate inter-chain borrowing of security. These solutions predominantly address the security needs of Cosmos appchains, allowing them to leverage the security of other chains within the ecosystem. Specifically, cosmos hub ICS offers for cosmos chains that don&apos;t want to bootstrap validator sets (replicated security), while mesh security requires each chain to have its ownb validator set, but allows far greater optionality to the chain governance.</p><p>On the other hand, Babylon presents a unique approach by unlocking the latent potential of BTC holders&apos; idle assets without moving BTC out of its native chain. By optimizing the use of Bitcoin&apos;s scripting language and integrating advanced cryptographic mechanisms, Babylon provides additional security to the consensus mechanisms of other chains with great features like faster unbonding periods. Validators on other POS chains with BTC can lock their BTC on the Bitcoin network and sign POS blocks with BTC private keys. Invalid performances like double-signing would leak the btc private key of the validator and burn its BTC on the bitcoin network. BTC staking would be launched in babylon’s 2nd testnet.</p><p>While Babylon navigates the constraints of Bitcoin&apos;s lack of smart contract support, Eigenlayer operators on the Turing-complete Ethereum platform, Not only does Eigenlayer offer economic security to new rollups and chains, but its environment on Ethereum also allows for a more diverse range of AVS. According to eigenlayer’s article on <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.blog.eigenlayer.xyz/the-three-dimensions-of-programmable-trust/">programmable trust,</a> the security eigenlayer can provide can actually be further broken down into 3 types:</p><ul><li><p><strong>Economic trust:</strong> Trust from validators making commitments and backing their promises with financial stakes.This trust model ensures consistency regardless of the number of parties involved. There must be objective slashing conditions that can be submitted and verified onchain and it’s usually heavyweight for restakers.</p></li><li><p><strong>Decentralized trust:</strong> trust from having a decentralized network operated by independent and geographically isolated operators. This aspect emphasizes the intrinsic value of decentralization and enables use cases that are not objectively provable as decentralization increases the difficulty of collusion. To utilize decentralized trust, it’s usually lightweight.</p></li><li><p><strong>Ethereum inclusion trust:</strong> trust that Ethereum validators will construct and include your blocks as promised, alongside the consensus software they are running. This can specifically be committed by ethereum validators (not LST restakers). They run software sidecars to perform extra computation and receive extra rewards.</p></li></ul><p>So now we are clear with the security materials, what can we expect?</p><ul><li><p>ICS and mesh security lower the security barriers for cosmos appchains like neutron, stride and axelar.</p></li><li><p>Eigenlayer can fit into many solutions that have been mentioned before:</p><ul><li><p>rollup security: relay network; watch tower, sequencing, mev-protection, eigenDA</p></li><li><p>rollup interop: eigensettle; bridges</p></li><li><p>cost analysis: prover network</p></li><li><p>more to explore, check out <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.blog.eigenlayer.xyz/eigenlayer-universe-15-unicorn-ideas/">https://www.blog.eigenlayer.xyz/eigenlayer-universe-15-unicorn-ideas/</a></p></li></ul></li><li><p>Babylon is running testnet to increase the security level of other pos chains. Its first testnet provides timestamping service to add addtional security to high-value defi activities from several cosmos chains like akash, osmosis, juno,etc.</p></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/c3a6f39e03c16fb6ae96e2ff38b4b133242306af60d8299f8576051ba008e220.jpg" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>The core idea behind these shared security solutions is to enhance the capital efficiency of staked or illiquid assets by introducing additional responsibilities. However, it&apos;s essential to be vigilant about the added risks when seeking higher returns:</p><ul><li><p>Increased complexity introduces more uncertainties. Validators become exposed to additional slashing conditions that may lack enough training wheels, which can be precarious.</p><ul><li><p>Eigenlayer aims to address this issue by proposing the implementation of a veto committee. This committee serves as a mutually trusted entity among stakers, operators, and AVS developers. In the event of a software bug within the AVS, stakers and operators won&apos;t face penalties as the veto committee can cast a veto vote. While this approach may not be inherently scalable and could be subjective if AVSs are not strictly aligned with use cases based on trustlessly attributable actions, it can still serve as a valuable means to initiate a risk mitigation strategy during the early stages.</p></li></ul></li><li><p>Greater complexity also brings additional burdens. It can be overwhelming for less experienced validators to determine which service to share security with. Also the initial setup period may involve a higher risk of errors. Additionally, there should be mechanisms in place to allow &quot;less tech-savvy&quot; validators and stakers to benefit from higher yields, provided they are willing to accept relatively elevated risks, without being constrained by their operational capabilities.</p><ul><li><p>Rio Network and Renzo are all working on effectively addressing this challenge for Eigenlayer by offering a structured approach to cautiously select sophisticated node operators and AVS services for potential restakes, elevating security levels and reducing entry barriers for participants.</p></li></ul></li></ul><p>Furthermore, as Eigenlayer gains wider adoption, it could potentially open up new horizons in the realm of the Financialization of Security. This could facilitate the valuation of shared security and the various applications built upon it.</p><ul><li><p>An limitation that is presented to EigenLayer is in its ability to scale capital allocation to its system by outcompeting yield opportunities in DeFi for the same assets that it supports (LSTs). EigenLayer commoditizes the value of security and this opens up the door for many primitives to underwrite this value and provide the ability for restakers to both restake and participate in the greater DeFi ecosystem.</p><ul><li><p>Ion Protocol is a product attempting to do this in order to scale the reach that restaking can have. Ion is building a price-agnostic lending platform that is built to specifically support staked and restaked assets via using ZK-infrastructure to underwrite the lower-level slashing risk present in such assets (ZK state proof systems + ZKML). This could initiate the beginning of the birth of many novel DeFi primitives built upon the underlying value of security that EigenLayer commoditizes, further enabling the ability of restaking to scale across the entire ecosystem.</p></li></ul></li></ul><p>As we stand at the cusp of significant transformations, it is crucial to embrace the principles of security, interoperability, and cost-effectiveness. These pillars will not only guide the development of more scalable and efficient blockchain solutions but will also pave the way for a more interconnected and accessible digital world. Embracing these changes with foresight and adaptability will undoubtedly lead to groundbreaking advancements in the blockchain ecosystem.</p><hr><h1 id="h-reference" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Reference</h1><ul><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.cryptofrens.info/p/settlement-layers-ethereum-rollups">https://www.cryptofrens.info/p/settlement-layers-ethereum-rollups</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.layern.com/blog/zkfp">https://www.layern.com/blog/zkfp</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.blog.eigenlayer.xyz/intro-to-eigenda-hyperscale-data-availability-for-rollups/">https://www.blog.eigenlayer.xyz/intro-to-eigenda-hyperscale-data-availability-for-rollups/</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://mp.weixin.qq.com/s/1kqbfC0q8wdQdm-2UpdlPQ">https://mp.weixin.qq.com/s/1kqbfC0q8wdQdm-2UpdlPQ</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://polymerlabs.medium.com/modular-ibc-for-the-modular-world-9fc021f6322e">https://polymerlabs.medium.com/modular-ibc-for-the-modular-world-9fc021f6322e</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://forum.babylonlabs.io/t/announcing-the-babylon-btc-staking-protocol-litepaper-v1/33">https://forum.babylonlabs.io/t/announcing-the-babylon-btc-staking-protocol-litepaper-v1/33</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://forum.celestia.org/t/a-comparison-between-da-layers/899">https://forum.celestia.org/t/a-comparison-between-da-layers/899</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/OffchainLabs/bold/blob/main/docs/research-specs/BOLDChallengeProtocol.pdf">https://github.com/OffchainLabs/bold/blob/main/docs/research-specs/BOLDChallengeProtocol.pdf</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.blog.eigenlayer.xyz/eigenlayer-universe-15-unicorn-ideas/">https://www.blog.eigenlayer.xyz/eigenlayer-universe-15-unicorn-ideas/</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://figmentcapital.medium.com/decentralized-proving-proof-markets-and-zk-infrastructure-f4cce2c58596">https://figmentcapital.medium.com/decentralized-proving-proof-markets-and-zk-infrastructure-f4cce2c58596</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/osmosis-labs/mesh-security/blob/main/docs/UseCases.md">https://github.com/osmosis-labs/mesh-security/blob/main/docs/UseCases.md</a></p></li></ul>]]></content:encoded>
            <author>sevenxventures@newsletter.paragraph.com (SevenX Ventures)</author>
            <enclosure url="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/cd2d61114159af8b64d865ebe08510c190bae6a59327fb37b61fb5657dff9d05.png" length="0" type="image/png"/>
        </item>
        <item>
            <title><![CDATA[zkOracle and zkCoprocessor]]></title>
            <link>https://paragraph.com/@sevenxventures/zkoracle-and-zkcoprocessor</link>
            <guid>redHpwgbiMwBSPMfapKI</guid>
            <pubDate>Tue, 28 Nov 2023 13:58:41 GMT</pubDate>
            <description><![CDATA[By @Hill, Investor of SevenX Ventures Thanks to @msfew from Hyper Oracle for the feedback and discussions.0. IntroductionIn this post, we will look at the recently popular concepts of zkCoprocessor and zkOracle and compare their differences.1. Definition of zkCoprocessorWhen a term is coined, its true meaning is not defined by itself. We have seen this very much in the case of blockchain.ZK: While academics often refer to the privacy features of Zero Knowledge, in the blockchain context, ZK o...]]></description>
            <content:encoded><![CDATA[<p><em>By </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/Hill79025920"><em>@Hill</em></a><em>, Investor of SevenX Ventures</em></p><p><em>Thanks to @msfew from Hyper Oracle for the feedback and discussions.</em></p><h2 id="h-0-introduction" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">0. Introduction</h2><p>In this post, we will look at the recently popular concepts of zkCoprocessor and zkOracle and compare their differences.</p><h2 id="h-1-definition-of-zkcoprocessor" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">1. Definition of zkCoprocessor</h2><p>When a term is coined, its true meaning is not defined by itself. We have seen this very much in the case of blockchain.</p><ul><li><p>ZK: While academics often refer to the privacy features of Zero Knowledge, in the blockchain context, ZK often just stands for the succinctness and validity of the technology. Even projects that are built on ZK Rollup call themselves zkSomething.</p></li><li><p>DA: Until now, many people didn&apos;t really realize that Data Availability is not Data Storage, so in order to solve this terminology problem, some people have <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/nickwh8te/status/1683931647136223233">suggested</a> <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/ChainLinkGod/status/1702843984811643121">replacing DA with DP</a> (Data Publishing), or making the whole meaning of DA into Data Publishing + Data Storage (<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/bkiepuszewski/status/1696417258552033558">1</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/donnoh_eth/status/1702424039229382838">2</a>).</p></li></ul><p>We see a similar phenomenon in the term zkCoprocessor. Everyone uses the term, but <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/gakonst/status/1716909163140591799">they don&apos;t necessarily refer to the same things</a>.</p><p>So we wanted to express what the project itself thinks about zkCoprocessor, what the community understands about zkCoprocessor, and what zkCoprocessor really means and does from our perspective.</p><h3 id="h-a-from-project-themselves" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">a) From Project Themselves</h3><p><strong>Definition 1 from Axiom: zkCoprocessor proves historical data onchain.</strong></p><p>The concept of the zkCoprocessor was popularized by Axiom, which originally conceived it as a zkAttestor. From Axiom’s idea, zkCoprocessor represents the component that “proves historical data on-chain and trustlessly use that data in a smart contract”.</p><p>Note that the Brevis team said that this type of zkCoprocessors are essentially an API/DSL layer on top of the underlying zk circuit. So this is not programmable.</p><p><strong>Definition 2 from RISC Zero: zkCoprocessor offloads computation from onchain to offchain.</strong></p><p>RISC Zero also often refers to itself as a zkCoprocessor. From their perspective, they see zkCoprocessor as a broader concept, “a tool for using ZKPs to offload computation from on-chain to off-chain”.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/50bf389b00e3d49b9a871200df5ac38750d9e26c976867bc0df463b6a52443ae.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><h3 id="h-b-from-community" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">b) From Community</h3><p><strong>Definition from Peteris (the same as 1): zkCoprocessor can access to historical onchain state.</strong></p><p>Peteris from Aera Finance <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/p_e/status/1704163567984054741">believes</a> that zkCoprocessor acts very much like a state oracle, with the main function being access to historical data. At the same time, he and <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/rishotics/status/1722123905379316099">Rishabh from BananaHQ</a> believes that the description of definition 2 is more like a zkVM than a subclass of zkCoprocessor.</p><p><strong>Definition from Messari, Modular Media, and Kobi (the same as 2): zkCoprocessor offloads computation from onchain to offchain.</strong></p><p>Messari has also given its own definition of zkCoprocessor. Sami, a researcher at Messari, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/old_samster/status/1702065903876382994">believes</a> that zkCoprocessor enables smart contract devs to easily offload complex logic offchain without new trust assumptions. Modular Media also <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/modularmedia_/status/1703061197589999954">gives the same concept</a>. Kobi from Geometry <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/kobigurk/status/1702633421036503520">compares rollup with a coprocessor</a>, Brevis added that zkCoprocessor <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/brevis_zk/status/1721731588377940178">trades off the cost of maintaining a permanent state storage against hyper-boosted performance</a>, Taiko came up with the design of <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://taiko.mirror.xyz/anPjF35Mrc_xzYgOTbUmfjr_MlhE3L8ZBZIxqmz9GZ8">Booster Rollup</a> that further explored the idea of Rollup Coprocessor. These are the same definition as RISC Zero.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/8dd1c17a006cb13298a9eb763f27a07bf11a02e6ddd466dda0fc4e0b98b42b9f.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><h3 id="h-c-from-us" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">c) From Us</h3><p>To summarize, we conclude that there are two types of zkCoprocessor in practice, and they are as follows:</p><ul><li><p>Data Access zkCoprocessor: mainly feeds certain data (historical block, historical state) to a certain place (smart contract).</p></li><li><p>zkVM Compute zkCoprocessor: computes by the offchain zkVM, then feed result back to the onchain. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/aliatiia_/status/1700012229536481585">Compresses O(n) compute into just O(1) verification</a>.</p></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/4cdd3d74a1c333dd35d47fa8b5af316baeb57bd94a0e1380707fa50339a6ef94.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><h2 id="h-2-definition-of-zkoracle" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">2. Definition of zkOracle</h2><h3 id="h-a-oracle" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">a) Oracle</h3><p>Hyper Oracle provides us with an explanation of Oracle in <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://ethresear.ch/t/defining-zkoracle-for-ethereum/15131">Defining zkOracle for Ethereum</a>.</p><p>Oracle practically sums up the &quot;infra&quot; in any blockchain space, as <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/0xkydo/status/1717589667183567043">a better definition than coprocessor</a>.</p><p>If the input to the infra/oracle is off-chain data and the output is on-chain, then it is an input oracle (e.g. Chainlink Price Feed). Conversely, it is an output oracle (e.g. The Graph). If the output oracle is first, then the input oracle, then it is an I/O oracle (e.g. Gelato Network).</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/9aa50a830c1da012998ce2ce37efe385090239804bdbadf99340459700832953.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>In short, oracle is very similar to the concept of coprocessor, but at the same time have the characteristics of data access and computation.</p><h3 id="h-b-zkoracle" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">b) zkOracle</h3><p>Taking Hyper Oracle as an example, what is the relationship between a <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/PolygonVentures/status/1714685375330111739">zkOracle</a> and a zkCoprocessor?</p><p>The zkOracle discussed in Defining zkOracle for Ethereum actually has the capabilities of both zkCoprocessors.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/73df7a8dfe3f6e16868803a6ed0c78e4267759744a9d05a001b55ce9d7640d82.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>For example, a zkOracle such as Hyper Oracle:</p><ul><li><p>Access to historical data in trustless way.</p></li><li><p>Can perform programmable computations.</p></li></ul><h2 id="h-3-zkcoprocessor-and-zkoracle" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">3. zkCoprocessor and zkOracle</h2><p>When we directly compare the two types of zkCoprocessor with zkOracle, we can see that zkOracle has all the features of zkCoprocessor at the same time:</p><ul><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://newsletter.auditless.com/p/al-023-synchronous-vs-asynchronous">asynchronous processing for smart contract</a></p></li><li><p>interoperating with and enhancing the capabilities of existing applications on L1 or L2</p></li><li><p>off-loading computation in a resource-constrained system</p></li></ul><p>By direct comparison, zkOracle is a more end-to-end solution can provide developers with a more complete technology stack.</p><p>The two zkCoprocessors expand on their respective verticals, e.g., the Data Access zkCoprocessor unlocks cross-chain scenarios, and the zkVM Compute zkCoprocessor represents a zkVM-based zk rollup.</p><h2 id="h-4-build-with-zkcoprocessor-or-zkoracle" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">4. Build with zkCoprocessor or zkOracle</h2><p>Which one to choose when building?</p><p>In a step-by-step order, we can make some decisions about building an application.</p><h3 id="h-a-dapp-with-pure-smart-contract" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">a) DApp with Pure Smart Contract</h3><p>First, a pure Solidity implementation of smart contracts is still a very good choice. While pure smart contracts do not provide some of the best novel features, they are still sufficient <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/doganeth_en/status/1692142075020484729">in certain scenarios</a>. Also the current availability of Arbitrum Stylus has unlocked a lot of new applications with pure smart contract.</p><h3 id="h-b-dapp-that-needs-richer-data-access" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">b) DApp that Needs Richer Data Access</h3><p>In many cases, developers may want to use Data Access zkCoprocessor or zkOracle for smart contracts to access richer data sources.</p><p>In this scenario, if Data Access zkCoprocessor is used alone, the computation is still handled in the smart contract. The role of the zkCoprocessor is to reduce the complexity of obtaining data in the traditional way, but not to make the smart contract more computationally powerful.</p><p>In this scenario, we see a lot of small data-related projects, rather than full-fledged DApps in the traditional sense:</p><ul><li><p>Using zkCoprocessor Axiom: Better LP Management, MEVictim Rebate</p></li><li><p>Using zkOracle Hyper Oracle: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.hyperoracle.io/app/cases">Uniswap v2 Price, OpenSea Trade Activity, USDT Volume Monitor</a></p></li></ul><h3 id="h-c-dapp-that-needs-heavy-compute" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">c) DApp that Needs Heavy Compute</h3><p>Often, some complex algorithms cannot be computed directly on the chain, for games, the computational logic is very complex, such as etherquake and GameOfLife that costs $2k to run one step. Or ML-related complex algorithms. Or ML-related complex algorithms that are impossible to run on chain. Therefore, we need zkVM zkCoprocessor or zkOracle to run the computation on the offchain, and then submit it to the chain as ZKP.</p><p>In this example, we can see some of their unlimited computational potential:</p><ul><li><p>Using zkCoprocessor Bonsai: Zeth (Prove Reth in zkVM), zk-sentiment</p></li><li><p>Using zkOracle Hyper Oracle or zkWASM: zkGo (Prove L2-Geth in zkVM, Type-0 zkEVM), <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/fewwwww/zkAMM">zkAMM</a></p></li></ul><h3 id="h-d-next-gen-dapp-with-full-features-defi-30" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">d) Next-Gen DApp with Full Features (DeFi 3.0)</h3><p>Finally, we talked about applications that can only be built with zkOracle. Taking the DeFi application as an example, a complete DeFi is very complex. The next generation of DeFi applications, or DeFi 3.0 <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/basche42/status/1707476894461902985">DApps</a>, will require:</p><ul><li><p>Richer Data Access</p></li><li><p>Unlimited Compute</p></li><li><p>Autonomous (for liquidation, parameter update, protocol governance)</p></li></ul><p>We have already discussed how zkOracle shares the capabilities of both zkCoprocessors, while fulfilling the first two functional requirements. How does zkOracle fulfill the autonomous feature and how does zkCoprocessor not?</p><ul><li><p>zkOracle: No human intervention is required. Data access and compute tasks can be fully defined and executed in programmable and automated way. All onchain calls are always trustless and valid ones.</p></li><li><p>zkCoprocessor: Requires onchain monitoring and filtering of computation response by relayer, or the addition of extra complex mechanisms.</p></li></ul><p>So what does the absence of autonomous in the zkCoprocessor entail: the</p><ul><li><p>Inadequate decentralization</p></li><li><p>Risk of potentially complex mechanisms</p></li><li><p>Developer mental burden</p></li></ul><p>Therefore, zkOracle is a perfect and sufficient choice for a complete application like DeFi.</p><p>It is worth noting that Hooks can also handle some of zkCoprocessor&apos;s missing functionality, but ONLY in scenarios like DeFi, and not universally.</p>]]></content:encoded>
            <author>sevenxventures@newsletter.paragraph.com (SevenX Ventures)</author>
            <enclosure url="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/d3b2cc600ef36fbefb4ca184ea7e78bb7aa7c0a237796b38d88e50f8946a379b.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[Uniswap: Zero to Infinity]]></title>
            <link>https://paragraph.com/@sevenxventures/uniswap-zero-to-infinity</link>
            <guid>d11GR5hFUzjyYoaMwsll</guid>
            <pubDate>Fri, 20 Oct 2023 13:24:18 GMT</pubDate>
            <description><![CDATA[By @Luke, Investor of SevenX Ventures Special thanks to Alex from Maru Network, Brad from Uniswap Labs, Dong Mo from CelerNetwork, Shumo from Manta Network, and Suning from Hyperoracle for their invaluable discussions, insights, and feedback on this article.IntroductionUndoubtedly, Uniswap stands as one of the most widely used decentralized applications. It relentlessly pioneers innovative solutions that redefine the game. In this article, I will delve into Uniswap&apos;s awe-inspiring journe...]]></description>
            <content:encoded><![CDATA[<p><em>By </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/LukeWasm"><em>@Luke</em></a><em>, Investor of SevenX Ventures</em></p><p><em>Special thanks to Alex from Maru Network, Brad from Uniswap Labs, Dong Mo from CelerNetwork, Shumo from Manta Network, and Suning from Hyperoracle for their invaluable discussions, insights, and feedback on this article.</em></p><hr><h2 id="h-introduction" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>Introduction</strong></h2><p>Undoubtedly, Uniswap stands as one of the most widely used decentralized applications. It relentlessly pioneers innovative solutions that redefine the game. In this article, I will delve into Uniswap&apos;s awe-inspiring journey from the past to a limitless future. By examining the features of each version of Uniswap, I uncover how it effectively tackles new challenges and adapts to ever-changing demands. Additionally, I explore how the latest advancements in crypto are shaping the future of decentralized exchanges (DEX). Prepare for a journey from zero to infinity.</p><h2 id="h-v0-proof-of-concept" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>v0: Proof of Concept</strong></h2><p>Prior to Uniswap, EtherDelta was the only decentralized exchange (DEX) that gained traction. However, the user experience was poor.</p><p>The concept of an Automated Market Maker (AMM), proposed by many industry leaders (<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://blog.gnosis.pm/building-a-decentralized-exchange-in-ethereum-eea4e7452d6e">Alan Lu of Gnosis</a> and <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.reddit.com/r/ethereum/comments/55m04x/lets_run_onchain_decentralized_exchanges_the_way/">Vitalik</a>), offers an alternative approach to on-chain trading compared to traditional order-book models.</p><h2 id="h-features" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>Features</strong></h2><p><strong>Constant Product AMM</strong></p><p>Uniswap utilizes a constant product formula (x * y = k) to calculate the price of an asset. In this formula, x represents the reserve of the base asset, while y represents the reserve of the quote asset. When a token is withdrawn (bought) from a pool, a proportional amount must be deposited (sold) to ensure that the constant k is maintained. The ratio of tokens in the pool determines the price of a token.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/292323f61ebc21b0ea3a3031a86f3300b7c3d239fe831fb90e4704a341daccd9.png" alt="Source: Uniswap" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Source: Uniswap</figcaption></figure><p>It&apos;s worth noting that other AMMs utilize different mathematical formulas to represent liquidity curves. Some examples include Curve&apos;s <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://classic.curve.fi/files/stableswap-paper.pdf">Stableswap</a> and <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.balancer.fi/concepts/pools/weighted.html">Balancer&apos;s weighted pools</a>.</p><h2 id="h-problems" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>Problems</strong></h2><p>Uniswap v0 is essentially a Proof-of-Concept, meaning there are still many unresolved issues. The two major problems are as follows:</p><ul><li><p>It only worked for a single ETH/ERC20 pair.</p></li><li><p>It only worked for a single liquidity provider (LP).</p></li></ul><h1 id="h-v1-functional-dex" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>v1: Functional DEX</strong></h1><h2 id="h-features" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>Features</strong></h2><p>Uniswap v1 launched on Ethereum mainnet on November 2, 2018. It supports multiple liquidity providers using an internal token to track fees and collateral. It utilizes a factory contract that enables anyone to add any token for trading against native ETH. This version provides a functional DEX. However, there are certain issues that need to be addressed.</p><h2 id="h-problems" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>Problems</strong></h2><p>Since all tokens are paired with ETH, users can easily swap any ERC20 token for another ERC20 token by using ETH as an intermediary in a single transaction. However, there is a drawback: when it comes to frequent stablecoin swaps like DAI/USDT, relying on ETH as an intermediary for every swap becomes inefficient. In this case, a direct token pair is preferred.</p><h1 id="h-v2-money-lego" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>v2: Money Lego</strong></h1><p>In May 2020, Uniswap v2 was launched, introducing numerous upgrades to the Uniswap Protocol. These enhancements increased its flexibility and expanded the range of trades possible.</p><h2 id="h-features" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>Features</strong></h2><h3 id="h-erc20erc20-pairs" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><strong>ERC20/ERC20 Pairs</strong></h3><p>In Uniswap V2, there is a notable difference: instead of only pairing ERC20 tokens with ETH, now any ERC20 token can be directly pooled with any other ERC20 token. This feature offers great utility for liquidity providers as they can now maintain more diverse ERC20 token-denominated positions, including Stablecoin pairs.</p><h3 id="h-price-oracle" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><strong>Price Oracle</strong></h3><p>Uniswap v2 offers on-chain price feeds that can be utilized by numerous DeFi applications. These price feeds are resistant to manipulation, making them highly valuable. The mechanism involves adding the end-of-block price to a cumulative-price variable in the core contract, which is weighted by the duration of time that particular price existed. This variable essentially represents the sum of Uniswap prices for every second throughout the contract&apos;s entire history.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/371ed57dc55b6969f13f12309c3e12444bb119df131e97c7fa31c8134f290a0f.png" alt="Source: Uniswap" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Source: Uniswap</figcaption></figure><p>This variable can be utilized by external contracts to accurately track time-weighted average prices (TWAPs) over any given time interval. The process involves reading the cumulative price from an ERC20 token pair at the start and end of the interval. By calculating the difference in this cumulative price and dividing it by the length of the interval, a TWAP for that specific period can be generated.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/b26ad0b486490b540be7fccf4ce7d85aaab79b8d3d99357ec1b1b67f5ba4abe9.png" alt="Source: Uniswap" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Source: Uniswap</figcaption></figure><h3 id="h-flash-swaps" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><strong>Flash Swaps</strong></h3><p>Uniswap v2 also introduces Flash Swaps, which is a type of <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://chain.link/education-hub/flash-loans">flash loan</a> pioneered by the lending market <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.aave.com/faq/flash-loans">AAVE</a>. This feature allows any user to withdraw as much as ERC20 token in a pool with no upfront cost and do arbitrary actions, provided that by the end of the transaction execution equivalent values (plus fees) are returned.</p><p>Flash loan features get its bad reputation as it comes often in headline with various kinds of attacks on DeFi protocols. But flash loans are not the problem. The real issues are existing vulnerabilities in a protocol. The atomic nature of flash loans eliminates the need for upfront capital requirements typically associated with operations such as arbitraging between pools and obtaining margin leverage.</p><h2 id="h-problems" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>Problems</strong></h2><p>Although the AMM is innovative and beneficial for bootstrapping trading and liquidity in new markets, it still has some inefficiencies. For instance, when dealing with low-volatility tokens, liquidity is only necessary within a narrow price range. However, the current design distributes liquidity uniformly across all price ranges.</p><h1 id="h-v3-capital-efficiency" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>v3: Capital Efficiency</strong></h1><p>Uniswap v3 aims to be the most flexible and efficient AMM due to its groundbreaking concentrated liquidity design.</p><h2 id="h-features" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>Features</strong></h2><h3 id="h-concentrated-liquidity-cl" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><strong>Concentrated Liquidity (CL)</strong></h3><p>In Uniswap v2, liquidity is evenly distributed across an x*y=k price curve, encompassing all prices from 0 to infinity. However, in most pools, a significant portion of this liquidity remains unused.</p><p>In Uniswap v3, liquidity providers (LPs) have the ability to concentrate their capital within specific price ranges, allowing for increased liquidity at desired prices. This customization enables LPs to construct personalized price curves that align with their preferences. These individual positions are then aggregated into a single pool, creating a unified curve against which users can trade. The outcome is mutually beneficial for both traders and liquidity providers: Traders experience reduced slippage and LPs earn greater fees, thanks to the higher concentration of liquidity within a customized range.</p><p>CL is incredibly valuable for stable pairs, such as stablecoins and liquid staking derivative tokens. These assets tend to be traded within a narrow price range. However, for more volatile token pairs, CL requires more advanced liquidity management techniques. It may be challenging for average retail liquidity providers to consistently manage their positions effectively.</p><h3 id="h-range-orders" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><strong>Range Orders</strong></h3><p>With CL, a novel order type called <em>range orders</em> is introduced to complement market orders. LPs have the ability to deposit a single token within a custom price range, either above or below the current price. If the market price falls within their specified range, they can sell one asset for another along a smooth curve, all while earning swap fees.</p><p>A range order functions similarly to a &apos;limit order,&apos; but with the drawback of reversibility- when the price reverses, the order is also reversed. However, fees are still earned in the process. Barry Fried (<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/BarryFried1">@BarryFried1</a>) offers a detailed example of how to use range orders in this <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/BarryFried1/status/1569758739736969217">thread</a>.</p><h3 id="h-multiple-fee-tiers" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><strong>Multiple Fee Tiers</strong></h3><p>Instead of having one fee tier, Uniswap v3 introduces three separate fee tiers per pair — 0.05%, 0.30%, and 1.00%, allowing LPs to be appropriately compensated for taking on varying degrees of risk</p><h3 id="h-advanced-oracles" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><strong>Advanced Oracles</strong></h3><p>Uniswap v3 offers significant improvements to the price oracle. Instead of storing only one price cumulative variable, v3 stores an array of variables, making it far easier and cheaper to create more advanced oracles that include simple-moving averages (SMA), exponential moving averages (EMA), outlier filtering, and more.</p><h2 id="h-problems" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>Problems</strong></h2><h3 id="h-lack-of-flexibility" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><strong>Lack of Flexibility</strong></h3><p>Although concentrated liquidity and fee tiers provided more flexibility for liquidity providers and enabled the implementation of new strategies, Uniswap v3 fell short in accommodating the evolving functionalities and innovations in AMMs and markets. To incorporate additional features such as TWAP orders, limit orders, advanced oracles, and dynamic fees, it would have been necessary to re-implement the core protocol.</p><p>Certain features, such as the price oracle initially introduced in Uniswap v2, enabled integrators to utilize decentralized on-chain pricing data. However, this came at the expense of increased gas costs for swappers and lacked customization options for integrators.</p><h3 id="h-complicated-liquidity-management" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><strong>Complicated Liquidity Management</strong></h3><p>As mentioned earlier, concentrated liquidity is challenging to manage for unsophisticated liquidity providers, particularly for volatile pairs. While several automatic liquidity management protocols have emerged, they mostly consist of simple rebalancing strategies designed for pegged assets. Unfortunately, these strategies are ineffective when it comes to volatile pairs because of the limitations imposed by long block times, gas costs, hedging costs, etc.</p><p>Moreover, since the concentrated liquidity position varies for each liquidity provider, the LP token is inherently non-fungible. It can only be represented by a non-fungible token (NFT), which presents a challenge for other DeFi protocols looking to integrate with it.</p><p>Numerous outstanding projects are actively addressing this issue using a range of strategies, including rebalancing, dynamic hedging with money markets, perpetuals, and options. Atis Elsts (<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/atiselsts_eth">@atiselsts_eth</a>) has written <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://atise.medium.com/liquidity-provider-strategies-for-uniswap-v3-table-of-contents-64725c6c0b10">a series of excellent articles</a> on LP strategies that are highly recommended.</p><h3 id="h-value-leakage" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><strong>Value Leakage</strong></h3><p>The issue of value leakage is the most significant problem of all. While this is not unique to Uniswap v3, it has gained attention due to the increased volumes and wider adoption of AMMs since the launch of v3. This value leaks out of the DEX system in forms of</p><ul><li><p>Traders end up paying higher slippage than necessary due to front running and sandwich attacks.</p></li><li><p>Liquidity providers lose value through CEX-DEX arbitrages (a.k.a. Loss-versus-Rebalancing)</p></li></ul><p>To address these problems, we need more customized and sophisticated designs that go beyond what Uniswap v3 currently offers. We require a DEX platform that is more expressive and powerful.</p><h1 id="h-v4-ultimate-platform" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>v4: Ultimate Platform</strong></h1><p>Uniswap v4 builds on top of AMM models introduced in previous generations and through the introduction of &apos;hooks&apos;, it aims to be the ultimate DEX platform with high efficiency and customization.</p><h2 id="h-efficiency" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>Efficiency</strong></h2><h3 id="h-singleton" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><strong>Singleton</strong></h3><p>In Uniswap v3, every pool is created as an individual contract through a factory contract. On the other hand, in v4, all pools coexist within a single smart contract (known as a singleton). This singleton model significantly decreases the expenses associated with creating pools and executing multi-hop trades.</p><h3 id="h-flash-accounting" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><strong>Flash Accounting</strong></h3><p>In v4, the singleton utilizes flash accounting to optimize asset transfers. Unlike in v3, where assets are moved in and out of pools after every swap, the v4 system only transfers based on net balances. This significantly reduces the cost of accounting. Transient storage (proposed in <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.eip1153.com/">EIP-1153</a>) makes it cheaper to set and clear a storage slot which is necessary for flash accounting to operate effectively.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/a83c3f4c3808acaf887778701146cab185193a132e82738802fa3b6476f0d372.png" alt="Source: Uniswap" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Source: Uniswap</figcaption></figure><h3 id="h-native-eth" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><strong>Native ETH</strong></h3><p>Uniswap v4 reintroduces support for trading against native ETH, which brings several benefits. Traders can enjoy reduced gas costs for cheaper transfers and the elimination of additional wrapping costs.</p><h2 id="h-customization" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>Customization</strong></h2><h3 id="h-hooks" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><strong>Hooks</strong></h3><p>Hook contracts (or hooks), are externally deployed contracts that execute pre-defined logic at specific points during the execution of a pool. This is what makes v4 so expressive and customizable. Hooks allow for the implementation of features that were previously built into the protocol, such as oracles, as well as new features that previously required independent protocol implementations.</p><p>Uniswap v4 currently supports eight such hook callbacks:</p><ul><li><p>beforeInitialize/afterInitialize</p></li><li><p>beforeModifyPosition/afterModifyPosition</p></li><li><p>beforeSwap/afterSwap</p></li><li><p>beforeDonate/afterDonate</p></li></ul><p>The figure below illustrates the logic flow for a Swap Hook. Before and after executing a swap, there is a dedicated boolean flag that enables the execution of custom code at these specific points. This serves as the basis for developing advanced features like oracles, dynamic fee structures, auctions, and advanced order types, etc. We will delve deeper into these concepts in the following sections.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/cf80eef8e2c0312e453edc9f958065841a24be6b1aec3f2b1c9bd36b7da9bf02.png" alt="Swap Hook Flow" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Swap Hook Flow</figcaption></figure><h4 id="h-oracles" class="text-xl font-header !mt-6 !mb-3 first:!mt-0 first:!mb-0"><strong>Oracles</strong></h4><p>In previous versions, oracles were integrated into the core Uniswap protocol. While this made integration easier and cheaper for other protocols, it came at the expense of customization options and higher costs for swappers. However, with the introduction of hooks, the design possibilities for oracles have significantly expanded. This opens up the opportunity to create manipulation-resistant oracles such as winsorized price oracles as well as volatility oracles. Additionally, the choice of who bears the costs of updating oracles can now be customized. For example, instead of burdening the first swapper with the cost, which may not be sustainable, a hook contract with an ETH balance could be used for gas payment. Despite these advancements, designing oracles still presents challenges. For instance, TWAP oracles are sometimes susceptible to manipulation and tend to lag behind current prices.</p><p>Uniswap Labs has introduced another intriguing price oracle known as the <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://blog.uniswap.org/uniswap-v4-truncated-oracle-hook">truncated price oracle</a>. This oracle calculates the geometric mean price of an asset in a liquidity pool and imposes a limit on price movement within a single block. By truncating the price, this on-chain oracle mitigates the price impact of significant trades, enhancing resistance to manipulation attempts.</p><h4 id="h-dynamic-fees" class="text-xl font-header !mt-6 !mb-3 first:!mt-0 first:!mb-0"><strong>Dynamic Fees</strong></h4><p>While Uniswap v3 introduced additional fee tiers for LPs to select from, these fee structures remain static and do not consider current market conditions. Consequently, LPs are not adequately compensated for their services.</p><p>Alex Nezlobin (<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/0x94305">@0x94305</a>) proposed a simple yet effective dynamic fee structure that considers the price impact of the previous block and applies different fees for buyers and sellers. The following figure illustrates an example: when the CEX price moves to p*, which is higher than the current AMM price p_AMM, the fee for sales decreases by δ, while the fee for buys increases by δ. The value of δ is proportional to the change in AMM price. The purpose of this dynamic fee structure is to differentiate between arbitrageurs and uninformed flows. Arbitrage flows are more likely to be autocorrelated with price movements.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/41559fc3fa051e981e78772f331e41345c0fc8983498ea02d9656b80970c0fc3.png" alt="Source: https://twitter.com/0x94305/status/1674857993740111872" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Source: https://twitter.com/0x94305/status/1674857993740111872</figcaption></figure><p>Designing a robust dynamic fee structure presents several challenges. One challenge is how to incorporate off-chain signals, such as CEX price, liquidity depth, and volatility. Additionally, various on-chain signals, including address, size, and execution time, can be unreliable for differentiating between informed and uninformed flow, making it difficult to assess their effectiveness. Furthermore, it is important to ensure that fees do not go below zero in order to limit losses for LPs.</p><h4 id="h-auctions" class="text-xl font-header !mt-6 !mb-3 first:!mt-0 first:!mb-0"><strong>Auctions</strong></h4><p>Hooks can also serve as a means to implement auctions, which can aid in redistributing value back to LPs. Depending on the timing, auctions can be categorized as either ex ante or ex post auctions.</p><p><strong><em>Ex ante auctions</em></strong> take place prior to the block. This concept was initially introduced in a research article that discussed <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://ethresear.ch/t/mev-capturing-amm-mcamm/13336">MEV capturing AMM (McAMM)</a>. In this approach, the right to make the first swap in an AMM before a block is auctioned off, and the bid values are subsequently redistributed. However, there are challenges associated with this bidding process, as it essentially involves pricing an option, which can be highly complex. Additionally, since block proposers hold the ultimate decision-making power regarding whether to accept a block containing the trades, issues of censorship may arise. Ensuring fair and efficient distribution of bid values can also prove to be a complicated task. Moreover, there is no guarantee that the winners of the bids would exercise their right to swap first, potentially resulting in a deteriorating experience for other traders.</p><p><strong><em>Ex post auctions</em></strong> are conducted after volatility has been realized, meaning that CEX prices have already moved but before the subsequent block has been committed. The advantage of these auctions is their increased effectiveness. However, they pose challenges as they require off-chain infrastructure that relies either on trusted parties or trustless systems. If trusted parties are used, concerns arise regarding censorship and bid privacy. On the other hand, designing trustless systems is much more complex. Ex post auctions also face the issue of proposers potentially playing games with bidders, such as excluding arbitrage trades from being included in a timely manner. Additionally, there is the significant problem of extra latency involved in bidding, running consensus on winning bids, and distributing those bids to block builders—all of which need to be completed before the subsequent block is committed. Finally, it may be difficult to ensure sufficient competitive conditions in these auctions to capture enough value. Sorella Labs (<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/SorellaLabs">@SorellaLabs</a>) is leading the charge in addressing these challenges by leveraging its advanced infrastructure and mechanism designs.</p><h4 id="h-diamond-hook" class="text-xl font-header !mt-6 !mb-3 first:!mt-0 first:!mb-0"><strong>Diamond Hook</strong></h4><p>The <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://arxiv.org/abs/2210.10601">Dimond Protocol</a> was initially designed as an LVR-minimizing AMM. In Diamond, block producers conduct auctions to capture any arbitrage opportunities between the external market price of a Diamond pool and the pool&apos;s own price. The proceeds from these auctions are shared between the Diamond pool and the block producer in a manner that remains incentive compatible for the block producer.</p><p>A variation of the Dimond Protocol, as discussed in this <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://ethresear.ch/t/lvr-minimization-in-uniswap-v4/15900">post</a>, involves implementing a collateral pool to maintain the end-of-block price in accordance with the committed price by block producers. Swaps will only execute if there is sufficient collateral available to restore the price to the committed value. Arrakis (<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/ArrakisFinance">@ArrakisFinance</a>) is currently collaborating with Conor McMenamin (<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/ConorMcMenamin9">@ConorMcMenamin9</a>), one of the authors of the Diamond Protocol, to develop <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://mirror.xyz/0x916563f8476b988855af0b8b8A3D56072E1917FA/ZhTQJ6qiurBTHBNuF08GudWBQ8x9p3P-12vo-C9czKE">an implementation</a> using v4 hooks.</p><p><strong>Advanced Order Types</strong></p><p>Hooks could also enable more advanced order types that greatly improve trader experience. Some common order types include limit orders, stop loss, take-profit, TWAP</p><p>Limit Orders</p><p>Traders have the option to submit on-chain limit orders to the hook contract. When the price reaches the specified tick price, the order is filled. However, these on-chain limit orders have a significant disadvantage compared to traditional finance (tradfi) limit orders. This is primarily because on-chain orders cannot be cancelled without incurring gas fees. As a result, this creates a problem known as a <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/0x94305/status/1669111840272683008">low order-to-trade ratio</a>.</p><p>TWAMM</p><p>One possible solution for facilitating the execution of large orders over time is to implement a time-weighted average market maker (TWAMM). This approach involves breaking down large orders into smaller blocks and ensuring they are executed as the first trades, thus preventing sandwich attacks. Additionally, reducing TWAP order fees could be considered since they typically involve uninformed flow. However, a challenge arises with the high gas costs and determining who should bear these expenses.</p><p><strong>Other Hooks</strong></p><p>There are several other features that could be implemented using hooks. Here are some ideas:</p><ul><li><p>A yield-bearing hook that lends out-of-range liquidity into money markets to increase capital efficiency.</p></li><li><p>A pool with both xy=k liquidity curve and concentrated liquidity.</p></li><li><p>A pool with withdrawal fees for LPs to reduce Just-in-time liquidity attacks.</p></li></ul><p>Suning (<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/msfew_eth">@msfew_eth</a>) provides an awesome curation of hook ideas and implementations on <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/fewwwww/awesome-uniswap-hooks">Github</a>. Aiden (<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/aiden0x4">@aiden0x4</a>) also publishes a nice <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://uniswaphooks.com/">open directory</a> for hooks.</p><h3 id="h-zkamm-and-zkhooks" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><strong>zkAMM &amp; zkHooks</strong></h3><p>ZK Coprocessors empower smart contracts with the ability to access data insights akin to those offered by Dune Analytics, all without compromising trust due to the application of Zero-Knowledge (ZK) Proof technologies. The utilization of zk Coprocessors in AMM designs has been an emerging and actively researched area. The introduction of hooks now allows for the seamless integration of zk proofs into Uniswap v4, ushering in a new era of zero knowledge AMMs, or zkAMMs.</p><p>HyperOracle (<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/HyperOracle">@HyperOracle</a>) <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://mirror.xyz/hyperoracleblog.eth/Tik3nBI9mw05Ql_aHKZqm4hNxfxaEQdDAKn7JKcx0xQ">demonstrates an implementation of zkAMM based on Uniswap v2</a>, where the addLiquidity computation is offloaded off-chain. When a user adds liquidity, the token amount, price, and LP token shares need to be computed. In this particular implementation, HyperOracle&apos;s zkGraph captures the addLiquidity event, performs the necessary computation, generates the proof, and publishes it. This implementation of zkAMM includes an integrated automation layer that verifies the proof and mints the LP token for the user.</p><p>Diego (<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/0xfuturistic">@0xfuturistic</a>) <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://ethresear.ch/t/zkuniswap-a-first-of-its-kind-zkamm/16839">introduces an implementation of zkAMM (zkUniswap) based on Uniswap v3</a> where a portion of the AMM swap computation is offloaded to the Risc Zero (<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/RiscZero">@RiscZero</a>) zkVM. When a user performs a swap in a pool, several parameters need to be calculated to finalize the swap. These parameters include the amount to be swapped in and out, the fee, and the price after swapping. Originally, this computation was performed within the solidity contract through EVM. However, with the new implementation, the swap inputs are picked up by the relayer, and the computation is carried out off-chain. The relayer then posts the output and the proof. The AMM verifies the proof and settles the swap. zkUniswap implements a lock auction mechanism to ensure concurrency control. While its current performance is comparable to that of the EVM, the efficiency could be significantly enhanced through parallelization for batched swaps.</p><p>Proof of volume serves as another use case for AMMs. Brevis (<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/brevis_zk">@brevis_zk</a>) provides an interesting example where a fee rebate hook could be designed based on users&apos; historical trading volume, similar to trading-volume-based fee rebates on centralized exchanges (CEXes). VIP traders now have the ability to calculate their monthly trading volume off-chain and then submit a low-cost ZK proof to the blockchain for asynchronous verification of their VIP status. Once verified, subsequent trades can utilize post-swap hooks to access a &quot;VIP fee-tier table&quot; populated by the ZK Coprocessors. This allows for automatic application of the appropriate fee rebates. Maru Network (<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/marunetwork">@marunetwork</a>) is currently developing trustless volume oracles as their initial use case for their zk Coprocessor network. By implementing a trustless volume oracle, DEXes would be able to distribute rewards in a fair and transparent manner. This approach allows for proportional incentivization of liquidity and user activities, fostering a positive flywheel effect. The cost of proof verification can be reduced by using zero-knowledge proof aggregation services such as NEBRA (<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/nebrazkp">@nebrazkp</a>) UPA (Universal Proof Aggregation), which aggregates proofs from different circuits and different parties to a single proof to achieve reduced amortized verification cost.</p><p>In summary, the concept of zkAMMs involves utilizing zkCoprocessors or zkOracles to shift computations away from the EVM and verify the proof of computation on-chain. These computations can be significantly more intricate than those related to swaps and liquidity adjustments. For instance, they could involve calculating dynamic fees based on recent market volatility, proving historic volumes of users in a given pool or implementing rebalancing strategies using complex machine learning algorithms. The possibilities are endless, as any computation ultimately results in an O(1) verification cost, no longer constrained by the computational resources of the EVM.</p><h2 id="h-v4-challenges" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>v4 Challenges</strong></h2><p>Uniswap v4 introduces efficiency and customization to the AMM design space, enabling the creation of pools with diverse features and functionalities. However, this advancement comes with a foreseeable trade-off: an increase in liquidity fragmentation due to the proliferation of pools. As a result, routing becomes significantly more challenging.</p><h1 id="h-uniswapx" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>UniswapX</strong></h1><p>UniswapX aims to tackle the issue of liquidity fragmentation by outsourcing the complexity of routing to a open network of third-party fillers. These fillers compete with each other to execute swaps using on-chain liquidity like AMM pools or their own private inventory. This design is intent-centric, allowing users to simply state their desired outcomes and rely on professionals to fulfill them.</p><p>These fillers are sophisticated agents equipped with advanced routing algorithms, high computational power, and substantial financial capital. They compete with each other under a predetermined auction mechanism to offer users the best possible execution. Users may also receive price improvement, ensuring that their executions are at least as good as trades directly from Uniswap AMM pools.</p><p>The architecture of the UniswapX protocol is depicted below. Swappers submit their intent orders, which are structured as <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/dragonfly-xyz/useful-solidity-patterns/tree/main/patterns/permit2">Permit2</a> executable off-chain signatures, through the Uniswap API. Permit2 is an elegant model that ensures the safe movement of tokens held by users. Fillers devise strategies to fulfill these orders using any liquidity venue available to them, whether on-chain or off-chain. Finally, Order Reactors settle UniswapX orders. They are responsible for validating orders of a specific type, resolving them into inputs and outputs, executing them based on the filler&apos;s strategy, and verifying successful fulfillment of the order.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/90852be601078cb1cca9b0eaef6382f4256a1c65c41e533073a0c22b507fe586.png" alt="Source: Uniswap" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Source: Uniswap</figcaption></figure><p>In the current Uniswap Labs interface implementation of UniswapX, the protocol is broken into two phases. The first is the RFQ phase, where whitelisted &apos;quoters&apos; respond with quotes to the orders. The winner of the quote then has an exclusivity period to fill the order. If they don&apos;t, then it enters the second phase, the Dutch Auction phase, which is a auction that any filler can take part in. The plan is to make the quoting system fully permissionless in the near future.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/4179142ff2d6c1c87bcf151c8f6f398307965557efae3dfbfe118c5563391da6.png" alt="Source: Onchain Trading by Hayden Adams, EthCC" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Source: Onchain Trading by Hayden Adams, EthCC</figcaption></figure><p>The intent-centric design offers several benefits.</p><ul><li><p>Aggregating liquidity sources for better prices.</p></li><li><p>No requirement for gas tokens, even for cross-chain swaps.</p></li><li><p>Internalization of MEV through price improvement.</p></li><li><p>No cost incurred for failed transactions.</p></li></ul><h2 id="h-challenges" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>Challenges</strong></h2><ul><li><p>Making the quoting system permissionless, e.g. Using an effective reputation system.</p></li><li><p>Attracting more fillers to ensure a competitive and permissionless auction environment.</p></li></ul><h2 id="h-the-future-an-infinite-game" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>The Future: An Infinite Game</strong></h2><p>The development of DEXes doesn&apos;t stop here. In order for crypto to achieve mass adoption, there are several other issues that need to be addressed. Markus Schmitt (<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/_haikane_">@_haikane_</a>) from PropellerHeads (<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/PropellerSwap">@PropellerSwap</a>), in collaboration with Frontier Research (<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/FrontierDotTech">@FrontierDotTech</a>), has written <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.propellerheads.xyz/blog/the-next-steps-in-dex-design">an outstanding article</a> that delves into what constitutes a good DEX and identifies the remaining problems that need to be solved. According to his perspective, a good exchange should offer:</p><ol><li><p><strong>Trust</strong>: Ensuring transparency and minimizing custody risks before, during, and after transactions.</p></li><li><p><strong>Best Prices</strong>: Providing confidence in obtaining the best or competitive prices consistently, eliminating the need to search elsewhere.</p></li><li><p><strong>Fairness</strong>: Preventing abuse of orders and ensuring equal treatment regarding pricing and fees for all users.</p></li><li><p><strong>Speed and Availability</strong>: Offering fast transaction processing and maintaining high availability to avoid delays and inconveniences.</p></li><li><p><strong>Information</strong>: Assisting users in making informed decisions by providing order monitoring, settlement price estimates, and helpful suggestions for limit orders and slippage.</p></li><li><p><strong>Liquidity</strong>: Demonstrating a robust liquidity pool across various asset pairs, instilling confidence in obtaining favorable prices.</p></li></ol><p>If the smart contracts of DEXes are considered safe, trust is already built-in. DEXes don&apos;t hold users&apos; assets. The information available to traders is quite extensive now. The permissionless nature of AMMs enables users to create and trade any asset pairs. However, due to blockchain characteristics, ensuring the best prices, fairness, speed, and availability is not always guaranteed. Gas fees, stale prices, and fragmented liquidity all contribute to impacting users&apos; experience.</p><p>To address these issues, we are witnessing a proliferation of L2s and DEXes on L2s. Additionally, we are seeing more sophisticated routing, order batching, and Request-for-quotes systems. To prevent front-running and ensure fair value distribution, more MEV-aware channels are being employed. Moreover, efforts are underway to develop order flow auction markets that minimize value leakage for DEX users. The introduction of hooks and zk Coprocessors also significantly expands the design possibilities for AMMs, allowing for more complex logic and heavy computations without compromising trust.</p><p>Additionally, there is a suite of protocols that build upon AMMs, effectively stacking the “money lego”. These protocols include liquidity managers that assist unsophisticated users in automating liquidity rebalancing or leveraging farming. There are also protocols that utilize Concentrated Liquidity (CL) positions to create margin trading, perpetuals, options, and structured products.</p><p>AMMs have witnessed exponential growth thanks to their permissionless listing, passive liquidity, and ease of trading. However, this convenience also brings along several issues that we have explored so far. Uniswap is consistently pushing the boundaries to address these issues and enhance the user experience. As Dan Robinson (<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/danrobinson">@danrobinson</a>) aptly puts it in his <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://youtu.be/NFJWy8oyVS0?t=7061">speech at SBC23</a>, DEX design is an infinite game. With increased adoption of DEXes in the future, new challenges and problems are likely to arise, necessitating innovative solutions.</p><h2 id="h-references" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>References</strong></h2><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://vitalik.ca/general/2017/06/22/marketmakers.html"><strong>On Path Independence</strong></a></p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://vitalik.ca/general/2017/06/22/marketmakers.html">https://vitalik.ca/general/2017/06/22/marketmakers.html</a></p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.reddit.com/r/ethereum/comments/55m04x/lets_run_onchain_decentralized_exchanges_the_way/"><strong>Reddit - Dive into anything</strong></a></p><div data-type="embedly" src="https://www.reddit.com/r/ethereum/comments/55m04x/lets_run_onchain_decentralized_exchanges_the_way/" data="{&quot;provider_url&quot;:&quot;https://www.reddit.com&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;title&quot;:&quot;Let&apos;s run on-chain decentralized exchanges the way we run prediction markets&quot;,&quot;author_name&quot;:&quot;vbuterin&quot;,&quot;height&quot;:316,&quot;html&quot;:&quot;&lt;blockquote class=\&quot;reddit-embed-bq\&quot; style=\&quot;height:316px\&quot; &gt;\n&lt;a href=\&quot;https://www.reddit.com/r/ethereum/comments/55m04x/lets_run_onchain_decentralized_exchanges_the_way/\&quot;&gt;Let&amp;#39;s run on-chain decentralized exchanges the way we run prediction markets&lt;/a&gt;&lt;br&gt; by\n&lt;a href=\&quot;https://www.reddit.com/user/vbuterin/\&quot;&gt;u/vbuterin&lt;/a&gt; in\n&lt;a href=\&quot;https://www.reddit.com/r/ethereum/\&quot;&gt;ethereum&lt;/a&gt;\n&lt;/blockquote&gt;\n&lt;script async src=\&quot;https://embed.reddit.com/widgets.js\&quot; charset=\&quot;UTF-8\&quot;&gt;&lt;/script&gt;&quot;,&quot;provider_name&quot;:&quot;reddit&quot;,&quot;type&quot;:&quot;rich&quot;}" format="iframe"></div><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://blog.gnosis.pm/building-a-decentralized-exchange-in-ethereum-eea4e7452d6e"><strong>Building a Decentralized Exchange in Ethereum</strong></a></p><div data-type="embedly" src="https://blog.gnosis.pm/building-a-decentralized-exchange-in-ethereum-eea4e7452d6e" data="{&quot;provider_url&quot;:&quot;https://medium.com&quot;,&quot;description&quot;:&quot;Building a Decentralized Exchange in Ethereum *Please note that this article was originally published on March 6, 2017. The original post has been archived and re-published here in attempt to ...&quot;,&quot;title&quot;:&quot;Building a Decentralized Exchange in Ethereum&quot;,&quot;mean_alpha&quot;:63.75,&quot;author_name&quot;:&quot;Gnosis&quot;,&quot;url&quot;:&quot;https://medium.com/@gnosisPM/building-a-decentralized-exchange-in-ethereum-ae9df6860b08&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/8f578bf1f458f7af13f74447cd72a23bacbf869f02c47a31008bd079e80f91c5.png&quot;,&quot;thumbnail_width&quot;:1200,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Medium&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:675,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:1200,&quot;height&quot;:675,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/8f578bf1f458f7af13f74447cd72a23bacbf869f02c47a31008bd079e80f91c5.png&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/8f578bf1f458f7af13f74447cd72a23bacbf869f02c47a31008bd079e80f91c5.png"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://blog.gnosis.pm/building-a-decentralized-exchange-in-ethereum-eea4e7452d6e" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>Building a Decentralized Exchange in Ethereum</h2><p>Building a Decentralized Exchange in Ethereum *Please note that this article was originally published on March 6, 2017. The original post has been archived and re-published here in attempt to ...</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://medium.com</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/8f578bf1f458f7af13f74447cd72a23bacbf869f02c47a31008bd079e80f91c5.png"/></div></a></div></div><div data-type="embedly" src="https://blog.gnosis.pm/building-a-decentralized-exchange-in-ethereum-eea4e7452d6e" data="{&quot;provider_url&quot;:&quot;https://medium.com&quot;,&quot;description&quot;:&quot;Building a Decentralized Exchange in Ethereum *Please note that this article was originally published on March 6, 2017. The original post has been archived and re-published here in attempt to ...&quot;,&quot;title&quot;:&quot;Building a Decentralized Exchange in Ethereum&quot;,&quot;mean_alpha&quot;:63.75,&quot;author_name&quot;:&quot;Gnosis&quot;,&quot;url&quot;:&quot;https://medium.com/@gnosisPM/building-a-decentralized-exchange-in-ethereum-ae9df6860b08&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/8f578bf1f458f7af13f74447cd72a23bacbf869f02c47a31008bd079e80f91c5.png&quot;,&quot;thumbnail_width&quot;:1200,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Medium&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:675,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:1200,&quot;height&quot;:675,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/8f578bf1f458f7af13f74447cd72a23bacbf869f02c47a31008bd079e80f91c5.png&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/8f578bf1f458f7af13f74447cd72a23bacbf869f02c47a31008bd079e80f91c5.png"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://blog.gnosis.pm/building-a-decentralized-exchange-in-ethereum-eea4e7452d6e" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>Building a Decentralized Exchange in Ethereum</h2><p>Building a Decentralized Exchange in Ethereum *Please note that this article was originally published on March 6, 2017. The original post has been archived and re-published here in attempt to ...</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://medium.com</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/8f578bf1f458f7af13f74447cd72a23bacbf869f02c47a31008bd079e80f91c5.png"/></div></a></div></div><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://blog.uniswap.org/uniswap-history"><strong>A Short History of Uniswap</strong></a></p><div data-type="embedly" src="https://blog.uniswap.org/uniswap-history" data="{&quot;provider_url&quot;:&quot;https://blog.uniswap.org&quot;,&quot;description&quot;:&quot;Uniswap changed my life and today is its birthday. To celebrate this, I want to tell its story from the beginning.&quot;,&quot;title&quot;:&quot;A Short History of Uniswap&quot;,&quot;mean_alpha&quot;:170.833039906,&quot;thumbnail_width&quot;:1087,&quot;url&quot;:&quot;https://blog.uniswap.org/uniswap-history&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/e2eda69be74e53eb46fb4fa0c5981a353a152a5671f0de895c85a57a63da6c23.png&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Uniswap Labs&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:852,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:1087,&quot;height&quot;:852,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/e2eda69be74e53eb46fb4fa0c5981a353a152a5671f0de895c85a57a63da6c23.png&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/e2eda69be74e53eb46fb4fa0c5981a353a152a5671f0de895c85a57a63da6c23.png"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://blog.uniswap.org/uniswap-history" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>A Short History of Uniswap</h2><p>Uniswap changed my life and today is its birthday. To celebrate this, I want to tell its story from the beginning.</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://blog.uniswap.org</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/e2eda69be74e53eb46fb4fa0c5981a353a152a5671f0de895c85a57a63da6c23.png"/></div></a></div></div><div data-type="embedly" src="https://blog.uniswap.org/uniswap-history" data="{&quot;provider_url&quot;:&quot;https://blog.uniswap.org&quot;,&quot;description&quot;:&quot;Uniswap changed my life and today is its birthday. To celebrate this, I want to tell its story from the beginning.&quot;,&quot;title&quot;:&quot;A Short History of Uniswap&quot;,&quot;mean_alpha&quot;:170.833039906,&quot;thumbnail_width&quot;:1087,&quot;url&quot;:&quot;https://blog.uniswap.org/uniswap-history&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/e2eda69be74e53eb46fb4fa0c5981a353a152a5671f0de895c85a57a63da6c23.png&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Uniswap Labs&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:852,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:1087,&quot;height&quot;:852,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/e2eda69be74e53eb46fb4fa0c5981a353a152a5671f0de895c85a57a63da6c23.png&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/e2eda69be74e53eb46fb4fa0c5981a353a152a5671f0de895c85a57a63da6c23.png"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://blog.uniswap.org/uniswap-history" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>A Short History of Uniswap</h2><p>Uniswap changed my life and today is its birthday. To celebrate this, I want to tell its story from the beginning.</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://blog.uniswap.org</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/e2eda69be74e53eb46fb4fa0c5981a353a152a5671f0de895c85a57a63da6c23.png"/></div></a></div></div><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://blog.uniswap.org/uniswap-v2"><strong>Uniswap v2 Overview</strong></a></p><div data-type="embedly" src="https://blog.uniswap.org/uniswap-v2" data="{&quot;provider_url&quot;:&quot;https://blog.uniswap.org&quot;,&quot;description&quot;:&quot;All about Uniswap V2. Price oracles, optimistic swaps and much much more. Launching April 2020.&quot;,&quot;title&quot;:&quot;Uniswap v2 Overview&quot;,&quot;mean_alpha&quot;:166.686875,&quot;thumbnail_width&quot;:1200,&quot;url&quot;:&quot;https://blog.uniswap.org/uniswap-v2&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/f1a4c9849839059f0cc3c0911d7ff7e80eb8d8fb832ac8b0ff8261f176b7173e.png&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Uniswap Labs&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:400,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:1200,&quot;height&quot;:400,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/f1a4c9849839059f0cc3c0911d7ff7e80eb8d8fb832ac8b0ff8261f176b7173e.png&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/f1a4c9849839059f0cc3c0911d7ff7e80eb8d8fb832ac8b0ff8261f176b7173e.png"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://blog.uniswap.org/uniswap-v2" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>Uniswap v2 Overview</h2><p>All about Uniswap V2. Price oracles, optimistic swaps and much much more. Launching April 2020.</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://blog.uniswap.org</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/f1a4c9849839059f0cc3c0911d7ff7e80eb8d8fb832ac8b0ff8261f176b7173e.png"/></div></a></div></div><div data-type="embedly" src="https://blog.uniswap.org/uniswap-v2" data="{&quot;provider_url&quot;:&quot;https://blog.uniswap.org&quot;,&quot;description&quot;:&quot;All about Uniswap V2. Price oracles, optimistic swaps and much much more. Launching April 2020.&quot;,&quot;title&quot;:&quot;Uniswap v2 Overview&quot;,&quot;mean_alpha&quot;:166.686875,&quot;thumbnail_width&quot;:1200,&quot;url&quot;:&quot;https://blog.uniswap.org/uniswap-v2&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/f1a4c9849839059f0cc3c0911d7ff7e80eb8d8fb832ac8b0ff8261f176b7173e.png&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Uniswap Labs&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:400,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:1200,&quot;height&quot;:400,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/f1a4c9849839059f0cc3c0911d7ff7e80eb8d8fb832ac8b0ff8261f176b7173e.png&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/f1a4c9849839059f0cc3c0911d7ff7e80eb8d8fb832ac8b0ff8261f176b7173e.png"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://blog.uniswap.org/uniswap-v2" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>Uniswap v2 Overview</h2><p>All about Uniswap V2. Price oracles, optimistic swaps and much much more. Launching April 2020.</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://blog.uniswap.org</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/f1a4c9849839059f0cc3c0911d7ff7e80eb8d8fb832ac8b0ff8261f176b7173e.png"/></div></a></div></div><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://blog.uniswap.org/uniswap-v3"><strong>Introducing Uniswap v3</strong></a></p><div data-type="embedly" src="https://blog.uniswap.org/uniswap-v3" data="{&quot;provider_url&quot;:&quot;https://blog.uniswap.org&quot;,&quot;description&quot;:&quot;All about Uniswap V3.&quot;,&quot;title&quot;:&quot;Introducing Uniswap v3&quot;,&quot;thumbnail_width&quot;:1200,&quot;url&quot;:&quot;https://blog.uniswap.org/uniswap-v3&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/f5281bd5fa648475229e1e65dceb14c179738a3d5ddd4edc9df751cc4739cf93.png&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Uniswap Labs&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:400,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:1200,&quot;height&quot;:400,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/f5281bd5fa648475229e1e65dceb14c179738a3d5ddd4edc9df751cc4739cf93.png&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/f5281bd5fa648475229e1e65dceb14c179738a3d5ddd4edc9df751cc4739cf93.png"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://blog.uniswap.org/uniswap-v3" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>Introducing Uniswap v3</h2><p>All about Uniswap V3.</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://blog.uniswap.org</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/f5281bd5fa648475229e1e65dceb14c179738a3d5ddd4edc9df751cc4739cf93.png"/></div></a></div></div><div data-type="embedly" src="https://blog.uniswap.org/uniswap-v3" data="{&quot;provider_url&quot;:&quot;https://blog.uniswap.org&quot;,&quot;description&quot;:&quot;All about Uniswap V3.&quot;,&quot;title&quot;:&quot;Introducing Uniswap v3&quot;,&quot;thumbnail_width&quot;:1200,&quot;url&quot;:&quot;https://blog.uniswap.org/uniswap-v3&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/f5281bd5fa648475229e1e65dceb14c179738a3d5ddd4edc9df751cc4739cf93.png&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Uniswap Labs&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:400,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:1200,&quot;height&quot;:400,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/f5281bd5fa648475229e1e65dceb14c179738a3d5ddd4edc9df751cc4739cf93.png&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/f5281bd5fa648475229e1e65dceb14c179738a3d5ddd4edc9df751cc4739cf93.png"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://blog.uniswap.org/uniswap-v3" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>Introducing Uniswap v3</h2><p>All about Uniswap V3.</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://blog.uniswap.org</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/f5281bd5fa648475229e1e65dceb14c179738a3d5ddd4edc9df751cc4739cf93.png"/></div></a></div></div><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://blog.uniswap.org/uniswap-v4"><strong>Our Vision for Uniswap v4</strong></a></p><div data-type="embedly" src="https://blog.uniswap.org/uniswap-v4" data="{&quot;provider_url&quot;:&quot;https://blog.uniswap.org&quot;,&quot;description&quot;:&quot;All about our vision for Uniswap v4 and why we&apos;re building in public.&quot;,&quot;title&quot;:&quot;Our Vision for Uniswap v4&quot;,&quot;thumbnail_width&quot;:1200,&quot;url&quot;:&quot;https://blog.uniswap.org/uniswap-v4&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/74ad4de29465ce4206d6cfac9519b55d248bfb93f481a72eebfdf45dc02411d7.jpg&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Uniswap Labs&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:800,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:1200,&quot;height&quot;:800,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/74ad4de29465ce4206d6cfac9519b55d248bfb93f481a72eebfdf45dc02411d7.jpg&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/74ad4de29465ce4206d6cfac9519b55d248bfb93f481a72eebfdf45dc02411d7.jpg"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://blog.uniswap.org/uniswap-v4" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>Our Vision for Uniswap v4</h2><p>All about our vision for Uniswap v4 and why we&#x27;re building in public.</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://blog.uniswap.org</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/74ad4de29465ce4206d6cfac9519b55d248bfb93f481a72eebfdf45dc02411d7.jpg"/></div></a></div></div><div data-type="embedly" src="https://blog.uniswap.org/uniswap-v4" data="{&quot;provider_url&quot;:&quot;https://blog.uniswap.org&quot;,&quot;description&quot;:&quot;All about our vision for Uniswap v4 and why we&apos;re building in public.&quot;,&quot;title&quot;:&quot;Our Vision for Uniswap v4&quot;,&quot;thumbnail_width&quot;:1200,&quot;url&quot;:&quot;https://blog.uniswap.org/uniswap-v4&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/74ad4de29465ce4206d6cfac9519b55d248bfb93f481a72eebfdf45dc02411d7.jpg&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Uniswap Labs&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:800,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:1200,&quot;height&quot;:800,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/74ad4de29465ce4206d6cfac9519b55d248bfb93f481a72eebfdf45dc02411d7.jpg&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/74ad4de29465ce4206d6cfac9519b55d248bfb93f481a72eebfdf45dc02411d7.jpg"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://blog.uniswap.org/uniswap-v4" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>Our Vision for Uniswap v4</h2><p>All about our vision for Uniswap v4 and why we&#x27;re building in public.</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://blog.uniswap.org</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/74ad4de29465ce4206d6cfac9519b55d248bfb93f481a72eebfdf45dc02411d7.jpg"/></div></a></div></div><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://blog.uniswap.org/uniswap-v4-truncated-oracle-hook"><strong>Uniswap v4 Truncated Oracle Hook</strong></a></p><div data-type="embedly" src="https://blog.uniswap.org/uniswap-v4-truncated-oracle-hook" data="{&quot;provider_url&quot;:&quot;https://blog.uniswap.org&quot;,&quot;description&quot;:&quot;This example Uniswap v4 hook implements a Truncated Geometric Mean oracle. This oracle is more resistant to manipulation techniques by blunting the price impact of large trades.&quot;,&quot;title&quot;:&quot;Uniswap v4 Truncated Oracle Hook&quot;,&quot;thumbnail_width&quot;:1200,&quot;url&quot;:&quot;https://blog.uniswap.org/uniswap-v4-truncated-oracle-hook&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/fd620fcdafd021906b245e4608b5782c23401ac93d5555a3dbe9b9e74769d32b.jpg&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Uniswap Labs&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:666,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:1200,&quot;height&quot;:666,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/fd620fcdafd021906b245e4608b5782c23401ac93d5555a3dbe9b9e74769d32b.jpg&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/fd620fcdafd021906b245e4608b5782c23401ac93d5555a3dbe9b9e74769d32b.jpg"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://blog.uniswap.org/uniswap-v4-truncated-oracle-hook" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>Uniswap v4 Truncated Oracle Hook</h2><p>This example Uniswap v4 hook implements a Truncated Geometric Mean oracle. This oracle is more resistant to manipulation techniques by blunting the price impact of large trades.</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://blog.uniswap.org</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/fd620fcdafd021906b245e4608b5782c23401ac93d5555a3dbe9b9e74769d32b.jpg"/></div></a></div></div><div data-type="embedly" src="https://blog.uniswap.org/uniswap-v4-truncated-oracle-hook" data="{&quot;provider_url&quot;:&quot;https://blog.uniswap.org&quot;,&quot;description&quot;:&quot;This example Uniswap v4 hook implements a Truncated Geometric Mean oracle. This oracle is more resistant to manipulation techniques by blunting the price impact of large trades.&quot;,&quot;title&quot;:&quot;Uniswap v4 Truncated Oracle Hook&quot;,&quot;thumbnail_width&quot;:1200,&quot;url&quot;:&quot;https://blog.uniswap.org/uniswap-v4-truncated-oracle-hook&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/fd620fcdafd021906b245e4608b5782c23401ac93d5555a3dbe9b9e74769d32b.jpg&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Uniswap Labs&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:666,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:1200,&quot;height&quot;:666,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/fd620fcdafd021906b245e4608b5782c23401ac93d5555a3dbe9b9e74769d32b.jpg&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/fd620fcdafd021906b245e4608b5782c23401ac93d5555a3dbe9b9e74769d32b.jpg"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://blog.uniswap.org/uniswap-v4-truncated-oracle-hook" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>Uniswap v4 Truncated Oracle Hook</h2><p>This example Uniswap v4 hook implements a Truncated Geometric Mean oracle. This oracle is more resistant to manipulation techniques by blunting the price impact of large trades.</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://blog.uniswap.org</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/fd620fcdafd021906b245e4608b5782c23401ac93d5555a3dbe9b9e74769d32b.jpg"/></div></a></div></div><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://blog.uniswap.org/uniswapx-protocol"><strong>Introducing the UniswapX Protocol</strong></a></p><div data-type="embedly" src="https://blog.uniswap.org/uniswapx-protocol" data="{&quot;provider_url&quot;:&quot;https://blog.uniswap.org&quot;,&quot;description&quot;:&quot;UniswapX is a permissionless protocol for aggregating all sources of liquidity for onchain trading with gas free swaps, MEV protection, more liquidity, and better prices.&quot;,&quot;title&quot;:&quot;Introducing the UniswapX Protocol&quot;,&quot;thumbnail_width&quot;:1200,&quot;url&quot;:&quot;https://blog.uniswap.org/uniswapx-protocol&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/a92ae8c39046a0c32f50532f30c4686cdd6ab745d69851b5c25fc291dd104f44.jpg&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Uniswap Labs&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:388,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:1200,&quot;height&quot;:388,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/a92ae8c39046a0c32f50532f30c4686cdd6ab745d69851b5c25fc291dd104f44.jpg&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/a92ae8c39046a0c32f50532f30c4686cdd6ab745d69851b5c25fc291dd104f44.jpg"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://blog.uniswap.org/uniswapx-protocol" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>Introducing the UniswapX Protocol</h2><p>UniswapX is a permissionless protocol for aggregating all sources of liquidity for onchain trading with gas free swaps, MEV protection, more liquidity, and better prices.</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://blog.uniswap.org</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/a92ae8c39046a0c32f50532f30c4686cdd6ab745d69851b5c25fc291dd104f44.jpg"/></div></a></div></div><div data-type="embedly" src="https://blog.uniswap.org/uniswapx-protocol" data="{&quot;provider_url&quot;:&quot;https://blog.uniswap.org&quot;,&quot;description&quot;:&quot;UniswapX is a permissionless protocol for aggregating all sources of liquidity for onchain trading with gas free swaps, MEV protection, more liquidity, and better prices.&quot;,&quot;title&quot;:&quot;Introducing the UniswapX Protocol&quot;,&quot;thumbnail_width&quot;:1200,&quot;url&quot;:&quot;https://blog.uniswap.org/uniswapx-protocol&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/a92ae8c39046a0c32f50532f30c4686cdd6ab745d69851b5c25fc291dd104f44.jpg&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Uniswap Labs&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:388,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:1200,&quot;height&quot;:388,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/a92ae8c39046a0c32f50532f30c4686cdd6ab745d69851b5c25fc291dd104f44.jpg&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/a92ae8c39046a0c32f50532f30c4686cdd6ab745d69851b5c25fc291dd104f44.jpg"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://blog.uniswap.org/uniswapx-protocol" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>Introducing the UniswapX Protocol</h2><p>UniswapX is a permissionless protocol for aggregating all sources of liquidity for onchain trading with gas free swaps, MEV protection, more liquidity, and better prices.</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://blog.uniswap.org</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/a92ae8c39046a0c32f50532f30c4686cdd6ab745d69851b5c25fc291dd104f44.jpg"/></div></a></div></div><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://blog.uniswap.org/what-is-uniswap"><strong>Uniswap 101: What is Uniswap? | Uniswap Labs</strong></a></p><div data-type="embedly" src="https://blog.uniswap.org/what-is-uniswap" data="{&quot;provider_url&quot;:&quot;https://blog.uniswap.org&quot;,&quot;description&quot;:&quot;Learn more about the Uniswap Protocol, an Ethereum based exchange, with our complete guide. Explore more ways to trade crypto on our decentralized protocol.&quot;,&quot;title&quot;:&quot;Uniswap 101: What is Uniswap? | Uniswap Labs&quot;,&quot;thumbnail_width&quot;:1200,&quot;url&quot;:&quot;https://blog.uniswap.org/what-is-uniswap&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/a320ead2d9645cab1bb3458643a8dab16eac064bdf71c637731c0784512862cb.jpg&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Uniswap Labs&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:800,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:1200,&quot;height&quot;:800,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/a320ead2d9645cab1bb3458643a8dab16eac064bdf71c637731c0784512862cb.jpg&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/a320ead2d9645cab1bb3458643a8dab16eac064bdf71c637731c0784512862cb.jpg"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://blog.uniswap.org/what-is-uniswap" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>Uniswap 101: What is Uniswap? | Uniswap Labs</h2><p>Learn more about the Uniswap Protocol, an Ethereum based exchange, with our complete guide. Explore more ways to trade crypto on our decentralized protocol.</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://blog.uniswap.org</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/a320ead2d9645cab1bb3458643a8dab16eac064bdf71c637731c0784512862cb.jpg"/></div></a></div></div><div data-type="embedly" src="https://blog.uniswap.org/what-is-uniswap" data="{&quot;provider_url&quot;:&quot;https://blog.uniswap.org&quot;,&quot;description&quot;:&quot;Learn more about the Uniswap Protocol, an Ethereum based exchange, with our complete guide. Explore more ways to trade crypto on our decentralized protocol.&quot;,&quot;title&quot;:&quot;Uniswap 101: What is Uniswap? | Uniswap Labs&quot;,&quot;thumbnail_width&quot;:1200,&quot;url&quot;:&quot;https://blog.uniswap.org/what-is-uniswap&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/a320ead2d9645cab1bb3458643a8dab16eac064bdf71c637731c0784512862cb.jpg&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Uniswap Labs&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:800,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:1200,&quot;height&quot;:800,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/a320ead2d9645cab1bb3458643a8dab16eac064bdf71c637731c0784512862cb.jpg&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/a320ead2d9645cab1bb3458643a8dab16eac064bdf71c637731c0784512862cb.jpg"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://blog.uniswap.org/what-is-uniswap" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>Uniswap 101: What is Uniswap? | Uniswap Labs</h2><p>Learn more about the Uniswap Protocol, an Ethereum based exchange, with our complete guide. Explore more ways to trade crypto on our decentralized protocol.</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://blog.uniswap.org</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/a320ead2d9645cab1bb3458643a8dab16eac064bdf71c637731c0784512862cb.jpg"/></div></a></div></div><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.uniswap.org/contracts/uniswapx/overview"><strong>Overview | Uniswap</strong></a></p><div data-type="embedly" src="https://docs.uniswap.org/contracts/uniswapx/overview" data="{&quot;provider_url&quot;:&quot;https://docs.uniswap.org&quot;,&quot;description&quot;:&quot;UniswapX is a permissionless, open source, auction-based swapping protocol for trading across AMMs and other liquidity sources. It improves swapping in several ways:&quot;,&quot;title&quot;:&quot;Overview | Uniswap&quot;,&quot;thumbnail_width&quot;:1200,&quot;url&quot;:&quot;https://docs.uniswap.org/contracts/uniswapx/overview&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/4c582089f6f367fba189bba0034306f0cdd980fddc1fb3656193abb47fb4cfe8.jpg&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Uniswap&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:631,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:1200,&quot;height&quot;:631,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/4c582089f6f367fba189bba0034306f0cdd980fddc1fb3656193abb47fb4cfe8.jpg&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/4c582089f6f367fba189bba0034306f0cdd980fddc1fb3656193abb47fb4cfe8.jpg"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://docs.uniswap.org/contracts/uniswapx/overview" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>Overview | Uniswap</h2><p>UniswapX is a permissionless, open source, auction-based swapping protocol for trading across AMMs and other liquidity sources. It improves swapping in several ways:</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://docs.uniswap.org</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/4c582089f6f367fba189bba0034306f0cdd980fddc1fb3656193abb47fb4cfe8.jpg"/></div></a></div></div><div data-type="embedly" src="https://docs.uniswap.org/contracts/uniswapx/overview" data="{&quot;provider_url&quot;:&quot;https://docs.uniswap.org&quot;,&quot;description&quot;:&quot;UniswapX is a permissionless, open source, auction-based swapping protocol for trading across AMMs and other liquidity sources. It improves swapping in several ways:&quot;,&quot;title&quot;:&quot;Overview | Uniswap&quot;,&quot;thumbnail_width&quot;:1200,&quot;url&quot;:&quot;https://docs.uniswap.org/contracts/uniswapx/overview&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/4c582089f6f367fba189bba0034306f0cdd980fddc1fb3656193abb47fb4cfe8.jpg&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Uniswap&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:631,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:1200,&quot;height&quot;:631,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/4c582089f6f367fba189bba0034306f0cdd980fddc1fb3656193abb47fb4cfe8.jpg&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/4c582089f6f367fba189bba0034306f0cdd980fddc1fb3656193abb47fb4cfe8.jpg"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://docs.uniswap.org/contracts/uniswapx/overview" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>Overview | Uniswap</h2><p>UniswapX is a permissionless, open source, auction-based swapping protocol for trading across AMMs and other liquidity sources. It improves swapping in several ways:</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://docs.uniswap.org</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/4c582089f6f367fba189bba0034306f0cdd980fddc1fb3656193abb47fb4cfe8.jpg"/></div></a></div></div><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://smartbuilds.io/defi-flashloans-explained-uniswap-foundry/"><strong>DeFi Flashloans Explained: How to Borrow Millions in uncollateralized loans (UniswapV2 + Foundry Examples - SmartBuilds.io</strong></a></p><div data-type="embedly" src="https://smartbuilds.io/defi-flashloans-explained-uniswap-foundry/" data="{&quot;provider_url&quot;:&quot;https://smartbuilds.io&quot;,&quot;description&quot;:&quot;Ah, Flashloans. With great power comes great responsibility. Imagine being able to borrow millions of dollars in tokens instantly, without ... Read more&quot;,&quot;title&quot;:&quot;DeFi Flashloans Explained: How to Borrow Millions in uncollateralized loans (UniswapV2 + Foundry Examples - SmartBuilds.io&quot;,&quot;author_name&quot;:&quot;sbuildsio&quot;,&quot;thumbnail_width&quot;:1962,&quot;url&quot;:&quot;https://smartbuilds.io/defi-flashloans-explained-uniswap-foundry/&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/f4769c600bfc2e6448a2f46064f839d7d8de91e9f90cedd0244c43343730a247.png&quot;,&quot;author_url&quot;:&quot;https://smartbuilds.io/author/sbuildsio/&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;SmartBuilds.io&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:1398,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:1962,&quot;height&quot;:1398,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/f4769c600bfc2e6448a2f46064f839d7d8de91e9f90cedd0244c43343730a247.png&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/f4769c600bfc2e6448a2f46064f839d7d8de91e9f90cedd0244c43343730a247.png"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://smartbuilds.io/defi-flashloans-explained-uniswap-foundry/" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>DeFi Flashloans Explained: How to Borrow Millions in uncollateralized loans (UniswapV2 + Foundry Examples - SmartBuilds.io</h2><p>Ah, Flashloans. With great power comes great responsibility. Imagine being able to borrow millions of dollars in tokens instantly, without ... Read more</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://smartbuilds.io</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/f4769c600bfc2e6448a2f46064f839d7d8de91e9f90cedd0244c43343730a247.png"/></div></a></div></div><div data-type="embedly" src="https://smartbuilds.io/defi-flashloans-explained-uniswap-foundry/" data="{&quot;provider_url&quot;:&quot;https://smartbuilds.io&quot;,&quot;description&quot;:&quot;Ah, Flashloans. With great power comes great responsibility. Imagine being able to borrow millions of dollars in tokens instantly, without ... Read more&quot;,&quot;title&quot;:&quot;DeFi Flashloans Explained: How to Borrow Millions in uncollateralized loans (UniswapV2 + Foundry Examples - SmartBuilds.io&quot;,&quot;author_name&quot;:&quot;sbuildsio&quot;,&quot;thumbnail_width&quot;:1962,&quot;url&quot;:&quot;https://smartbuilds.io/defi-flashloans-explained-uniswap-foundry/&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/f4769c600bfc2e6448a2f46064f839d7d8de91e9f90cedd0244c43343730a247.png&quot;,&quot;author_url&quot;:&quot;https://smartbuilds.io/author/sbuildsio/&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;SmartBuilds.io&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:1398,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:1962,&quot;height&quot;:1398,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/f4769c600bfc2e6448a2f46064f839d7d8de91e9f90cedd0244c43343730a247.png&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/f4769c600bfc2e6448a2f46064f839d7d8de91e9f90cedd0244c43343730a247.png"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://smartbuilds.io/defi-flashloans-explained-uniswap-foundry/" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>DeFi Flashloans Explained: How to Borrow Millions in uncollateralized loans (UniswapV2 + Foundry Examples - SmartBuilds.io</h2><p>Ah, Flashloans. With great power comes great responsibility. Imagine being able to borrow millions of dollars in tokens instantly, without ... Read more</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://smartbuilds.io</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/f4769c600bfc2e6448a2f46064f839d7d8de91e9f90cedd0244c43343730a247.png"/></div></a></div></div><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://chain.link/education-hub/flash-loans"><strong>What Are Flash Loans? » Meaning and Definition | Chainlink</strong></a></p><div data-type="embedly" src="https://chain.link/education-hub/flash-loans" data="{&quot;provider_url&quot;:&quot;https://chain.link&quot;,&quot;description&quot;:&quot;A flash loan is a type of loan where a user borrows assets with no upfront collateral and returns the borrowed assets within the same blockchain transaction.&quot;,&quot;title&quot;:&quot;What Are Flash Loans? \&quot; Meaning and Definition | Chainlink&quot;,&quot;url&quot;:&quot;https://chain.link/education-hub/flash-loans&quot;,&quot;thumbnail_width&quot;:1600,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/16de79a0a252f6481fcc75873620c5b1852095a0e46a7845161f0e9652929ced.png&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Chain&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:1422,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:1600,&quot;height&quot;:1422,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/16de79a0a252f6481fcc75873620c5b1852095a0e46a7845161f0e9652929ced.png&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/16de79a0a252f6481fcc75873620c5b1852095a0e46a7845161f0e9652929ced.png"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://chain.link/education-hub/flash-loans" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>What Are Flash Loans? &quot; Meaning and Definition | Chainlink</h2><p>A flash loan is a type of loan where a user borrows assets with no upfront collateral and returns the borrowed assets within the same blockchain transaction.</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://chain.link</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/16de79a0a252f6481fcc75873620c5b1852095a0e46a7845161f0e9652929ced.png"/></div></a></div></div><div data-type="embedly" src="https://chain.link/education-hub/flash-loans" data="{&quot;provider_url&quot;:&quot;https://chain.link&quot;,&quot;description&quot;:&quot;A flash loan is a type of loan where a user borrows assets with no upfront collateral and returns the borrowed assets within the same blockchain transaction.&quot;,&quot;title&quot;:&quot;What Are Flash Loans? \&quot; Meaning and Definition | Chainlink&quot;,&quot;url&quot;:&quot;https://chain.link/education-hub/flash-loans&quot;,&quot;thumbnail_width&quot;:1600,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/16de79a0a252f6481fcc75873620c5b1852095a0e46a7845161f0e9652929ced.png&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Chain&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:1422,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:1600,&quot;height&quot;:1422,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/16de79a0a252f6481fcc75873620c5b1852095a0e46a7845161f0e9652929ced.png&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/16de79a0a252f6481fcc75873620c5b1852095a0e46a7845161f0e9652929ced.png"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://chain.link/education-hub/flash-loans" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>What Are Flash Loans? &quot; Meaning and Definition | Chainlink</h2><p>A flash loan is a type of loan where a user borrows assets with no upfront collateral and returns the borrowed assets within the same blockchain transaction.</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://chain.link</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/16de79a0a252f6481fcc75873620c5b1852095a0e46a7845161f0e9652929ced.png"/></div></a></div></div><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.propellerheads.xyz/blog/the-next-steps-in-dex-design"><strong>The next steps in DEX design</strong></a></p><div data-type="embedly" src="https://www.propellerheads.xyz/blog/the-next-steps-in-dex-design" data="{&quot;provider_url&quot;:&quot;https://www.propellerheads.xyz&quot;,&quot;description&quot;:&quot;DEXs are still behind CEXs volume - but in the next iteration that might be the past.&quot;,&quot;title&quot;:&quot;The next steps in DEX design&quot;,&quot;thumbnail_width&quot;:2186,&quot;url&quot;:&quot;https://www.propellerheads.xyz/blog/the-next-steps-in-dex-design&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/269c27252c29fe3683c041b2189f5a0a8ce65d3b2fb2aecc1c0fbb2a40955418.jpg&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Propellerheads&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:1232,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:2186,&quot;height&quot;:1232,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/269c27252c29fe3683c041b2189f5a0a8ce65d3b2fb2aecc1c0fbb2a40955418.jpg&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/269c27252c29fe3683c041b2189f5a0a8ce65d3b2fb2aecc1c0fbb2a40955418.jpg"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://www.propellerheads.xyz/blog/the-next-steps-in-dex-design" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>The next steps in DEX design</h2><p>DEXs are still behind CEXs volume - but in the next iteration that might be the past.</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://www.propellerheads.xyz</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/269c27252c29fe3683c041b2189f5a0a8ce65d3b2fb2aecc1c0fbb2a40955418.jpg"/></div></a></div></div><div data-type="embedly" src="https://www.propellerheads.xyz/blog/the-next-steps-in-dex-design" data="{&quot;provider_url&quot;:&quot;https://www.propellerheads.xyz&quot;,&quot;description&quot;:&quot;DEXs are still behind CEXs volume - but in the next iteration that might be the past.&quot;,&quot;title&quot;:&quot;The next steps in DEX design&quot;,&quot;thumbnail_width&quot;:2186,&quot;url&quot;:&quot;https://www.propellerheads.xyz/blog/the-next-steps-in-dex-design&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/269c27252c29fe3683c041b2189f5a0a8ce65d3b2fb2aecc1c0fbb2a40955418.jpg&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Propellerheads&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:1232,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:2186,&quot;height&quot;:1232,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/269c27252c29fe3683c041b2189f5a0a8ce65d3b2fb2aecc1c0fbb2a40955418.jpg&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/269c27252c29fe3683c041b2189f5a0a8ce65d3b2fb2aecc1c0fbb2a40955418.jpg"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://www.propellerheads.xyz/blog/the-next-steps-in-dex-design" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>The next steps in DEX design</h2><p>DEXs are still behind CEXs volume - but in the next iteration that might be the past.</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://www.propellerheads.xyz</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/269c27252c29fe3683c041b2189f5a0a8ce65d3b2fb2aecc1c0fbb2a40955418.jpg"/></div></a></div></div><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://atise.medium.com/liquidity-provider-strategies-for-uniswap-v3-table-of-contents-64725c6c0b10"><strong>Liquidity Provider Strategies for Uniswap v3: Table of Contents</strong></a></p><div data-type="embedly" src="https://atise.medium.com/liquidity-provider-strategies-for-uniswap-v3-table-of-contents-64725c6c0b10" data="{&quot;provider_url&quot;:&quot;https://atise.medium.com&quot;,&quot;description&quot;:&quot;Liquidity Provider Strategies for Uniswap v3: Table of Contents This is a series of articles written in 2023 with the support of the Uniswap Foundation. An Introduction to Uniswap LP Strategies and ...&quot;,&quot;title&quot;:&quot;Liquidity Provider Strategies for Uniswap v3: Table of Contents&quot;,&quot;url&quot;:&quot;https://atise.medium.com/liquidity-provider-strategies-for-uniswap-v3-table-of-contents-64725c6c0b10&quot;,&quot;author_name&quot;:&quot;Atis E&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/7a036dd4567e70d05d78ae11ad35b7bfb837fecbd45c5df34675ebc27747ac75.jpg&quot;,&quot;thumbnail_width&quot;:128,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Medium&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:128,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:128,&quot;height&quot;:128,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/7a036dd4567e70d05d78ae11ad35b7bfb837fecbd45c5df34675ebc27747ac75.jpg&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/7a036dd4567e70d05d78ae11ad35b7bfb837fecbd45c5df34675ebc27747ac75.jpg"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://atise.medium.com/liquidity-provider-strategies-for-uniswap-v3-table-of-contents-64725c6c0b10" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>Liquidity Provider Strategies for Uniswap v3: Table of Contents</h2><p>Liquidity Provider Strategies for Uniswap v3: Table of Contents This is a series of articles written in 2023 with the support of the Uniswap Foundation. An Introduction to Uniswap LP Strategies and ...</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://atise.medium.com</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/7a036dd4567e70d05d78ae11ad35b7bfb837fecbd45c5df34675ebc27747ac75.jpg"/></div></a></div></div><div data-type="embedly" src="https://atise.medium.com/liquidity-provider-strategies-for-uniswap-v3-table-of-contents-64725c6c0b10" data="{&quot;provider_url&quot;:&quot;https://atise.medium.com&quot;,&quot;description&quot;:&quot;Liquidity Provider Strategies for Uniswap v3: Table of Contents This is a series of articles written in 2023 with the support of the Uniswap Foundation. An Introduction to Uniswap LP Strategies and ...&quot;,&quot;title&quot;:&quot;Liquidity Provider Strategies for Uniswap v3: Table of Contents&quot;,&quot;url&quot;:&quot;https://atise.medium.com/liquidity-provider-strategies-for-uniswap-v3-table-of-contents-64725c6c0b10&quot;,&quot;author_name&quot;:&quot;Atis E&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/7a036dd4567e70d05d78ae11ad35b7bfb837fecbd45c5df34675ebc27747ac75.jpg&quot;,&quot;thumbnail_width&quot;:128,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Medium&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:128,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:128,&quot;height&quot;:128,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/7a036dd4567e70d05d78ae11ad35b7bfb837fecbd45c5df34675ebc27747ac75.jpg&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/7a036dd4567e70d05d78ae11ad35b7bfb837fecbd45c5df34675ebc27747ac75.jpg"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://atise.medium.com/liquidity-provider-strategies-for-uniswap-v3-table-of-contents-64725c6c0b10" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>Liquidity Provider Strategies for Uniswap v3: Table of Contents</h2><p>Liquidity Provider Strategies for Uniswap v3: Table of Contents This is a series of articles written in 2023 with the support of the Uniswap Foundation. An Introduction to Uniswap LP Strategies and ...</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://atise.medium.com</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/7a036dd4567e70d05d78ae11ad35b7bfb837fecbd45c5df34675ebc27747ac75.jpg"/></div></a></div></div><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/fewwwww/awesome-uniswap-hooks"><strong>GitHub - fewwwww/awesome-uniswap-hooks: A curated list of awesome Uniswap v4 hooks resources.</strong></a></p><div data-type="embedly" src="https://github.com/fewwwww/awesome-uniswap-hooks" data="{&quot;provider_url&quot;:&quot;https://github.com&quot;,&quot;description&quot;:&quot;A curated list of awesome Uniswap v4 hooks resources. - fewwwww/awesome-uniswap-hooks&quot;,&quot;title&quot;:&quot;GitHub - fewwwww/awesome-uniswap-hooks: A curated list of awesome Uniswap v4 hooks resources.&quot;,&quot;author_name&quot;:&quot;fewwwww&quot;,&quot;thumbnail_width&quot;:1200,&quot;url&quot;:&quot;https://github.com/fewwwww/awesome-uniswap-hooks&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/b547b5dab45fe19a12065a655d2835401fd08529b81bbe5e3583c7f5c416ab76.png&quot;,&quot;author_url&quot;:&quot;https://github.com/fewwwww&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;GitHub&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:600,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:1200,&quot;height&quot;:600,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/b547b5dab45fe19a12065a655d2835401fd08529b81bbe5e3583c7f5c416ab76.png&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/b547b5dab45fe19a12065a655d2835401fd08529b81bbe5e3583c7f5c416ab76.png"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://github.com/fewwwww/awesome-uniswap-hooks" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>GitHub - fewwwww/awesome-uniswap-hooks: A curated list of awesome Uniswap v4 hooks resources.</h2><p>A curated list of awesome Uniswap v4 hooks resources. - fewwwww/awesome-uniswap-hooks</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://github.com</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/b547b5dab45fe19a12065a655d2835401fd08529b81bbe5e3583c7f5c416ab76.png"/></div></a></div></div><div data-type="embedly" src="https://github.com/fewwwww/awesome-uniswap-hooks" data="{&quot;provider_url&quot;:&quot;https://github.com&quot;,&quot;description&quot;:&quot;A curated list of awesome Uniswap v4 hooks resources. - fewwwww/awesome-uniswap-hooks&quot;,&quot;title&quot;:&quot;GitHub - fewwwww/awesome-uniswap-hooks: A curated list of awesome Uniswap v4 hooks resources.&quot;,&quot;author_name&quot;:&quot;fewwwww&quot;,&quot;thumbnail_width&quot;:1200,&quot;url&quot;:&quot;https://github.com/fewwwww/awesome-uniswap-hooks&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/b547b5dab45fe19a12065a655d2835401fd08529b81bbe5e3583c7f5c416ab76.png&quot;,&quot;author_url&quot;:&quot;https://github.com/fewwwww&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;GitHub&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:600,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:1200,&quot;height&quot;:600,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/b547b5dab45fe19a12065a655d2835401fd08529b81bbe5e3583c7f5c416ab76.png&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/b547b5dab45fe19a12065a655d2835401fd08529b81bbe5e3583c7f5c416ab76.png"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://github.com/fewwwww/awesome-uniswap-hooks" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>GitHub - fewwwww/awesome-uniswap-hooks: A curated list of awesome Uniswap v4 hooks resources.</h2><p>A curated list of awesome Uniswap v4 hooks resources. - fewwwww/awesome-uniswap-hooks</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://github.com</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/b547b5dab45fe19a12065a655d2835401fd08529b81bbe5e3583c7f5c416ab76.png"/></div></a></div></div><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://uniswaphooks.com/"><strong>Uniswap v4 Hooks Directory | Curated Open Source Hooks</strong></a></p><div data-type="embedly" src="https://uniswaphooks.com/" data="{&quot;provider_url&quot;:&quot;https://xobarpdx.com&quot;,&quot;description&quot;:&quot;Найти новое зеркало, чтобы совершить вход и зарегистрироваться в Vavada casino. Играть в лучшие онлайн слоты без рисков - в демо. Совершить депозит и забрать бонус - до 1000$. Играть в Вавада через телефон, используя мобильную версию сайта.&quot;,&quot;title&quot;:&quot;Играть в официальном онлайн казино Вавада&quot;,&quot;url&quot;:&quot;https://xobarpdx.com/ru-kz&quot;,&quot;author_name&quot;:&quot;Ballan185&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/435efdcaddd5c81b6bad9a45087115da3f37b3985e7bd89d255b1be32427d48b.webp&quot;,&quot;thumbnail_width&quot;:3456,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Vavada Casino&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:760,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:3456,&quot;height&quot;:760,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/435efdcaddd5c81b6bad9a45087115da3f37b3985e7bd89d255b1be32427d48b.webp&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/435efdcaddd5c81b6bad9a45087115da3f37b3985e7bd89d255b1be32427d48b.webp"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://uniswaphooks.com/" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>Играть в официальном онлайн казино Вавада</h2><p>Найти новое зеркало, чтобы совершить вход и зарегистрироваться в Vavada casino. Играть в лучшие онлайн слоты без рисков - в демо. Совершить депозит и забрать бонус - до 1000$. Играть в Вавада через телефон, используя мобильную версию сайта.</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://xobarpdx.com</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/435efdcaddd5c81b6bad9a45087115da3f37b3985e7bd89d255b1be32427d48b.webp"/></div></a></div></div><div data-type="embedly" src="https://uniswaphooks.com/" data="{&quot;provider_url&quot;:&quot;https://xobarpdx.com&quot;,&quot;description&quot;:&quot;Найти новое зеркало, чтобы совершить вход и зарегистрироваться в Vavada casino. Играть в лучшие онлайн слоты без рисков - в демо. Совершить депозит и забрать бонус - до 1000$. Играть в Вавада через телефон, используя мобильную версию сайта.&quot;,&quot;title&quot;:&quot;Играть в официальном онлайн казино Вавада&quot;,&quot;url&quot;:&quot;https://xobarpdx.com/ru-kz&quot;,&quot;author_name&quot;:&quot;Ballan185&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/435efdcaddd5c81b6bad9a45087115da3f37b3985e7bd89d255b1be32427d48b.webp&quot;,&quot;thumbnail_width&quot;:3456,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Vavada Casino&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:760,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:3456,&quot;height&quot;:760,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/435efdcaddd5c81b6bad9a45087115da3f37b3985e7bd89d255b1be32427d48b.webp&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/435efdcaddd5c81b6bad9a45087115da3f37b3985e7bd89d255b1be32427d48b.webp"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://uniswaphooks.com/" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>Играть в официальном онлайн казино Вавада</h2><p>Найти новое зеркало, чтобы совершить вход и зарегистрироваться в Vavada casino. Играть в лучшие онлайн слоты без рисков - в демо. Совершить депозит и забрать бонус - до 1000$. Играть в Вавада через телефон, используя мобильную версию сайта.</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://xobarpdx.com</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/435efdcaddd5c81b6bad9a45087115da3f37b3985e7bd89d255b1be32427d48b.webp"/></div></a></div></div><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://ethresear.ch/t/zkuniswap-a-first-of-its-kind-zkamm/16839"><strong>🪢 zkUniswap: a first-of-its-kind zkAMM</strong></a></p><div data-type="embedly" src="https://ethresear.ch/t/zkuniswap-a-first-of-its-kind-zkamm/16839" data="{&quot;provider_url&quot;:&quot;https://ethresear.ch&quot;,&quot;description&quot;:&quot;TL;DR: We introduce zkUniswap, a first-of-its-kind zkAMM that uses a zk co-processor to offload the computation of swaps. Thanks to Cairo, William X, Trace, jseam, Barnabé Monnot, Xyn, Filip Siroky, Colin Roberts, Thogard, Alex Nezlobin and others for the generous feedback. What is zkUniswap?&quot;,&quot;title&quot;:&quot;🪢 zkUniswap: a first-of-its-kind zkAMM&quot;,&quot;author_name&quot;:&quot;diego&quot;,&quot;thumbnail_width&quot;:1024,&quot;url&quot;:&quot;https://ethresear.ch/t/zkuniswap-a-first-of-its-kind-zkamm/16839&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/237c8fb3fc14a139eaccb58a8282e5af50edcf989bbf64f79a147107a1beee95.jpg&quot;,&quot;author_url&quot;:&quot;https://ethresear.ch/u/diego&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Ethereum Research&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:1024,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:1024,&quot;height&quot;:1024,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/237c8fb3fc14a139eaccb58a8282e5af50edcf989bbf64f79a147107a1beee95.jpg&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/237c8fb3fc14a139eaccb58a8282e5af50edcf989bbf64f79a147107a1beee95.jpg"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://ethresear.ch/t/zkuniswap-a-first-of-its-kind-zkamm/16839" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>🪢 zkUniswap: a first-of-its-kind zkAMM</h2><p>TL;DR: We introduce zkUniswap, a first-of-its-kind zkAMM that uses a zk co-processor to offload the computation of swaps. Thanks to Cairo, William X, Trace, jseam, Barnabé Monnot, Xyn, Filip Siroky, Colin Roberts, Thogard, Alex Nezlobin and others for the generous feedback. What is zkUniswap?</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://ethresear.ch</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/237c8fb3fc14a139eaccb58a8282e5af50edcf989bbf64f79a147107a1beee95.jpg"/></div></a></div></div><div data-type="embedly" src="https://ethresear.ch/t/zkuniswap-a-first-of-its-kind-zkamm/16839" data="{&quot;provider_url&quot;:&quot;https://ethresear.ch&quot;,&quot;description&quot;:&quot;TL;DR: We introduce zkUniswap, a first-of-its-kind zkAMM that uses a zk co-processor to offload the computation of swaps. Thanks to Cairo, William X, Trace, jseam, Barnabé Monnot, Xyn, Filip Siroky, Colin Roberts, Thogard, Alex Nezlobin and others for the generous feedback. What is zkUniswap?&quot;,&quot;title&quot;:&quot;🪢 zkUniswap: a first-of-its-kind zkAMM&quot;,&quot;author_name&quot;:&quot;diego&quot;,&quot;thumbnail_width&quot;:1024,&quot;url&quot;:&quot;https://ethresear.ch/t/zkuniswap-a-first-of-its-kind-zkamm/16839&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/237c8fb3fc14a139eaccb58a8282e5af50edcf989bbf64f79a147107a1beee95.jpg&quot;,&quot;author_url&quot;:&quot;https://ethresear.ch/u/diego&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Ethereum Research&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:1024,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:1024,&quot;height&quot;:1024,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/237c8fb3fc14a139eaccb58a8282e5af50edcf989bbf64f79a147107a1beee95.jpg&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/237c8fb3fc14a139eaccb58a8282e5af50edcf989bbf64f79a147107a1beee95.jpg"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://ethresear.ch/t/zkuniswap-a-first-of-its-kind-zkamm/16839" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>🪢 zkUniswap: a first-of-its-kind zkAMM</h2><p>TL;DR: We introduce zkUniswap, a first-of-its-kind zkAMM that uses a zk co-processor to offload the computation of swaps. Thanks to Cairo, William X, Trace, jseam, Barnabé Monnot, Xyn, Filip Siroky, Colin Roberts, Thogard, Alex Nezlobin and others for the generous feedback. What is zkUniswap?</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://ethresear.ch</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/237c8fb3fc14a139eaccb58a8282e5af50edcf989bbf64f79a147107a1beee95.jpg"/></div></a></div></div><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://mirror.xyz/hyperoracleblog.eth/Tik3nBI9mw05Ql_aHKZqm4hNxfxaEQdDAKn7JKcx0xQ"><strong>Latest Applications Building on Hyper Oracle (Bonus: Things You …</strong></a></p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://mirror.xyz/hyperoracleblog.eth/Tik3nBI9mw05Ql_aHKZqm4hNxfxaEQdDAKn7JKcx0xQ">https://mirror.xyz/hyperoracleblog.eth/Tik3nBI9mw05Ql_aHKZqm4hNxfxaEQdDAKn7JKcx0xQ</a></p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://mirror.xyz/hyperoracleblog.eth/Tik3nBI9mw05Ql_aHKZqm4hNxfxaEQdDAKn7JKcx0xQ">https://mirror.xyz/hyperoracleblog.eth/Tik3nBI9mw05Ql_aHKZqm4hNxfxaEQdDAKn7JKcx0xQ</a></p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://hackmd.io/@Hill/coprocessors"><strong>The inevitable adoption of coprocessors, driven by Uniswap v4 - HackMD</strong></a></p><div data-type="embedly" src="https://hackmd.io/@Hill/coprocessors" data="{&quot;provider_url&quot;:&quot;https://hackmd.io&quot;,&quot;description&quot;:&quot;Uniswap v4 is just announced. Although it&apos;s not fully built out yet, we expect the community to widely explore the boundary of newly enabled possibilities. Since there might be a ton of articles explaining how powerful v4 is on the defi side of things, I would like to address how Uniswap v4 can inspire a new category of blockchain infrastructure: coprocessors.&quot;,&quot;title&quot;:&quot;The inevitable adoption of coprocessors, driven by Uniswap v4 - HackMD&quot;,&quot;thumbnail_width&quot;:1200,&quot;url&quot;:&quot;https://hackmd.io/@Hill/coprocessors&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/3e7aa935c37630d16759c1a59cc9abcc285ae99d709411aa59783767fc5bd430.jpg&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;HackMD&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:630,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:1200,&quot;height&quot;:630,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/3e7aa935c37630d16759c1a59cc9abcc285ae99d709411aa59783767fc5bd430.jpg&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/3e7aa935c37630d16759c1a59cc9abcc285ae99d709411aa59783767fc5bd430.jpg"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://hackmd.io/@Hill/coprocessors" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>The inevitable adoption of coprocessors, driven by Uniswap v4 - HackMD</h2><p>Uniswap v4 is just announced. Although it&#x27;s not fully built out yet, we expect the community to widely explore the boundary of newly enabled possibilities. Since there might be a ton of articles explaining how powerful v4 is on the defi side of things, I would like to address how Uniswap v4 can inspire a new category of blockchain infrastructure: coprocessors.</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://hackmd.io</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/3e7aa935c37630d16759c1a59cc9abcc285ae99d709411aa59783767fc5bd430.jpg"/></div></a></div></div><div data-type="embedly" src="https://hackmd.io/@Hill/coprocessors" data="{&quot;provider_url&quot;:&quot;https://hackmd.io&quot;,&quot;description&quot;:&quot;Uniswap v4 is just announced. Although it&apos;s not fully built out yet, we expect the community to widely explore the boundary of newly enabled possibilities. Since there might be a ton of articles explaining how powerful v4 is on the defi side of things, I would like to address how Uniswap v4 can inspire a new category of blockchain infrastructure: coprocessors.&quot;,&quot;title&quot;:&quot;The inevitable adoption of coprocessors, driven by Uniswap v4 - HackMD&quot;,&quot;thumbnail_width&quot;:1200,&quot;url&quot;:&quot;https://hackmd.io/@Hill/coprocessors&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/3e7aa935c37630d16759c1a59cc9abcc285ae99d709411aa59783767fc5bd430.jpg&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;HackMD&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:630,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:1200,&quot;height&quot;:630,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/3e7aa935c37630d16759c1a59cc9abcc285ae99d709411aa59783767fc5bd430.jpg&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/3e7aa935c37630d16759c1a59cc9abcc285ae99d709411aa59783767fc5bd430.jpg"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://hackmd.io/@Hill/coprocessors" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>The inevitable adoption of coprocessors, driven by Uniswap v4 - HackMD</h2><p>Uniswap v4 is just announced. Although it&#x27;s not fully built out yet, we expect the community to widely explore the boundary of newly enabled possibilities. Since there might be a ton of articles explaining how powerful v4 is on the defi side of things, I would like to address how Uniswap v4 can inspire a new category of blockchain infrastructure: coprocessors.</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://hackmd.io</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/3e7aa935c37630d16759c1a59cc9abcc285ae99d709411aa59783767fc5bd430.jpg"/></div></a></div></div><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://mirror.xyz/0x916563f8476b988855af0b8b8A3D56072E1917FA/ZhTQJ6qiurBTHBNuF08GudWBQ8x9p3P-12vo-C9czKE"><strong>Diamond: A Uniswap V4 Hook minimizing LVR</strong></a></p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://mirror.xyz/0x916563f8476b988855af0b8b8A3D56072E1917FA/ZhTQJ6qiurBTHBNuF08GudWBQ8x9p3P-12vo-C9czKE">https://mirror.xyz/0x916563f8476b988855af0b8b8A3D56072E1917FA/ZhTQJ6qiurBTHBNuF08GudWBQ8x9p3P-12vo-C9czKE</a></p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://mirror.xyz/0x916563f8476b988855af0b8b8A3D56072E1917FA/ZhTQJ6qiurBTHBNuF08GudWBQ8x9p3P-12vo-C9czKE">https://mirror.xyz/0x916563f8476b988855af0b8b8A3D56072E1917FA/ZhTQJ6qiurBTHBNuF08GudWBQ8x9p3P-12vo-C9czKE</a></p>]]></content:encoded>
            <author>sevenxventures@newsletter.paragraph.com (SevenX Ventures)</author>
            <enclosure url="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/b43c5c2226c2c38efa06d658733a9d0a0ac8ba72c020d457ec9740c325845053.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[Modular Smart Contract Account Architecture and Challenges]]></title>
            <link>https://paragraph.com/@sevenxventures/modular-smart-contract-account-architecture-and-challenges</link>
            <guid>JSDV1hE75SLgRwca4bKI</guid>
            <pubDate>Sat, 09 Sep 2023 01:28:10 GMT</pubDate>
            <description><![CDATA[By @Rui, Investor of SevenX Ventures Acknowledgment to Lukas, co-founder of Safe, Noam, engineering lead of Alchemy, Kurt and Konrad, co-founders of Rhinestone, Arnav, investor of HashKey Capital.Content:Introduction, a brief review of AAThe Dilemma of SCA AdoptionModular SCA to Solving Engineering DifficultiesModular ArchitectureSafe Smart Account StackERC2535 Diamond StackComparisonModule SequenceERC6900: Validation, Execution and HooksModules Discovery and SecuritySafe{Core} protocolRhines...]]></description>
            <content:encoded><![CDATA[<p><em>By </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/Ruisnakes"><em>@Rui</em></a><em>, Investor of SevenX Ventures</em></p><p><em>Acknowledgment to </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/SchorLukas"><em>Lukas</em></a><em>, co-founder of </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/safe"><em>Safe</em></a><em>, </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/ProbablyNoam"><em>Noam</em></a><em>, engineering lead of </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/AlchemyPlatform"><em>Alchemy</em></a><em>, </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/larsen_kf"><em>Kurt</em></a><em> and </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/abstractooor"><em>Konrad</em></a><em>, co-founders of </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/rhinestonewtf"><em>Rhinestone</em></a><em>, </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/0xArnav"><em>Arnav</em></a><em>, investor of </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/HashKey_Capital"><em>HashKey Capital</em></a><em>.</em></p><hr><p>Content:</p><ul><li><p>Introduction, a brief review of AA</p></li><li><p>The Dilemma of SCA Adoption</p></li><li><p>Modular SCA to Solving Engineering Difficulties</p></li><li><p>Modular Architecture</p><ul><li><p>Safe Smart Account Stack</p></li><li><p>ERC2535 Diamond Stack</p></li><li><p>Comparison</p></li></ul></li><li><p>Module Sequence</p><ul><li><p>ERC6900: Validation, Execution and Hooks</p></li></ul></li><li><p>Modules Discovery and Security</p><ul><li><p>Safe{Core} protocol</p></li><li><p>Rhinestone</p></li></ul></li></ul><hr><h2 id="h-introduction" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>Introduction</strong></h2><p>The shift from Externally Owned Accounts (EOA) to Smart Contract Accounts(SCA) is gaining momentum and has been embraced by many enthusiasts, including <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://vitalik.ca/general/2023/06/09/three_transitions.html">Vitalik himself</a>. Despite the excitement, the adoption of SCA is not as widespread as EOAs. The key among them are the challenges posed by bear markets, the concern of migration, signing issues, gas overheads, and most critically, engineering difficulties.</p><p>The most significant advantage of Account Abstractions (AA) is the ability to use code to customize functionality. However, one major engineering challenge is the non-interoperability of AA functionalities, and the fragmentation hampers integration and opens the door to vendor lock-in. Additionally, ensuring security while simultaneously upgrading and composing features can be intricate.</p><p>Enter Modular Account Abstraction, as a subset of the broader AA movement, this innovative approach can separate smart accounts from their custom functions. The goal is to create a modular structure to develop secure, seamlessly integrated wallets with diverse functionalities. In the future, it can realize a free “app store” for smart contract accounts that sets wallets and dApps free from building features but focuses on user experience.</p><p>After reading this article, readers will gain insights about:</p><ol><li><p>What is Modular Account Abstraction</p></li><li><p>How does the account interact with modules</p></li><li><p>What’s the sequence of calling modules</p></li><li><p>How to find and verify modules in an open way</p></li></ol><hr><h2 id="h-a-brief-review-of-aa" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">A Brief Review of AA</h2><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/cd539703d5c156fd00e44252adb2c72671a670cfe3a000d99057180869def12b.png" alt="SCA Landscape" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">SCA Landscape</figcaption></figure><p>The traditional EOA introduces many challenges like seed phrase, gas, cross-chain, and multiple transactions. We never intended to introduce complexity, but in fact, blockchain is not an easy game for the masses.</p><p>Account Abstraction leverages the smart contract account allowing programmable validation and execution, where the user is able to approve a series of transactions in one go, rather than sign and broadcast each, and implement many more features. It introduces benefits to user experience(eg. gas abstraction, and session keys), cost(eg. batching transaction), and security(eg. social recovery, multi-sig). Currently, there are two ways to achieve account abstraction:</p><ul><li><p>Protocol layer: Some protocols themselves provide native account abstraction support, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://zksync.io/">ZKsync</a> transactions follow the same flow whether originating from EOA or SCA which uses a single mempool and transaction flow to support AA, and <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://starksnets.com/">Starknet</a> has removed EOA and all accounts are SCA, and they have native smart contract wallets like <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.argent.xyz/">Argent</a>.</p></li><li><p>Contract layer: For Ethereum and its equivalent L2s, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://eips.ethereum.org/EIPS/eip-4337">ERC4337</a> introduces a separate entry point for transactions to support AA without changing the consensus layer. Projects like <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.stackup.sh/">Stackup</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.alchemy.com/">Alchemy</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://etherspot.io/">Etherspot</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.biconomy.io/">Biconomy</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.candidewallet.com/">Candide</a>, and <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.pimlico.io/">Plimico</a> are building bundler infrastructure, and many more like <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://safe.global/core">Safe</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://zerodev.app/">Zerodev</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://etherspot.io/">Etherspot</a>, and <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.biconomy.io/">Biconomy</a> are building stack and SDK.</p></li></ul><p>👉 If you’re not familiar with AA or ERC4337, check SevenX’s previous research <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://mirror.xyz/sevenxventures.eth/LM9qZcx9M1ALIPNz15_mqgGSHxPD3ctKMDOXsjxSpzI">here</a>.</p><hr><h2 id="h-the-dilemma-of-sca-adoption" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">The Dilemma of SCA Adoption</h2><p>The topic of Account Abstraction (AA) has been under discussion since 2015 and it was further propelled into the limelight by ERC4337 this year. However, the number of deployed smart contract accounts still pales in comparison to EOAs.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/b688c6b15924c6d1d5b0ba36e0e1b5672e9f57afe2819191aca96ef1b28d5952.jpg" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>Let’s delve into this dilemma:</p><ol><li><p><strong>Bear Market Impact</strong>:</p><p>Even though AA introduces benefits like seamless login and gas abstraction, the prevailing bear market primarily consists of educated EOA users rather than new ones, thus there’s no incentive for dApps and wallets. Even saying that, leading apps are still on the way to adopting AA, like <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://cyberconnect.me/">Cyberconnect</a> drove around 360,000 UserOps(transactions of AA) a month alone by introducing their AA system and gasless solution.</p></li><li><p><strong>Migration Obstacles:</strong></p><p>For wallets and applications that have accumulated users and stored assets in EOAs, migrating assets securely and conveniently remains a challenge. Nevertheless, initiatives like <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://eips.ethereum.org/EIPS/eip-7377">EIP-7377</a> permit EOAs to initiate a one-time migration transaction.</p></li><li><p><strong>Signing Issue:</strong></p><p>The smart contract itself naturally can’t sign messages, since it does not possess a private key like EOAs. Efforts like <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://eips.ethereum.org/EIPS/eip-1271">ERC1271</a> make it possible but the message signing won’t work until the first transaction, which proposes a challenge for wallets using counterfactual deployment. And <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://eips.ethereum.org/EIPS/eip-6492">ERC-6492</a> proposed by <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.ambire.com/">Ambire</a> is a backwards-compatible successor to ERC-1271 that potentially solves the previous issue.</p></li><li><p><strong>Gas Overheads:</strong></p><p>Deploying, simulating, and executing SCAs incur higher costs compared to standard EOAs. This becomes a deterrent for adoption. However, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.notion.so/d884cf2e407c48cca7dba4e8df33504f?pvs=21">several tests have been conducted</a>, such as decoupling account creation from user operations, and eliminating account salt and existence checks are being considered to reduce these costs.</p></li><li><p><strong>Engineering Difficulties:</strong></p><p>The ERC-4337 team has set up the <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/eth-infinitism/account-abstraction/">eth-infinitism repo</a> to provide developers with a foundational implementation. Yet, as we branch out to more nuanced or specific functions for different use cases, integration and decoding become challenging.</p></li></ol><p><strong>In this article, we’ll dive into the #5 problem: the engineering difficulties.</strong></p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/7528b300eada5af7e8d4e7329aa253b7d1f428819d9f73e1e691ce08103c4d05.png" alt="🤔️" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">🤔️</figcaption></figure><hr><h2 id="h-modular-smart-contract-account-to-address-engineering-difficulties" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Modular Smart Contract Account to Address Engineering Difficulties</h2><p>To further elaborate on the engineering difficulties:</p><ul><li><p><strong>Fragmentation:</strong></p><p>Features are now enabled in various ways, whether natively by specific SCAs or through independent plugin systems. Each follows its standard, forcing developers to decide which platforms to endorse. This leads to potential platform lock-ins or redundant efforts.</p></li><li><p><strong>Security:</strong></p><p>While the flexibility between accounts and features offers advantages, it may amplify security concerns. Features might be audited collectively, but the absence of independent assessments could heighten the risk of account vulnerabilities.</p></li><li><p><strong>Upgradability:</strong></p><p>As features evolve, it’s important to retain the capacity to add, replace, or remove functionalities. Redeploying existing features with each update introduces complexities.</p></li></ul><p>To navigate these waters, we need <strong>upgradable contracts</strong> that ensure secure and efficient upgrades, <strong>reusable cores</strong> to enhance overall development efficiency, and <strong>standardized interfaces</strong> to ensure contract accounts can transition smoothly between different frontends.</p><p>These terms converge on a singular concept: Building a Modular Account Abstraction Architecture (Modular AA).</p><p>Modular AA is a niche within the broader AA movement which envisions modularizing smart accounts to customize them for users and empower developers to seamlessly enhance features with minimal restrictions.</p><p>Yet, in any industry, setting up and promoting a new standard is a big challenge. Initial phases may witness many different solutions before everyone settles on the main one. However, it’s encouraging to see those working on account abstraction, whether it’s the 4337 SDK, wallet developers, infrastructure teams, or protocol designers, all coming together to speed up the process.</p><hr><h2 id="h-modular-structure-main-account-and-modules" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Modular Structure: Main Account and Modules</h2><blockquote><p><em>How does the account call modules to realize functions</em></p></blockquote><h3 id="h-delegate-call-and-proxy-contract" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><strong>Delegate call and proxy contract</strong></h3><p>External call and delegate call:</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/48209295bbdbc49f8b11f2404c8d874662af8518647123b075c951c0d0be1cf8.png" alt="About delegateCall" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">About delegateCall</figcaption></figure><p>While <code>delegatecall</code> is similar to <code>call</code>, but instead of executing the target contract in its own context, it executes it in the context of the calling contract&apos;s current state. This means that any state changes made by the target contract are made to the calling contract&apos;s storage.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/62a49507524346ddd732e753c281ea405132c7dc7fc73c6da7007010f4fc98d5.png" alt="Proxy contract and delegateCall" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Proxy contract and delegateCall</figcaption></figure><p>To realize the composable and upgradable structure, there’s a fundamental knowledge needed called “Proxy contract”.</p><ol><li><p>Proxy contract: A normal contract stores its logic and states, which is unable to update after deployment. A <code>proxy contract</code> using <code>delegatecall</code> to another contract. By referring to the implementation function, it executes it in the proxy contract&apos;s current state.</p></li><li><p>Use cases: While the proxy contract stays immutable, you can deploy a new implementation behind the proxy. Proxy contracts are used for upgradability and are cheaper to deploy and maintain on public blockchains.</p></li></ol><h3 id="h-safe-architecture" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><strong>Safe Architecture</strong></h3><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/95d4acde22a3717cacf64991655b14473d0f789b9f9bf8aa8c86ba43d5c5928a.png" alt="Safe Architecture" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Safe Architecture</figcaption></figure><p><strong>What is Safe:</strong></p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://safe.global/">Safe</a> is a leading Modular Smart Account Infrastructure designed to provide battle-tested security and flexibility, it empowers developers to create diverse applications and wallets. Notably, many teams are building on top of Safe or inspired by it. Biconomy launched its <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/bcnmy/scw-contracts/tree/Ownerless-SA-Auth-Modules-hardhat-deploy">account</a> by expanding Safe with native 4337 and 1/1 multi-signatures. Witnessing the deployment of over 164,000 contracts and locking in excess of 30.7 billion in value, Safe is no doubt the premier in space.</p><p><strong>What’s Safe’s structure</strong></p><ol><li><p><strong>Safe account contract: Main proxy contract (Stateful)</strong></p><p>Safe account is a proxy contract because it <code>delegatecalls</code> a singleton contract. Safe Account contains owners, threshold, and implementation addresses are all set as the variables of the proxy, hence defining its state.</p></li><li><p><strong>Singleton contract: Integration Hub (Stateless)</strong></p><p>Singleton serves the Safe account and integrates and defines different integrations including Plugin, Hook, Function Handler, and Signature Validator.</p></li><li><p><strong>Module contract: Custom logic and features:</strong></p><p>Modules are powerful. Plugins as a modular type can define different features like payment streamings, recovery mechanisms, and session keys, and can serve as a bridge between web2 and web3 by fetching off-chain data. Other modules like Hook as a safety guard, and Function Handler respond to any instructions.</p></li></ol><p><strong>What happens when we adopt Safe:</strong></p><ol><li><p><strong>Upgradable Contracts:</strong></p><p>Deploying a new singleton is needed whenever new plugins are introduced. Users retain the autonomy to upgrade their Safe to the desired singleton version, aligning with their preferences and requirements.</p></li><li><p><strong>Composable and Reusable Modules</strong>:</p><p>The modular nature of plugins empowers developers to craft functionalities independently. They can then freely select and combine these plugins based on their use cases, fostering a highly customizable approach.</p></li></ol><h3 id="h-erc-2535-diamond-proxies" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><strong>ERC-2535 Diamond Proxies</strong></h3><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/1c261748f9b97e484aa71ab89410ab29054dd71b8d3be1cfc0c01182d6644268.png" alt="ERC2535 Diamond Architecture" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">ERC2535 Diamond Architecture</figcaption></figure><p><strong>About ERC2535, Diamond Proxies:</strong></p><p>The <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://eips.ethereum.org/EIPS/eip-2535">ERC2535</a> standardizes diamonds, a modular smart contract system that can be upgraded/extended after deployment and has virtually no size limit. Up till now, lots of teams have been inspired by it, like Zerodev’s Kernel, and Soul Wallet’s experiment.</p><p><strong>What’s diamond structure:</strong></p><ol><li><p><strong>Diamond contract: Main proxy contract (Stateful)</strong> A diamond is a proxy contract that calls functions from its implementations using <code>delegatecall</code>.</p></li><li><p><strong>Module/ Plugin/ Facet contract: Custom logic and features (Stateless)</strong> A Module or so-called Facet is a stateless contract that could deploy its features to one or more diamonds. They are separate, independent contracts that can share internal functions, libraries, and state variables.</p></li></ol><p><strong>What happens when we adopt Diamond:</strong></p><ol><li><p><strong>Upgradable Contracts:</strong> Diamond provides a systematic way to isolate different plugins and connect them together and share data between them, also directly adds/replaces/removes any plugin using the diamondCut function. There is no limit to the amount of plugins that can be added to diamonds over time.</p></li><li><p><strong>Modular and reusable plugin:</strong> A deployed plugin can be used by any number of diamonds to tremendously reduce deployment costs.</p></li></ol><h3 id="h-difference-between-safe-smart-account-and-diamond-approach" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><strong>Difference between Safe Smart Account and Diamond Approach:</strong></h3><p>Similarities abound between the Safe and Diamond architectures, both relying on proxy contracts at their core and referencing logic contracts to achieve upgradability and modularity.</p><p>Nonetheless, the primary distinction lies in the handling of logic contracts. Here’s a closer look:</p><ol><li><p><strong>Flexibility:</strong></p><p>In the context of enabling new plugins, Safe necessitates the redeployment of its Singleton contract to implement the change in its Proxy. In contrast, Diamond achieves this directly through the <code>diamondCut</code> function in its Proxy. <strong>This variance in approach translates to Safe retaining a higher degree of control, while Diamond introduces enhanced flexibility and modularity.</strong></p></li><li><p><strong>Security:</strong></p><p><code>delegatecall</code>, utilized in both structures for now, can permit external code to manipulate the storage of the main contract. In the Safe architecture, <code>delegatecall</code> points to a single logic contract , whereas Diamond employs <code>delegatecall</code> across multiple module contracts- plugins. <strong>Consequently, a malicious plugin holds the potential to overwrite another plugin, thereby introducing the risk of storage collisions that could compromise the integrity of the Proxy.</strong></p><ul><li><p><strong>Cost:</strong></p><p>The flexibility inherent in the Diamond approach comes hand in hand with amplified security concerns. <strong>This increases the cost factor, necessitating comprehensive audits with every addition of a new plugin.</strong> The key is to make sure that these plugins don’t interfere with each other’s functions, presenting a challenge, particularly for small or medium-sized enterprises striving to maintain robust security standards.</p></li></ul></li><li><p>The “Safe Smart Account approach” and the “Diamond Approach” serve as examples of distinct structures involving proxies and modules. How to balance flexibility and security is crucial, and these two methods could potentially complement each other in the future.</p><hr><h2 id="h-modules-sequence-validator-executor-and-hook" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Modules Sequence: Validator, Executor, and Hook</h2><blockquote><p><em>What’s the sequence of calling modules</em></p></blockquote><p>Let’s expand our discussion by introducing <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://eips.ethereum.org/EIPS/eip-6900">ERC6900</a>, a standard proposed by the <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.alchemy.com/">Alchemy</a> team, inspired by Diamond, and tailored specifically for ERC-4337. It addresses the challenge of modularity in smart accounts by providing common interfaces and coordinates the efforts between plugin and wallet developers.</p><p>When it comes to the transaction process of AA, there are three main processes: validation, execution, and hook. These steps can all be managed by using the proxy account to call modules, as we discussed earlier. While different projects may use different names, it’s important to grasp the similar underlying logic.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/ede5950162ecd086866f9b268ea4ec2c163d684df0abeb7d8bd8bd96efa2fdbb.jpg" alt="Function names in different design" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Function names in different design</figcaption></figure><ul><li><p>Validation: Ensures the authenticity and authority of the caller to the account.</p></li><li><p>Execution: Performs any custom logic that the account allows.</p></li><li><p>Hook: Acts as a module that runs before or after another function. It can modify the state or cause the entire call to undo.</p></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/b40e8e1408e29a0542221eb75b269f255454a1129772def2bc83736cb6ef8468.png" alt="ERC6900" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">ERC6900</figcaption></figure><p>It’s crucial to separate modules based on a different logic. A standardized approach should dictate how validation, execution, and hook functions for smart contract accounts should be written. Whether it is Safe or ERC6900, the standardization helps reduce the need for unique development efforts specific to certain implementations or ecosystems and prevents vendor lock-in.</p><hr><h2 id="h-modules-discovery-and-security" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>Modules Discovery and Security</strong></h2><blockquote><p><em>How to find and verify modules in an open way</em></p></blockquote><p>A solution that’s gaining momentum involves the creation of a place that allows users to discover verifiable modules, which we can call “registry.” This registry functions akin to an “App Store” and aims to foster a simplified yet thriving modular marketplace.</p><h3 id="h-safecore-protocol" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><strong>Safe{Core} Protocol</strong></h3><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/625fddf6d891a32fc556aeffac6840a8a685c6c5a60d8e48a4ed65f2b5d32359.png" alt="Safe{Core} Protocol" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Safe{Core} Protocol</figcaption></figure><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://safe.mirror.xyz/KiklifJINUpklBzf-usK_54EC86AfSeX5wH89bNxglM">Safe{Core} Protocol</a> is an open-source, interoperable protocol for smart contract accounts, designed to enhance accessibility for various vendors and developers while maintaining robust security through well-defined standards and rules.</p><ul><li><p><strong>Account</strong>: In Safe{Core} Protocol, the concept of an account is flexible and not bound to a specific implementation. This enables diverse account service providers to participate.</p></li><li><p><strong>Manager</strong>: The Manager serves as a coordinator among Accounts, Registries, and Modules. It’s also responsible for security as the permissioning layer.</p></li><li><p><strong>Registries</strong>: Registries define security attributes and enforce standards like ERC6900 for Modules, aiming to create an open “app store” environment for both discoverability and safety.</p></li><li><p><strong>Modules</strong>: Modules handle functionalities and come in various initial types, including Plugins, Hooks, Signature Validators, and Function Handlers. These are open for developers to contribute to, provided they meet the established standards.</p></li></ul><h3 id="h-rhinestone-design" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Rhinestone Design</h3><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/036d1f130f5b4928a427ebdc9b045af80e1ab811b568a1f91dc887e114ee9699.png" alt="Rhinestone Design" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Rhinestone Design</figcaption></figure><p>The process unfolds as follows:</p><ol><li><p>Creating a Schema Definition: A schema serves as a predefined data structure required for attestation. It can be customized by businesses to align with their specific use cases.</p></li><li><p>Creating Modules Based on A Schema: Smart contracts are registered as modules, obtaining bytecode and choosing a schema ID. This data is then stored within the registry.</p></li><li><p>Attaining Attestation for a Module: Attestors/ auditors can provide attestations for modules on a schema basis. These attestations can include a unique identifier (UID), and references to other attestations for chaining. They can propagate across chains and verify if specific thresholds are met on destination chains.</p></li><li><p>Implementing Complex Logic with Resolvers: Resolvers, optionally set in the schema, come into play. They could be invoked during module creation, attestation establishment, and revocation. These resolvers allow developers to incorporate intricate and diverse logic while maintaining attestation structures.</p></li><li><p>User-Friendly Query Access: Queries offer a means for users to access security information from the front-end. Find this <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/ethereum/EIPs/pull/7484">EIP</a> here.</p></li></ol><p>While this schema is in its early stages, it holds the potential to establish a standard in a decentralized and collaborative way. Their registry enables developers to register their modules, auditors to verify their security, and wallets to integrate and enables users to effortlessly locate modules and verify their attestation information. Several future uses might be:</p><ul><li><p>Attestors: Trustworthy entities, like Safe, could collaborate with Rhinestone as attestors for in-house modules. Simultaneously, independent attestors could join in.</p></li><li><p>Module Developers: As an open market takes shape, module developers could potentially monetize their work through the registry.</p></li><li><p>Users: Engaging via user-friendly interfaces, such as wallets or dApps, users can examine module information and delegate trust to diverse attestors.</p></li></ul><p>The concept of “Module Registry” opens avenues for monetization for plugin and module developers. It could further pave the way for a “Module Marketplace.” Some aspects might be supervised by Safe’s team, while others could manifest as decentralized marketplaces, inviting contributions and transparent audit records for all. By incorporating this, we can avoid vendor lock-in and support the expansion of the EVM by adding an enhanced user experience that attracts a wider audience.</p><p>While these approaches guarantee the safety of a single module, the broader security of smart contract accounts isn’t foolproof. Combining legitimate modules and proof they don’t have storage collisions can be a challenge, underscoring the importance of wallet or AA infrastructure in addressing such concerns.</p><hr><h1 id="h-closing-thoughts" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>Closing thoughts</strong></h1><p>By utilizing a modular smart contract account stack, wallet providers and dApps can be liberated from the complexities of tech maintenance. Meanwhile, external module developers have the opportunity to offer specialized services tailored to individual needs. However, challenges to address include striking a balance between flexibility and security, pushing modular standards forward, and implementing standardized interfaces that empower users to easily upgrade and modify their smart accounts.</p><p>Yet, modular Smart Contract Accounts (SCA) represent just one piece of the adoption puzzle. To fully realize the potential of SCA, additional protocol-layer support is needed from Layer 2 solutions, so as robust bundler infrastructure and peer-to-peer mempool, more cost-effective and feasible SCA signing mechanism, cross-chain SCA synchronization and management, and develop user-friendly interfaces.</p><p>Looking ahead, we envision a future where participation is widespread, sparking intriguing questions: Once SCA order flow becomes sufficiently profitable, how will traditional Miner Extractable Value (MEV) mechanisms enter the field to build bundlers and capture value? When the infrastructure matures, how can Account Abstractions (AA) serve as the foundational layer for “intent-based” transactions? Stay tuned; the landscape is evolving by the minute.</p><hr><h1 id="h-important-pieces" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>Important pieces</strong></h1><ul><li><p><strong>Safe whitepaper:</strong> <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/safe-global/safe-core-protocol-specs/blob/main/whitepaper.pdf">https://github.com/safe-global/safe-core-protocol-specs/blob/main/whitepaper.pdf</a></p></li><li><p><strong>Rhinestone doc:</strong> <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.rhinestone.wtf/">https://docs.rhinestone.wtf/</a></p></li><li><p><strong>Biconomy doc:</strong> <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.biconomy.io/post/making-biconomy-smart-accounts-modular">https://www.biconomy.io/post/making-biconomy-smart-accounts-modular</a></p></li></ul><hr><h1 id="h-reference" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>Reference</strong></h1><ul><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://blog.rhinestone.wtf/part-1-modular-account-abstraction-for-everyone-else-84567422bc46">Part 1: Modular account abstraction for everyone else</a> @<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://medium.com/@KurtFLarsen">Kurt Larsen</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://mirror.xyz/konradkopp.eth/7Q3TrMFgx2VbZRKa7UEaisIMjimpMABiqGYo00T9egA">WTF is Modular Account Abstraction</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.alchemy.com/blog/account-abstraction">You Could Have Invented Account Abstraction: Part 1 — @Alchemy</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://mirror.xyz/konradkopp.eth/V6WjJzDGWfQeTIytmmFAVlug0_yC-W3BM6Q46SlvWGY">rhinestone architecture</a></p></li><li><p>I<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/Ivshti/status/1688821904168091649">vo from Ambire wallet twitter thread</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/4337Mafia/awesome-account-abstraction">Awesome Account Abstraction — 4337 Mafia</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.notion.so/Modular-Smart-Contract-Account-Architectures-and-Challenges-9bfaf39b47f84763a71caa1e1703ba77?pvs=21">ERC6900</a></p></li></ul></li></ol>]]></content:encoded>
            <author>sevenxventures@newsletter.paragraph.com (SevenX Ventures)</author>
            <enclosure url="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/a3b6de5cca82b7f0f563b7c74d0cda35ae6f31f677204b07261d84c715ab6d6e.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[Everything We Care about Account Abstraction-Ethereum Account Evolution Brought by ERC4337]]></title>
            <link>https://paragraph.com/@sevenxventures/everything-we-care-about-account-abstraction-ethereum-account-evolution-brought-by-erc4337</link>
            <guid>Mj3Mph9ELwmhqqN6bdFo</guid>
            <pubDate>Fri, 04 Aug 2023 16:58:10 GMT</pubDate>
            <description><![CDATA[By @Rui, Investor of SevenX Ventures As many have said, Account Abstraction technology, especially ERC-4337, promises to revolutionize the user experience of self-custodial wallets and enable their scaling for mass adoption. However, as we approach May 2023, it is crucial to recognize that the standard is in its early stage, and opportunities and risks coexist. *Please note that this content may soon be outdated as the upgrade is rapidly evolving, and the content presented is based on my pers...]]></description>
            <content:encoded><![CDATA[<p><em>By </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/Ruisnakes"><em>@Rui</em></a><em>, Investor of SevenX Ventures</em></p><p>As many have said, Account Abstraction technology, especially ERC-4337, promises to revolutionize the user experience of self-custodial wallets and enable their scaling for mass adoption. However, as we approach May 2023, it is crucial to recognize that the standard is in its early stage, and opportunities and risks coexist.</p><p><em>*Please note that this content may soon be outdated as the upgrade is rapidly evolving, and the content presented is based on my personal opinion.</em></p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/54b249a44421657ad4d43342381b2f27e9dcf1ebee498a6e4cc0647cc94424d4.webp" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p><strong>TL;DR</strong></p><p><strong>On ERC4337:</strong></p><p>The AA standard is still in its early stages, but many innovative builders are working to further develop it. With the support of the ecosystem and adoption by large products such as MetaMask, we can expect the process of pushing AA to accelerate and yield exciting developments.</p><p><strong>On L2s:</strong></p><p>Adoption of Account Abstraction (AA) varies among L2 solutions. Larger L2s such as Optimism and Arbitrum do not natively support AA, while ZKSync and Starknet do.</p><p><strong>On Bundler service:</strong></p><ul><li><p>If we are bullish on Account Abstration(AA), and all the EVM equivalent L2s in line with Ethereum — does not support native AA, then bundler service is a must need to support AA in the network.</p></li><li><p>Open source nature make Bundler service non-exclusive, making monetization difficult. Different bundler services will be adopted for network security and stability.</p></li><li><p>Private bundler could be possible a way for monetization through customizing the privacy, secure and other features for specific demand.</p></li></ul><p><strong>On Paymaster service:</strong></p><ul><li><p>Paymaster service is relatively centralized (compared to bundler service) with open-sourced contracts but closed backend.</p></li><li><p>Paymaster service has profit-making model, and can enhance payment scenarios by combining with fiat deposit, swaps, bridges, auto-payments, sessions, sponsored fees, and other features to improve dApp usability.</p></li></ul><p><strong>About AA wallet and SDKs:</strong></p><ul><li><p>AA wallets can be evaluated from a product perspective, including key management systems, social recovery, gas sponsorship, multi-chain account sync, and supported blockchains, etc.</p></li><li><p>The advantage of AA is not only smooth login (as Web3 Auth can achieve using custodial way), but in complex and customized on-chain interactions where AA can provide more benefits to dApps.</p></li><li><p>BD is the key in this fierce competition. Most of wallets are targeting Defi, GameFi and working on getting ecosystem supports, persuading big dApps, finding breaking points.</p></li><li><p>Monetization models need to be further explored. A To Business(ToB) models may not make much profit or accumulate their own users, while a To Customer(ToC) models need to find high-value scenarios to profit based on volume. Integrating swap and bridging functions can be profitable, but finding a sustainable model is crucial.</p></li></ul><p>👀 Understand crypto wallet</p><p>👋 Proposal of ERC4337: Problem of CA, 4337 Mechanism, Pros n Cons</p><p>🔗 L2s: Adoption, Insights</p><p>⚙️ AA Infrastructure: Bundler and paymaster service, Evaluation</p><p>🛠️ AA Wallet&amp; SDKs: Modular services, Evaluation</p><h2 id="h-understanding-crypto-wallet" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">👀 Understanding crypto wallet</h2><h3 id="h-classification" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Classification</h3><p>There’re two types accounts existing in the Ethereum network: EOA- Externally Owned Account wallets like MetaMask, and CA -Contract Account like Safe.</p><p>The main difference between EOA wallets and contract wallets is the way in which they are controlled. EOA wallets are controlled by individual users through the private key, while contract wallets are controlled by smart contracts. While EOA wallets are simpler and used for managing personal cryptocurrency holdings, contract wallets can have more complex rules and are used for specific purposes.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/87dc64de265f0ede784bd02601e418d18f73da4ddfc62c4d74831fe5cd73e2f8.webp" alt="From Bitcoin Insider " blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">From Bitcoin Insider</figcaption></figure><h3 id="h-painpoints" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Painpoints</h3><p>Using an Externally Owned Account (EOA) wallet puts the burden of protecting private keys on users. Any mistake or error can lead to the loss of funds, making it a costly and high-risk option. Even experienced cryptocurrency users have lost control of their accounts due to a single wrong or careless move. The complexity of operations, the inability to skip or outsource gas payments, and the limited functionality of wallets are all sources of frustration for users.</p><p>Smart contract wallets offer a solution to some of these issues, but Ethereum currently requires all operations to be packaged in a transaction from an ECDSA-secured EOA. This adds an extra transaction fee and 21000 gas overhead, as well as the potential for centralization and complexity: Users need to either manage two accounts and have ETH in a separate EOA to pay for gas, or rely on centralized relay systems.</p><p>These pain points motivate the creation of ERC-4337, the new standard of Account Abstraction.</p><h2 id="h-proposal-of-erc4337" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">👋 Proposal of ERC4337:</h2><h3 id="h-problem-of-ca" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Problem of CA</h3><p>It is possible to do all of these things with contract wallets today, but the Ethereum itself requires everything to be packaged in a transaction originating from an ECDSA-secured externally-owned account (EOA), that will lead:</p><ul><li><p>Extra transaction fee: Every user operation needs to be wrapped in a transaction from an EOA, adding 21000 gas overhead.</p></li><li><p>Complexity and centralization: The user needs to either have ETH in a separate EOA to pay for gas, and manage balances in two accounts, or rely on a relay system, which are typically centralized.</p></li></ul><p>Over the years, there have been various attempts to implement account abstraction on Ethereum-based blockchains, such as EIP-86 and EIP-2938. However, these approaches were not feasible because they needed modifications to the consensus layer, which was difficult to achieve.</p><h3 id="h-4337-mechanism" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">4337 Mechanism</h3><p>ERC-4337 achieves account abstraction by introducing a higher-layer pseudo-transaction object called a UserOperation, which is similar to rollups in terms of bundling concepts. Fortunately, this standard allows us to build account abstraction without consensus layer changes.</p><p>The Modularization design of EIP 4337 divides the account abstraction function of the smart contract wallet into multiple ports:</p><p><code>Bundler :</code></p><ul><li><p>Bundler is an EOA, since all transactions must be triggered by the EOA, Bundlers enable users to trigger smart contract wallet transactions without creating and memorizing the private key of the EOA.</p></li><li><p>Bundler’s duty: Verify the <code>UserOperation</code>, Package up a set of <code>UserOperation</code> objects into a single “bundle transaction”. Broadcasting the verified <code>UserOperation</code> to public or private mempool.</p></li><li><p>Bundlers can also gain economic benefits by: Pocket the difference between the maximum priority fee and the actual gas cost after performing the <code>UserOperation</code> . Similar to the relayer of ordinary transactions, Bundler can obtain MEV by sorting the <code>UserOperation</code> in the bundle.</p></li></ul><p><code>Entry Point :</code></p><ul><li><p>Entry point is a global contract that all bundlers need to call to perform a <code>UserOperation</code>. It acts as an intermediary between bundler and smart contract wallet.</p></li><li><p>Use <code>handleOp</code> to verify and execute: <code>handleOp</code> function accepts <code>UserOperation</code> as an input parameter, first verifies the <code>UserOperation</code> on-chain, checking that is signed by specified smart contract wallet address and wallet has enough gas to compensate the bundler, if successful, executes according to the function signature and input parameters.</p></li><li><p>Needs deposit token of a smart contract wallet to pay gas fees to bundlers: When Bundler triggers the <code>handleOp</code> function using EOA, a gas fee is incurred. The smart contract wallet can pay gas with its own balance or request a Pymaster to pay. Possible fail: Without enough gas fails the verification step; Even with enough gas, the <code>UserOperation</code> may fail in execution steps, such as a runtime error. Regardless of whether the execution is successful or not, the entry point contract will pay the gas fee to the Bundler to trigger the <code>handleOp</code> function. The entry point contract provides the smart contract wallet with the function to add or withdraw tokens as collateral.</p></li></ul><p>Smart wallet itself:</p><ul><li><p>Smart contract wallet master contract separates the verification and execution steps of <code>UserOperation</code>. By separating it, a bundler can verify the <code>UserOperation</code> off-chain, so malicious transactions can be filtered out without paying gas.</p></li><li><p>Verification steps are defined in the <code>validateOp</code> function: 1st time to call <code>validateOp</code> is bundler to simulate the verification off-chain, verify the signature in the <code>UserOperation</code> , and ensure that the smart contract wallet has sufficient gas balance; 2nd time to call <code>validateOp</code> is entry point contract to perform on-chain verification before executing the <code>UserOperation</code></p></li></ul><p><code>Paymaster :</code></p><ul><li><p>Paymaster defines the logic of the gas abstraction for smart contract wallets, including paying for Ethereum gas with ERC20 homogenized tokens and transactions without gas.</p></li><li><p>Paymaster is a smart contract deployed by a dApp that can trigger Paymaster’s <code>validatePaymasterOp</code> .</p></li></ul><p><code>Wallet Factory :</code></p><ul><li><p>Wallet Factory is a public contract that creates a smart contract wallet. When the <code>initCode</code> is populated with the wallet factory address and the parameters of the new smart contract wallet, Bundler will trigger the corresponding Wallet Factory to create a smart contract with the specified parameters. Popular <code>Wallet Factory</code> undergoes a comprehensive code audit, safer for user to create wallet.</p></li><li><p><code>Wallet Factory</code> need to stake ETH on <code>Entry Point</code> and consistently serve <code>UserOperations</code> well in order to get more traffic from Bundler.</p></li><li><p>Users can request Bundler to create a CA wallet by submitting a <code>UserOperation</code> populated with <code>initCode</code>.</p></li><li><p>Users can customize their CA wallet by selecting <code>Wallet Factory</code> with specific customization parameters.</p></li></ul><p><code>Signature Aggregator :</code></p><ul><li><p><code>Signature Aggregator</code> is used to aggregate the signatures of multiple transactions into bytes for faster verification and execution of transactions. Different smart contract wallets use different signature algorithms, it is necessary to aggregate the <code>UserOperations</code> using the same signature algorithm first.</p></li><li><p>Save gas: since on-chain cryptographic calculations consume a lot of gas, aggregated signature schemes (such as BLS) can save gas during on-chain verification.</p></li><li><p>Bundler uses multiple signature aggregator contracts to generate multiple aggregate signatures instead of validating one <code>UserOperation</code> at a time.</p></li><li><p>Bundler passes the <code>UserOperation</code> array, aggregate signature and aggregator address to <code>Entry Point</code>, and each <code>UserOperation</code> group meeting calls the <code>validateSignature</code> function of its corresponding signature aggregator.</p></li><li><p>After the verification is passed, Bundler will execute this set of <code>UserOperations</code> on the smart contract wallet.</p></li><li><p>Aggregators also need to stake Ethereum on entry-point contracts and maintain a track record of serving <code>UserOperations</code> well.</p></li></ul><h3 id="h-pros-of-aa" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Pros of AA</h3><ol><li><p><strong>Gas abstraction:</strong></p><p>Gas abstraction contains gas-free transactions and pays for gas with any ERC20 token. The logic could be implemented in a <code>Paymaster</code> contract or through a <code>Relayer</code>. In terms of AA, Many smart contract wallets implement EIP 4337-compatible <code>Paymaster</code> contracts themselves and pledge tokens on entry point contracts to help users pay for gas.</p></li><li><p><strong>Social Recovery:</strong></p><p>In the event a private key is lost or compromised, users can authorize a new key as a legitimate wallet owner. <strong>The logic of social login and social recovery is generally defined in the main contract of the wallet.</strong> Multiple apporoad could be used like email, muti-signature, MPC or SWIE(Sign in with Ethereum) and so on.</p></li><li><p><strong>Batching transaction:</strong></p><p>Transaction batching is a feature unique to smart contract wallets that allows wallet users to execute multiple transactions in a single on-chain transaction.</p></li><li><p><strong>Ramps and bridges integration:</strong></p><p>Many existing wallets, already integrate fiat deposit and withdrawal channels and cross-chain bridges into wallets by working with third-party providers. These deposit and withdrawal channels and cross-chain bridges can be further integrated with the payment contract (Paymaster) in gas abstraction.</p></li><li><p><strong>Modular design:</strong></p><p>One of the biggest advantage of AA could be the modular service that each part of bundler, paymaster and many could be flexibly combine.</p></li></ol><h3 id="h-cons-of-aa" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Cons of AA</h3><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/791c45726b4eaf464eeae468caeae7a31ab7669804ffbd5c2d68809f6564cea4.webp" alt="From stackup" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">From stackup</figcaption></figure><ol><li><p><strong>Fees can be relative higher(maybe):</strong></p><p>Simple transfers with ERC-4337 is much more expensive than simple transfers with a traditional wallet (often called an EOA) because a contract call has to be made with ERC-4337.</p><p>However, ERC4337 can be cheaper than EOAs on rollups because it can aggregating signatures together to reduce the amount of data on mainnet.</p></li><li><p><strong>Standard now not yet finalized:</strong></p><p>Some challenges like increased attack vectors due to the extended transaction extensibility, potential for unforeseen bugs or security risks when migrating to the new standard, the need for a robust and secure global entry point contract to ensure the appropriate signing and validation of all transactions.</p></li></ol><h2 id="h-l2s" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">🔗 L2s</h2><p><em>✅ and ❌ mean whether support native AA.</em></p><h3 id="h-optimism" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Optimism: ❌</h3><p>Optimism’s first version had three OVM OpCodes to enable account abstraction for smart contract wallets. However, the second version removed them for consistency and security reasons, and there’s no official statement about supporting account abstraction.</p><h3 id="h-arbitrum" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Arbitrum: ❌</h3><p>While there are currently a few smart contract wallets being built on Arbitrum, there is no official statement about supporting account abstraction.</p><h3 id="h-starknet" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Starknet: ✅</h3><p>Starknet only has smart contract accounts with validate and execute functions, which must be implemented in all accounts to verify signatures and ensure gas fees. Starknet prohibits the validate function from calling external contract state to prevent unexecuted transactions. However, there are differences from Ethereum, such as the lack of UserOperations, Paymaster-like transaction fee abstraction protocol, and the need for accounts with token balances to create new contracts. Also, if a verified transaction fails, Starknet’s sequencer cannot draw gas fees, which Ethereum does not have.</p><h3 id="h-zksync" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">zkSync: ✅</h3><p>zkSync does not distinguish between EOA and contract accounts. Its account model is similar to EIP 4337 and includes separate validateTransaction and executeTransaction functions. The Paymaster interface also includes validateAndPayForPaymasterTransaction and postOp functions. However, there are differences, such as the ability to call deployed external contracts and external storage during verification. Paymaster can also call external storage during transaction verification.</p><h2 id="h-aa-infrastructure" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">⚙️ AA Infrastructure:</h2><p>Now we see great projects like Stackup, Etherspot, Candide, Infinistism, Pimlico are trying to build infrastructure</p><h3 id="h-bundler-service" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Bundler Service:</h3><p><strong>Builders:</strong></p><ul><li><p>Golang Implementation by Stackup</p></li><li><p>Python Implementation by Candide</p></li><li><p>TypeScript Implementation by Infinitism</p></li><li><p>Skandha — Typescript Implementation by Etherspot</p></li></ul><p><strong>Some consensus:</strong></p><ul><li><p><strong>Public-good Service.</strong> The open source nature of the vast majority of Bundlers makes them non-exclusive and non-competitive. Any RPC endpoint can run a Bundler by copying the open source code.</p></li><li><p><strong>Difficult to monetize:</strong> Even if the RPC endpoint running Bundler collects service usage fees through API keys, Bundler services are also harder to monetize than other infrastructure such as the payment contract Paymaster, because the Paymaster can easily earn the fee difference by partnering with a third-party deposit and withdrawal or DeFi protocol aggregator provider.</p></li><li><p><strong>Important infrastructure:</strong> Verification and execution of UserOperation requires as many Bundlers as possible to better decentralize. Because Stackup and eth-infinitism are the only third-party Bundler service providers currently available, we definitely need more of these Bundler service providers</p></li><li><p><strong>Mechanism:</strong> Bundlers themselves pass messages and propagate user actions, similar to shared memory pools, without having to agree on specific things. Bundlers have an important function of filtering spam, and for their own economic reasons, they want to monitor as much as possible to make mempool safe.</p></li></ul><p><strong>Differences between bundler services:</strong></p><ul><li><p>The Bundler service can be either general infrastructure or built specifically for a wallet. Wallet projects may prioritize building the most basic Bundler, while third-party providers must build modular Bundlers for various scenarios.</p></li><li><p>The Bundler service is implemented in different languages, similar to Ethereum nodes, to prevent single points of failure and benefit the ecosystem.</p></li><li><p>The Bundler service supports private and public mempools and offers customization options for private memory pools.</p></li></ul><h3 id="h-paymaster-service" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Paymaster Service:</h3><ul><li><p>Paymaster service is relatively centralized (compared to bundler service) with open-sourced contracts but closed backend.</p></li><li><p>Paymaster service has profit-making model, and can enhance payment scenarios by combining with fiat deposit, swaps, bridges, auto-payments, sessions, sponsored fees, and other features to improve dApp usability.</p></li></ul><h2 id="h-aa-walletand-sdks" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">🛠️ AA Wallet&amp; SDKs:</h2><h3 id="h-product-evaluation" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Product evaluation:</h3><ol><li><p>Key management system:</p><p>-Multi-Sign Logic(Safe): Can only achieve multi-signature logic such as 2/3 and 3/5;</p><p>-Simple Rights Management(Sequence): You can set the weight to the key, and then there is a threshold for the operation account.</p><p>-RBAC, role-based rights management(Unipass): You can set weights and roles for key. Different roles can perform different operations. Each role also has a corresponding threshold. If you exceed this threshold, you can perform the permissions of the corresponding role.</p></li><li><p>Social recovery method</p></li><li><p>Gas sponsor: Self-built Relayer, or set up Bundler + PayMaster</p></li><li><p>Multi-chain account synchronization</p></li><li><p>Multi-chain address unification</p></li><li><p>Supported blockchain</p></li></ol><h3 id="h-business" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Business</h3><ul><li><p>Business model: Tob/ ToB+ToC / ToC</p></li><li><p>Collaborate with dApps: Collaborate with giant infra-like dApps on each chain, like stablecoin or Defi</p></li><li><p>Utility: Integrate NFT marketplace, launchpad, etc.</p></li><li><p>External support: From Ethereum Foundation or other giant VCs</p></li></ul><p>Shout-out to amazing builders that helped me with this article:</p><p>Reference:</p><ul><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://ethereum.org/en/developers/docs/accounts/">Ethereum Accounts</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://medium.com/nethermind-eth/the-history-and-future-of-account-abstraction-10cb097ebdc8">The History and Future of Account Abstraction by Nethermind</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.argent.xyz/blog/wtf-is-account-abstraction/">Primer on AA by Argent</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://etherspot.io/blog/account-abstraction-a-simplified-future/">Managing Complexity Via AA — A Simplified Future by Etherspot</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://ethresear.ch/t/a-brief-note-on-the-future-of-accounts/12395">A brief note on the future of accounts</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://mirror.xyz/proofedloaf.eth/uJYBCOXoq0YfhKh0HrfwbA4yNV-jbvoeFiOnXDhs2Gc">AA as Ethereum’s broadband moment, by @loaf</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://safe.mirror.xyz/9KmZjEbFkmI79s28d9xar6JWYrE50F5AHpa5CR12YGI">Account Abstraction is NOT coming</a></p></li><li><div data-type="twitter" tweetId="1529604590882234368" tweetData="{&quot;__typename&quot;:&quot;Tweet&quot;,&quot;lang&quot;:&quot;en&quot;,&quot;favorite_count&quot;:195,&quot;created_at&quot;:&quot;2022-05-25T23:25:27.000Z&quot;,&quot;display_text_range&quot;:[0,215],&quot;entities&quot;:{&quot;hashtags&quot;:[],&quot;urls&quot;:[],&quot;user_mentions&quot;:[{&quot;id_str&quot;:&quot;1928043453952446466&quot;,&quot;indices&quot;:[43,52],&quot;name&quot;:&quot;Argent is now Ready&quot;,&quot;screen_name&quot;:&quot;argentHQ&quot;},{&quot;id_str&quot;:&quot;1968295111936110592&quot;,&quot;indices&quot;:[57,70],&quot;name&quot;:&quot;Ambire Wallet is now @ambire&quot;,&quot;screen_name&quot;:&quot;ambirewallet&quot;}],&quot;symbols&quot;:[]},&quot;id_str&quot;:&quot;1529604590882234368&quot;,&quot;text&quot;:&quot;1/ Several smart contract wallet startups (@argentHQ and @AmbireWallet) created tweet threads \&quot;debunking\&quot; my claims about a smart contract wallet vs a MPC wallet. Well, are you finished? Oh.\n\n🧵Allow me to retort.⬇️&quot;,&quot;user&quot;:{&quot;id_str&quot;:&quot;6174752&quot;,&quot;name&quot;:&quot;Pete Kim&quot;,&quot;screen_name&quot;:&quot;petejkim&quot;,&quot;is_blue_verified&quot;:true,&quot;profile_image_shape&quot;:&quot;Circle&quot;,&quot;verified&quot;:false,&quot;profile_image_url_https&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/2d05f9d26bbb94c2253672513c908f5872b383863aef0d60bc2c7306d0a545f2.jpg&quot;},&quot;edit_control&quot;:{&quot;edit_tweet_ids&quot;:[&quot;1529604590882234368&quot;],&quot;editable_until_msecs&quot;:&quot;1653522927000&quot;,&quot;is_edit_eligible&quot;:true,&quot;edits_remaining&quot;:&quot;5&quot;},&quot;conversation_count&quot;:12,&quot;news_action_type&quot;:&quot;conversation&quot;,&quot;isEdited&quot;:false,&quot;isStaleEdit&quot;:false}"> 
  <div class="twitter-embed embed">
    <div class="twitter-header">
        <div style="display:flex">
          <a target="_blank" href="https://twitter.com/petejkim">
              <img alt="User Avatar" class="twitter-avatar" src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/2d05f9d26bbb94c2253672513c908f5872b383863aef0d60bc2c7306d0a545f2.jpg" />
            </a>
            <div style="margin-left:4px;margin-right:auto;line-height:1.2;">
              <a target="_blank" href="https://twitter.com/petejkim" class="twitter-displayname">Pete Kim</a>
              <p><a target="_blank" href="https://twitter.com/petejkim" class="twitter-username">@petejkim</a></p>
    
            </div>
            <a href="https://twitter.com/petejkim/status/1529604590882234368" target="_blank">
              <img alt="Twitter Logo" class="twitter-logo" src="https://paragraph.com/editor/twitter/logo.png" />
            </a>
          </div>
        </div>
      
    <div class="twitter-body">
      1/ Several smart contract wallet startups (<a class="twitter-content-link"  href="https://twitter.com/argentHQ" target="_blank">@argentHQ</a> and @AmbireWallet) created tweet threads "debunking" my claims about a smart contract wallet vs a MPC wallet. Well, are you finished? Oh.<br /><br /><img class="twitter-emoji" draggable="false" alt="🧵" src="https://abs-0.twimg.com/emoji/v2/72x72/1f9f5.png"/>Allow me to retort.<img class="twitter-emoji" draggable="false" alt="⬇️" src="https://abs-0.twimg.com/emoji/v2/72x72/2b07.png"/>
      
      
       
    </div>
    
     <div class="twitter-footer">
          <a target="_blank" href="https://twitter.com/petejkim/status/1529604590882234368" style="margin-right:16px; display:flex;">
            <img alt="Like Icon" class="twitter-heart" src="https://paragraph.com/editor/twitter/heart.png">
            195
          </a>
          <a target="_blank" href="https://twitter.com/petejkim/status/1529604590882234368"><p>6:25 PM • May 25, 2022</p></a>
        </div>
    
  </div> 
  </div></li><li><div data-type="twitter" tweetId="1527027583254241280" tweetData="{&quot;__typename&quot;:&quot;Tweet&quot;,&quot;lang&quot;:&quot;en&quot;,&quot;favorite_count&quot;:3556,&quot;created_at&quot;:&quot;2022-05-18T20:45:21.000Z&quot;,&quot;display_text_range&quot;:[0,216],&quot;entities&quot;:{&quot;hashtags&quot;:[],&quot;urls&quot;:[],&quot;user_mentions&quot;:[{&quot;id_str&quot;:&quot;574032254&quot;,&quot;indices&quot;:[22,31],&quot;name&quot;:&quot;Coinbase 🛡️&quot;,&quot;screen_name&quot;:&quot;coinbase&quot;}],&quot;symbols&quot;:[]},&quot;id_str&quot;:&quot;1527027583254241280&quot;,&quot;text&quot;:&quot;1/ Earlier this week, @Coinbase launched a web3 browser built directly into its main mobile app, powered by MPC tech that eliminates the need for you to manage your own keys.\n\n🧵🧵🧵Here&apos;s why it&apos;s a big deal. ⬇️⬇️⬇️&quot;,&quot;user&quot;:{&quot;id_str&quot;:&quot;6174752&quot;,&quot;name&quot;:&quot;Pete Kim&quot;,&quot;screen_name&quot;:&quot;petejkim&quot;,&quot;is_blue_verified&quot;:true,&quot;profile_image_shape&quot;:&quot;Circle&quot;,&quot;verified&quot;:false,&quot;profile_image_url_https&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/2d05f9d26bbb94c2253672513c908f5872b383863aef0d60bc2c7306d0a545f2.jpg&quot;},&quot;edit_control&quot;:{&quot;edit_tweet_ids&quot;:[&quot;1527027583254241280&quot;],&quot;editable_until_msecs&quot;:&quot;1652908521000&quot;,&quot;is_edit_eligible&quot;:true,&quot;edits_remaining&quot;:&quot;5&quot;},&quot;conversation_count&quot;:315,&quot;news_action_type&quot;:&quot;conversation&quot;,&quot;isEdited&quot;:false,&quot;isStaleEdit&quot;:false}"> 
  <div class="twitter-embed embed">
    <div class="twitter-header">
        <div style="display:flex">
          <a target="_blank" href="https://twitter.com/petejkim">
              <img alt="User Avatar" class="twitter-avatar" src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/2d05f9d26bbb94c2253672513c908f5872b383863aef0d60bc2c7306d0a545f2.jpg" />
            </a>
            <div style="margin-left:4px;margin-right:auto;line-height:1.2;">
              <a target="_blank" href="https://twitter.com/petejkim" class="twitter-displayname">Pete Kim</a>
              <p><a target="_blank" href="https://twitter.com/petejkim" class="twitter-username">@petejkim</a></p>
    
            </div>
            <a href="https://twitter.com/petejkim/status/1527027583254241280" target="_blank">
              <img alt="Twitter Logo" class="twitter-logo" src="https://paragraph.com/editor/twitter/logo.png" />
            </a>
          </div>
        </div>
      
    <div class="twitter-body">
      1/ Earlier this week, @Coinbase launched a web3 browser built directly into its main mobile app, powered by MPC tech that eliminates the need for you to manage your own keys.<br /><br /><img class="twitter-emoji" draggable="false" alt="🧵" src="https://abs-0.twimg.com/emoji/v2/72x72/1f9f5.png"/><img class="twitter-emoji" draggable="false" alt="🧵" src="https://abs-0.twimg.com/emoji/v2/72x72/1f9f5.png"/><img class="twitter-emoji" draggable="false" alt="🧵" src="https://abs-0.twimg.com/emoji/v2/72x72/1f9f5.png"/>Here's why it's a big deal. <img class="twitter-emoji" draggable="false" alt="⬇️" src="https://abs-0.twimg.com/emoji/v2/72x72/2b07.png"/><img class="twitter-emoji" draggable="false" alt="⬇️" src="https://abs-0.twimg.com/emoji/v2/72x72/2b07.png"/><img class="twitter-emoji" draggable="false" alt="⬇️" src="https://abs-0.twimg.com/emoji/v2/72x72/2b07.png"/>
      
      
       
    </div>
    
     <div class="twitter-footer">
          <a target="_blank" href="https://twitter.com/petejkim/status/1527027583254241280" style="margin-right:16px; display:flex;">
            <img alt="Like Icon" class="twitter-heart" src="https://paragraph.com/editor/twitter/heart.png">
            3,556
          </a>
          <a target="_blank" href="https://twitter.com/petejkim/status/1527027583254241280"><p>3:45 PM • May 18, 2022</p></a>
        </div>
    
  </div> 
  </div></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://hackmd.io/@s0lness/BJUb16Yo9">Random thoughts on Account Abstraction</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://mirror.xyz/plusminushalf.eth/MIThq8Ford5O3b0hDA4LR_tsRteDfazRfpVQXOR3Euk">The current state of Account Abstraction</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://community.starknet.io/t/starknet-account-abstraction-model-part-1/781">Starkware Discussion on AA P1</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://community.starknet.io/t/starknet-account-abstraction-model-part-2/839">Starkware Discussion on AA P2</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://vitalik.ca/general/2021/01/11/recovery.html">Why we need wide adoption of social recovery wallets</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://medium.com/1kxnetwork/wallets-91c7c3457578">Seedless Self-Custody: On MPC and Smart Contract Wallets</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://ethereum-magicians.org/t/erc-4337-account-abstraction-via-entry-point-contract-specification/7160/53">Using EIP-2535 Diamonds to implement the smart contract wallet for EIP-4337</a></p></li></ul>]]></content:encoded>
            <author>sevenxventures@newsletter.paragraph.com (SevenX Ventures)</author>
            <enclosure url="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/eea8d7031ccf3aef5a896837e4e4909528545fe05c6cf147b13d5d59084ab9a0.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[Decoding Intents: Revolutionizing Web3 User Experience and Orderflow in Blockchain]]></title>
            <link>https://paragraph.com/@sevenxventures/decoding-intents-revolutionizing-web3-user-experience-and-orderflow-in-blockchain</link>
            <guid>V9oWk4DSoDChWa8vCvFj</guid>
            <pubDate>Wed, 02 Aug 2023 10:24:53 GMT</pubDate>
            <description><![CDATA[By @Grace, Investor of SevenX Ventures Special thanks to Liesl and Simon from Essential, George from Flashbots, Anna and Alex from Cow Swap and Josh from Astria for incredibly valuable discussions, insights and feedback of this article.IntroductionAs web3 technology moves towards mass adoption, it is essential to ensure that users are able to navigate the complexities of the web3 jungle on their own. Unlike the early days of blockchain, where users had to decipher intricate technicalities, th...]]></description>
            <content:encoded><![CDATA[<p><em>By @Grace, Investor of SevenX Ventures</em></p><p><em>Special thanks to Liesl and Simon from Essential, George from Flashbots, Anna and Alex from Cow Swap and Josh from Astria for incredibly valuable discussions, insights and feedback of this article.</em></p><h2 id="h-introduction" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Introduction</h2><p>As web3 technology moves towards mass adoption, it is essential to ensure that users are able to navigate the complexities of the web3 jungle on their own. Unlike the early days of blockchain, where users had to decipher intricate technicalities, the future lies in providing a user experience that guides and empowers users to interact seamlessly with decentralized systems. Taking cues from the evolution of web2, where user needs became increasingly expressive through search engines and chatbots like ChatGPT, web3 must deliver an easy-to-use yet powerful user experience.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/43bb9443cf8d2ec42ebc5070df0ccc6bae6251c5be72c8fd069cdbc38350aaa2.webp" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>Intent-driven interactions become the foundation of a user-friendly web3 experience. Although there are a bunch of definitions of intents, I prefer to break down intents into 3 pairs of keywords:</p><ul><li><p><strong>Outcome instead of path</strong>： users only need to express what they want and don&apos;t care about how the outcome is achieved</p></li><li><p><strong>Conditional Authorization instead of Code Authorization:</strong> when a user signs a blockchain tx, they are authorizing codes within the transaction the ability to execute arbitrary computations, modifying the state of the blockchain. In contrast, when a user approves an intent, they are authorizing releasing their assets and tips after being guaranteed that their desired outcome has been achieved (kind of like cash on delivery in online shopping)</p></li><li><p><strong>Competitive solver landscape instead of trusted dapps:</strong> In a tx-dominated world, users interact with the dapps they choose, and the dapps would act as the service provider to return the desired result, which is usually long-run and mainstream dapps like Uniswap. In an intent-dominated world, well-known or unknown solvers from both offchain and onchain can compete to achieve the intent for the user and get the bonus. From the principle of economy, more competition leads to more efficiency.</p></li></ul><p>To sum up, users can express their intent clearly and directly; platforms can leverage solvers and executors to find the best execution path to fulfill user goals. Just as in web2, where black boxes work behind the scenes to optimize results, web3 executors can utilize algorithms and automated processes to handle the complexities of execution, ensuring that users receive the desired outcomes efficiently and get paid.</p><p>By prioritizing user experience and focusing on expressive intent, web3 can usher in a new era where the power and potential of decentralized systems are accessible to all. The future of web3 lies in democratizing access, simplifying interactions, and delivering seamless user experiences that guide and extract users from the execution complexity through the decentralized landscape.</p><h1 id="h-exploring-different-types-of-intent-implementation" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Exploring Different Types of Intent Implementation</h1><p>Various types of intents can exist based on their generalization, as shown below;</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/353c17f905bd39de35aa2101e36840f7125f2d5a5e836edb36c0695c53bb81b4.webp" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>In fact, different levels of intents are everywhere because blockchain codes = sort of automation = extract away some complexity and return the desired outcome to users. However, we want the most general intent in the future, as AA+ intent-specific apps are not enough because they aren&apos;t functional in cross-domain and don&apos;t scale as effectively as intents with a more permissionless nature.</p><p>To understand how intent works, we can look at the currently available solutions, starting from intent-specific apps to general intent infrastructure like Anoma and SUAVE. The analysis would break down into 5 main parts with different questions to bear in mind:</p><ul><li><p><strong>Intent Expression and Authorization</strong>: How do users input their intents; what type of intents and what level of intents can users express; what authorization do users give?</p></li><li><p><strong>Solver Candidates</strong>: Is it permissioned or permissionless? Are there high barriers to becoming a solver? Are there different types of solvers focusing on other specific areas？</p></li><li><p><strong>Solving Process:</strong> What&apos;s the main path to solving the solution; What determines the completion of the intents?</p></li><li><p><strong>Solver Selection</strong>: what&apos;s the rule for selecting the winner from several solver candidates? Will the competition pattern be winner-takes-all or discrete?</p></li><li><p><strong>Validation and Settlement:</strong> How to check whether the solver has completed the task? How do the settlement between users and solvers?</p></li></ul><p>Here&apos;s a comprehensive overview of the current solutions. For more detailed information, delve into the remaining section.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/4e997cd464d8063447f63ad677025783702a1d84574e386c8b49b26e381bd408.webp" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><h2 id="h-cow-swap-and-1inch-fusionlimit-order-intent" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Cow Swap &amp; 1inch fusion（limit order intent）</h2><ul><li><p><strong>Intent Expression and Authorization</strong>:</p><ul><li><p>Traders on the Cow Swap and 1inch Fusion platforms express their intents by interacting with the platform&apos;s interfaces, providing clear instructions for the desired trades or limit orders.</p></li><li><p>In terms of authorization, traders sign off-chain messages or transactions to grant permission. They pay fees in the traded tokens instead of ETH for gas and have no cost if the trade doesn&apos;t execute.</p></li></ul></li><li><p><strong>Solver Candidates</strong>:</p><ul><li><p>In the case of 1inch Fusion, the solvers, known as resolvers, operate in a permissioned manner. They are required to register, undergo KYC processes, and maintain a sufficient balance to cover the order fee.</p></li><li><p>On the other hand, Cow Swap&apos;s solvers are either whitelisted by creating a bonding pool of 1M$ (USDC &amp; COW) or being included in the CoW DAO bonding pool or the Gnosis DAO Bonding pool and being whitelisted by the Cow DAO based on the DAO&apos;s criteria.</p></li></ul></li><li><p><strong>Solving Process:</strong></p><ul><li><p>Solvers evaluate the existing batch to identify any coincidence of wants (CoW) that can provide the best price for executing the trades or limit orders. They consider various factors such as liquidity, order book depth, and price slippage to ensure the best execution for the traders.</p></li><li><p>Additionally, solvers may explore other underlying on-chain automated market makers (AMMs) directly, such as Uniswap, or leverage DEX aggregators like 1inch to find the most favourable prices and routes.</p></li></ul></li><li><p><strong>Solver Selection</strong>:</p><ul><li><p>In Cow Swap, traders are executed at the best possible price determined by any external solvers using a batch auction, maximizing trader surplus. The solver providing the most optimal solution is selected.</p></li><li><p>In contrast, the resolver competition in 1inch Fusion is more restricted and related to the 1inch token staked using a Dutch auction.</p></li></ul></li><li><p><strong>Validation and Settlement:</strong></p><ul><li><p>The validation and settlement process occurs after the solvers execute the trades or limit orders. Solvers can move tokens on behalf of the users, utilizing the ERC20 approvals granted to the settlement contract. The settlement contract verifies the signature of the user&apos;s intent and ensures that the execution aligns with the specified limit price and quantity (enabled by EIP-1271). This validation confirms the successful completion of the intended trades or limit orders.</p></li><li><p>Once validated, the settlement contract facilitates the appropriate allocation of funds to the solvers and users involved in the transactions.</p></li></ul></li></ul><p><strong>Recently, Cow Swap just announced the launch of Cow Swap Hooks, which enable the execution of more generalized swap intents by <em>enabling custom-coded DeFi actions that execute directly before and/or after trades. It&apos;s great to see Uniswap v4 and Cow Swap are pushing their boundaries to more generalized intent activities and bringing us a new world of defi intents!</em></strong></p><h2 id="h-uniswapxswap-intents" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">UniswapX（Swap Intents)</h2><p>UniswapX&apos;s new features can be divided into 2 main parts:</p><ul><li><p>Signed orders with a Dutch auction mechanism</p></li><li><p>Cross-chain Swaps</p></li></ul><p>The signed orders with the Dutch auction are similar to 1inch Fusion and Cow Swap&apos;s limit order intents with the following differences:</p><ul><li><p><strong>Intent Expression and Authorization</strong>: users have more freedom (also might bring more complexity) to define parameters, including the decay function for the auction, the initial Dutch order price, etc.</p></li><li><p><strong>Solver Candidates</strong>: permissionless instead of permissioned (can also be set permissioned by users);</p></li><li><p><strong>Solver Selection</strong>:</p><ul><li><p>Dutch order which executes at a price that depends on the time of its inclusion in a block. The order starts at a price estimated to be better for the swapper than the current market price — for example, if the current market price is 1,000 USDC per ETH, a sell order may start at 1,050 USDC per ETH. The order’s price then decays until it hits the worst price the swapper would accept (e.g. 995 USDC per ETH). Fillers are incentivized to fill an order as soon as it is profitable for them to do so. If they wait too long, they risk losing the order to another filler willing to take a smaller profit.</p></li><li><p>UniswapX also enables including RFQ (allows orders to specify a filler that receives the exclusive right to fill the order for a brief duration) for initial Dutch price setting, in which case the selection process would be almost the same as 1inch Fusion&apos;s auction method.</p></li><li><p>Cow Swap is more of a batch auction compared to UniswapX and 1inch&apos;s independent auction, which enables combining orders and matching CoWs.</p></li></ul></li><li><p><strong>Solving Process and Validation and Settlement</strong> are similar to Cow Swap and 1inch (more details are shown in the chart)</p></li></ul><p>Cross-chain swaps can be achieved through similar processes with main differences in validation and settlement to enable multi-domain swaps:</p><ul><li><p>Solvers need to deposit more bond assets on the original chain to ensure safety and enable optimistic cross-chain protocols</p></li><li><p>Needs an additional settlement oracle to feed into the origin chain&apos;s validation contract</p></li><li><p>Needs UniswapX to deploy corresponding settle and validation contracts on different domains</p></li></ul><h2 id="h-account-abstraction-wallet-level-intent" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Account Abstraction (Wallet-level Intent)</h2><ul><li><p><strong>Intent Expression and Authorization</strong>:</p><ul><li><p>The process of intent expression and authorization begins when a wallet owner wants to perform a specific action. They craft a userop, typically through a 4337 wallet interface, to express their intent.</p></li><li><p>Off-chain, the wallet owner requests a bundler to handle the userop on their behalf, authorizing limited control according to the intent. For example, the wallet owner may authorize the private key to be able to transact from your main account, but ONLY with Dapp XYZ&apos;s hub contract.</p></li></ul></li><li><p><strong>Solver Candidates</strong>:</p><ul><li><p>Bundler services are considered public goods in the AA framework. The majority of Bundlers are open-source, which makes them non-excludable and non-competitive. Any RPC endpoint can replicate the open-source code and operate as a Bundler. Even when a Bundler RPC endpoint charges fees for its services, it can do so through API keys while still maintaining the non-excludable nature of the Bundler as a public good.</p></li><li><p>Two main types of bundlers: Bundler services purpose-built for wallets, catering to their basic needs &amp; third-party infrastructure providers aiming to construct permissionless and modular Bundlers</p></li></ul></li><li><p><strong>Solving Process:</strong></p><ul><li><p>Bundlers simulate the wallet&apos;s validateOp method on the userop to determine whether to accept or reject it offchain. Then, they send the transactions to the entry point of the AA system to call the handleOp method. This process also involves bundling multiple userops together to optimize gas and extract MEV.</p></li><li><p>The entry points contract would push the operation on the chain, and the chain node would validate the operation and get it into consensus.</p></li></ul></li><li><p><strong>Solver Selection</strong>:</p><ul><li><p>The selection of solvers in AA depends on various factors. The wallet used by the account owner might provide bundler service or use third-party infra, and users might also switch rpc endpoint to select a favoured bundler, in which case the success rate and reputation of the bundlers may influence their selection.</p></li></ul></li><li><p><strong>Validation and Settlement:</strong></p><ul><li><p>The AA system&apos;s entry point validates and settles the operation on-chain. It ensures that the userop meets the requirements and security checks before executing the desired action. Once the operation is successfully executed, the entry point refunds ETH to the bundler from the wallet&apos;s deposited funds. This refund mechanism compensates the bundler for their work and prepayment.</p></li></ul></li></ul><h2 id="h-essentialintent-centric-account-abstraction-standard" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Essential（Intent-Centric Account Abstraction Standard)</h2><p>*Note that the Essential is still in an early stage; part of the descriptions and designs might evolve over time. For more info, keep an eye on Essential&apos;s website: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://essential.builders/">https://essential.builders/</a></p><p><em>Essential： In the short term, it would be an asset-based intent standard（similar to the erc-4337 model but enables more generalized intents) with a set of facilitated infra. In the long term, it would also provide a modular intent layer and a new constrained-based language that casts off the constraints of Ethereum architecture and provides better intent executions.</em></p><ul><li><p><strong>Intent Expression and Authorization</strong>:</p><ul><li><p>Dapps or wallets adapting Essential standards can provide related intent-enabled service to users and extract the underlying complexity away. Users only need to interact with the interface and make authorization.</p></li><li><p>Intents can be expressed in Essential&apos;s standard in ST and more generally in LT using its <em>new constrained-based language.</em></p></li><li><p>Compatible with EVM chains and no need to bridge funds</p></li></ul></li><li><p><strong>Solver Candidates</strong>:</p><ul><li><p>Essential enables code-expressive intents; various kinds of solvers can join the Essential network to solve corresponding types of intents, such as Cow Swap solvers for swap intents or builders for monitoring and executing chain-state-related intents.</p></li><li><p>A network of solvers would monitor the intents and try to achieve them. Essentials is considering existing solvers/bundlers (e.g. from CoW Protocol or 4337), current MEV searchers and market makers.</p></li></ul></li><li><p><strong>Solving Process:</strong></p><ul><li><p>Solvers figure out the constraint environment they&apos;re solving in and then use offchain and onchain venues to try to solve these constraint-based intents</p></li></ul></li><li><p><strong>Solver Selection</strong>:</p><ul><li><p>The selection process is more like a Dutch auction in which users specify the constraint while solvers decide when they jump in to satisfy the intent based on the value they can extract from the satisfaction. The first solver to jump in and solve the intent will be the selected solver and likely the best solution that the market can bear then.</p></li></ul></li><li><p><strong>Validation and Settlement:</strong></p><ul><li><p>The validation and settlement both happened by solvers triggering the specific onchain smart contract to verify and split payments. There will be a core contract to which all solutions and all intents and solutions are submitted and extensible with the Essential standards.</p></li></ul></li></ul><h2 id="h-flashbots-suave-multi-domain-block-related-intent" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Flashbots SUAVE (Multi-domain Block-related Intent)</h2><p>*Note that SUAVE is still under development; part of the mechanism described below might change.</p><p>Compared to the settlement of intents through smart contracts as seen in the previous examples, SUAVE takes a specialized approach by utilizing a dedicated chain for settlement purposes, which also serves as a messaging layer.</p><p>In contrast to Account Abstraction (AA) and intent-specific applications, SUAVE introduces an additional step of bridging funds to the SUAVE chain. This step is primarily driven by SUAVE&apos;s multi-chain capability and the desire for more cost-efficient, privacy-enabled transactions.</p><p><em>SUAVE just announced the launch of MEVM, a powerful modification of the EVM with new precompiles for MEV use cases. With MEVM, SUAVE chain would first efficiently serve MEV-related players like searchers, builders and other domains that want to capture MEV.</em></p><ul><li><p><strong>Intent Expression and Authorization</strong>:</p><ul><li><p>SUAVE users express their intents in SUAVE by writing EVM codes. These codes outline the desired outcome and functionalities they wish to execute by defining a list of contracts allowing access to the user’s confidential data. There might be some usable templates for normie users.</p></li><li><p>With MEVM, developers can deploy different types of smart contracts for specific MEV applications (e.g. OFA, block building, etc.) or new types of DEXes on SUAVE to be called by other users.</p></li><li><p>Users bridge funds to the SUAVE chain and deposit tips.</p></li></ul></li><li><p><strong>Solver Candidates</strong>:</p><ul><li><p>The primary participants acting as solvers in SUAVE might be searchers and builders. Searchers and other solvers are responsible for exploring and discovering potential solutions to fulfil user intents, while builders focus on implementing these solutions. They work together to form a robust ecosystem that solves the intents expressed by users.</p></li><li><p>To fulfil different domains&apos; block-related intents, many types of solvers skilled at different domains may exist to support different VMs.</p></li></ul></li><li><p><strong>Solving Process:</strong></p><ul><li><p>Solvers do credible and private off-chain computations that can be used in smart contracts on SUAVE through special precompiles in TEE environments.</p></li><li><p>Solvers collectively work on building blocks that contain a bundle of intents. The purpose of block building is to aggregate and organize the intents into valuable blocks that can be proposed to the network.</p></li></ul></li><li><p><strong>Solver Selection</strong>:</p><ul><li><p>In SUAVE, the selection of solvers follows two main approaches. Firstly, solvers who complete the intended tasks first are typically chosen. This incentivizes efficiency and promptness in delivering solutions. Alternatively, an order flow auction mechanism can be implemented, where solvers bid back to users, returning part of the orderflow value to users.</p></li></ul></li><li><p><strong>Validation and Settlement:</strong></p><ul><li><p>To ensure the validity of intents and settle transactions, SUAVE employs oracles and SUAVE validators. Oracles provide external data to validate the execution of intents, while SUAVE validators validate and settle the intents on the SUAVE chain.</p></li></ul></li></ul><h2 id="h-anoma-generalized-intent-for-anoma-protocols" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Anoma (Generalized Intent for Anoma Protocols)</h2><p>Anoma is a general architecture similar to Cosmos and is preparing to launch an IBC-enabled Layer 1 Proof-of-Stake (PoS) chain. It combines intent-centric design with a homogeneous protocol powered by the Anoma Virtual Machine (VM), while also offering heterogeneous security features (different Anoma protocols have different consensus mechanisms).</p><ul><li><p><strong>Intent Expression and Authorization</strong>:</p><ul><li><p>Users express their intents defining the final State or the properties it should have by interacting with Anoma DApps.</p></li></ul></li><li><p><strong>Solver Candidates</strong>:</p><ul><li><p>Anoma welcomes a diverse range of solvers, each specializing in different types of applications. These solvers monitor the mempools that align with their interests and objectives. Depending on their specific focus, they observe either all intents or a subset of intents.</p></li></ul></li><li><p><strong>Solving Process:</strong></p><ul><li><p>The solvers run solver algorithms that utilize their expertise in areas such as fungible token (FT) trading or computing rollup states.</p></li><li><p>Matching intents is also taken care of by solvers. Solvers take intents and make partially or fully matched transactions. Solvers determine what/when to match, what to charge for partial solving, and how to deal with surplus.</p></li><li><p>Once a solver forms a fully balanced transaction, they submit it to a mempool node which is part of the Anoma ecosystem.</p></li></ul></li><li><p><strong>Solver Selection</strong>:</p><ul><li><p>The selection can be influenced by the solver&apos;s ability to complete tasks efficiently and promptly, following a first-come, first-served approach where the solver who completes the task first is chosen.</p></li></ul></li><li><p><strong>Validation and Settlement:</strong></p><ul><li><p>Validators from different Anoma protocols run Anoma Vm to finish execution and verification of intents. The Anoma VM ensures the integrity and validity of intent execution by checking all relevant Validity Predicates (declarative smart contracts) are satisfied.</p></li><li><p>The distribution of funds and rewards to solvers is based on the execution and verification of intents by the Anoma VM.</p></li></ul></li></ul><h1 id="h-how-intent-revolutionizes-the-orderflow-pattern" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">How intent revolutionizes the orderflow pattern</h1><p>In the current transaction orderflow state, users must navigate the execution paths themselves, resulting in a relatively simple tx orderflow (as shown in the picture)</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/036125f3d56459c96909ca5b61b2d8a0dc30c1b7aef8e7231fc063e22cecbe53.webp" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>However, envisioning a future where the web3 ecosystem embraces an intent-centric approach, the orderflow of intents could become more intricate. In this new paradigm, users would be free to express their intents and delegate the complexity to a new role called solvers.</p><p>Before diving in, I would like to summarize 2 trends in the intent world:</p><ul><li><p>Leading dapps focusing on specific types of intents like Uniswap and Cow Swap are expanding intent features by involving solvers themselves.</p></li><li><p>For more generalized intents, we need relatively new architecture, including a new intent language, a new VM, etc. Essential, Flashbots and Anoma are working toward this direction.</p></li></ul><p>In this scenario, different types of intents might be served by specific platforms or protocols. For instance, swap intents may be handled by UniswapX and Cow Swap; intents with single-domain and wallet-related features could be handled by Account Abstraction (AA) wallets or essential-compatible dapps and wallets; platforms like SUAVE and Anoma might address more generalized and multi-domain intents.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/fc729c4df1a6cba3656873524c24eb6da085aba9f2da8295c6ddbffbd49f736d.webp" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>Within this new world, the orderflow of intents could follow a more complex path. Let&apos;s explore a possible orderflow:</p><ol><li><p><strong>User express intents, deposit funds and authorize</strong></p><ol><li><p>Intents are very expressive; normie users might need help translating their intents into codes. This can be achieved by dapps/wallets extracting this part away by providing a user-friendly interface, or there might be an aggregator providing a universal interface for expressing any intents like Google search with the help of AI.</p></li></ol></li><li><p><strong>Intents sent to related intent mempool</strong></p><ol><li><p>Note that Anoma can have several mempools serving different types of intents and trusted by different dapps or protocols.</p></li></ol></li><li><p><strong>Solvers simulate offchain and compete to solve the intents</strong>.</p><ol><li><p>In the SUAVE ecosystem, solvers possess both solving capabilities and block-building abilities. Some intents involve solving cross-chain tasks by building blocks, such as cross-chain MEV operations. Skilled block builders have an advantage in building valuable blocks and completing tasks faster. Other intents may primarily require algorithmic expertise, such as optimizing liquidity aggregation across multiple chains. These intents may rely on type-specific solvers rather than extensive block building capabilities.</p></li><li><p>In the AA ecosystem, bundlers perform simulation and bundling tasks. The bundled intents are then either sent to the public mempool for searchers to unbundle and potentially front-run, or directly sent to trusted builders. In the early stages, small-volume bundles may be more efficient to be privately sent to trusted builders to avoid potential loss. As 4337 wallets and other players with sufficient orderflow volume enter the market, they can operate as bundlers like searchers.</p></li></ol></li><li><p><strong>Validate the completion of intents</strong></p><ol><li><p>Presently, various validation methods exist, each with its own set of trade-offs. Using smart contracts for validation, while reliable, often lacks scalability as different intents require specific validation logic and codes.</p></li><li><p>Relying on oracles for validation introduces risks associated with oracles, yet offers the advantage of seamless integration with multiple chains.</p></li><li><p>Leveraging the Anoma VM requires intent applications to adopt the Anoma framework but provides the capability to validate a wide range of intents.</p></li></ol></li></ol><p>In summary, in an intent-centric world, the orderflow is different to the tx-centric world:</p><ul><li><p>Users sign and authorize tx vs Users have more options to express their intents.</p></li><li><p>Single mempool vs Multiple mempools for different purposes exist.</p></li><li><p>Dapps is responsible for the execution vs A new role called solvers opt-in and competes to solve the problems.</p></li><li><p>Settle on different chains one by one vs Several chains involved can be settled together (new types of cross-domain executions)</p></li></ul><h1 id="h-the-ripple-effects-of-intents-on-the-rest-of-the-web3-world" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">The Ripple Effects of Intents on the Rest of the Web3 World</h1><p>An intent-powered world involves a lot of web3 participants. Let&apos;s get a rough look at the intent-factory landscape.</p><p><em>Note that this is just a rough landscape. As intents evolve gradually, more parties can participate in this new world. For example, shared sequencers like Astria and Espresso can give users quicker preconfirmations in terms of multi-domain intent executions.</em></p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/4ba1044b7e832e122c117f27689b943730fe46718e236101d9beeb82ffe83668.webp" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><ul><li><p><strong>Upstream</strong></p><ul><li><p>Chains</p><ul><li><p>New chains like SUAVE can facilitate more frequent and cost-effective intent settlement.</p></li><li><p>Anoma-structured chains support new virtual machines that solve the intent validation problem efficiently and generally.</p></li><li><p>Layer 2 or more scalable chains are suitable for performing inexpensive computations related to intent logic expression, validation, and settlement, as intents tend to be computationally intensive due to their expressive nature.</p></li></ul></li><li><p>Privacy</p><ul><li><p>Privacy is crucial in the intent world to prevent malicious MEV problems such as frontrunning and enables more orderflow value being bid back to users/dapps. Additionally, incorporating privacy features can support intents that require enhanced privacy.</p></li><li><p>SUAVE adopts SGX as a short-term solution, while Anoma supports zero-knowledge proofs (zk) and Distributed Key Generation (DKG) encryption.</p></li></ul></li><li><p>Oracle</p><ul><li><p>Oracles now have additional functionality: assisting in validating the fulfilment status of intents.</p></li></ul></li><li><p>Intent-related Standard</p><ul><li><p>A general standard helps to reduce the fragmentation problems brought by different types of intents; Solvers can find it easier to integrate with different intent-enabled apps; Dapps and developers easier to expand to intent systems;</p></li><li><p>Avoid reinventing the wheels for common intent infrastructure.</p></li></ul></li></ul></li><li><p><strong>Midstream（Potential Solvers）</strong></p><ul><li><p>Type-specific solvers like routers for CoW Swap and 1inch, eg, Propeller Heads, and market makers have accumulated large liquidity networks and advanced routing algos, outperforming other solvers and possibly receiving part of exclusive orders directly from swappers.</p></li><li><p>Builders:</p><ul><li><p>Builders play a significant role as solvers, especially in the final settlement process involving different chains. Experienced builders can easily fulfil this responsibility.</p></li></ul></li><li><p>Searchers:</p><ul><li><p>Searchers possess expertise in routing and advanced algorithms, making them valuable for solving intents related to finding optimal solutions or accessing liquidity.</p></li></ul></li></ul></li><li><p><strong>Downstream</strong></p><ul><li><p>Intents have a broad impact on various dapps:</p><ul><li><p>Enhanced user-friendliness leads to mass adoption.</p></li></ul></li><li><p>Increased involvement of multiple parties results in more off-chain components, improving efficiency and flexibility.</p><ul><li><p>Dapps can expand to provide more functionalities and features by incorporating intent solvers to incorporate more complex functions.</p></li><li><p>For example, in DeFi, intents can emulate atomicity in a cross-chain environment by involving a third party, the solvers, to execute the intent. Solvers take on the risk of failure, enabling a new realm of cross-domain DeFi.</p></li></ul></li><li><p>More interactions and user instructions lead to the development of complex dapps.</p><ul><li><p>For example, in GameFi, users now have greater options for gameplay:</p><ul><li><p>Customized game strategies: Intents allow players to define and execute custom game strategies. They can express their game objectives and actions in their way and have solvers execute these intents within the game. This provides players with more freedom and control.</p></li><li><p>Support for economic systems: Through intents, players can participate in in-game economic systems such as trading game assets, providing liquidity, or engaging in lending. By expressing their intents, they can perform financial operations similar to DeFi within the game and earn economic rewards.</p></li></ul></li></ul></li></ul></li></ul><h1 id="h-ending" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Ending</h1><p>As I conclude this article, I notice the striking similarity between the philosophy of intents and rollups: executing off-chain and final settlement and validation on-chain. With the explosive growth of the rollup ecosystem, we are also now witnessing the explosive growth of intents, with dapps becoming more and more expressive and many projects developing intent-specific language and standards.</p><p>However, I want to draw attention to the potential centralization issues that may arise with intents. Just as we&apos;ve witnessed in the case of private mempools and private order flows, players capable of handling complex user intents and providing a more efficient and user-friendly experience may stand out and attract more private intent order flow, resulting in better execution and increased order flow.</p><p>In addition, how intent players could start to involve solvers to efficiently fulfil the intents for users is a practical problem. For example, with current low-volume AA transactions, bundlers or builders do not have enough motivation to spend additional energy and time to provide a new tranche of service. This problem could also exist for more expressive intents.</p><p>In conclusion, the world of intents holds immense potential and transformative power. We must navigate the path forward, balancing innovation, decentralization, and user empowerment. Let&apos;s embrace this exciting journey and work together to unlock the full potential of intents！</p><h1 id="h-reference" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Reference</h1><div data-type="twitter" tweetId="1666818728779210760" tweetData="{&quot;__typename&quot;:&quot;Tweet&quot;,&quot;in_reply_to_screen_name&quot;:&quot;askyveth&quot;,&quot;in_reply_to_status_id_str&quot;:&quot;1666727212253413379&quot;,&quot;in_reply_to_user_id_str&quot;:&quot;1491442255265034240&quot;,&quot;lang&quot;:&quot;en&quot;,&quot;favorite_count&quot;:1,&quot;created_at&quot;:&quot;2023-06-08T14:45:27.000Z&quot;,&quot;display_text_range&quot;:[0,203],&quot;entities&quot;:{&quot;hashtags&quot;:[],&quot;urls&quot;:[],&quot;user_mentions&quot;:[],&quot;symbols&quot;:[]},&quot;id_str&quot;:&quot;1666818728779210760&quot;,&quot;text&quot;:&quot;For a while, both public mempool for transactions and for UserOps will exist and work together. This means bundlers will work like searchers and cooperate with block builders until AA becomes mainstream.&quot;,&quot;user&quot;:{&quot;id_str&quot;:&quot;1491442255265034240&quot;,&quot;name&quot;:&quot;askyv&quot;,&quot;screen_name&quot;:&quot;askyveth&quot;,&quot;is_blue_verified&quot;:false,&quot;profile_image_shape&quot;:&quot;Circle&quot;,&quot;verified&quot;:false,&quot;profile_image_url_https&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/bf73b75b6906030daf5b6ea651ee7dd54984d06e1620823a2a9f21d82b5a8177.jpg&quot;},&quot;edit_control&quot;:{&quot;edit_tweet_ids&quot;:[&quot;1666818728779210760&quot;],&quot;editable_until_msecs&quot;:&quot;1686239127000&quot;,&quot;is_edit_eligible&quot;:false,&quot;edits_remaining&quot;:&quot;5&quot;},&quot;conversation_count&quot;:1,&quot;news_action_type&quot;:&quot;conversation&quot;,&quot;parent&quot;:{&quot;in_reply_to_screen_name&quot;:&quot;askyveth&quot;,&quot;in_reply_to_status_id_str&quot;:&quot;1666719199249543168&quot;,&quot;in_reply_to_user_id_str&quot;:&quot;1491442255265034240&quot;,&quot;lang&quot;:&quot;en&quot;,&quot;reply_count&quot;:1,&quot;retweet_count&quot;:0,&quot;favorite_count&quot;:2,&quot;created_at&quot;:&quot;2023-06-08T08:41:48.000Z&quot;,&quot;display_text_range&quot;:[0,203],&quot;entities&quot;:{&quot;hashtags&quot;:[],&quot;urls&quot;:[],&quot;user_mentions&quot;:[],&quot;symbols&quot;:[]},&quot;id_str&quot;:&quot;1666727212253413379&quot;,&quot;text&quot;:&quot;In the future, when 99% of intents execute by UserOp, the role of the bundler will be the same as the block builder. At that time, we definitely need a public mempool for UserOp.\n\nBut when is the \&quot;when\&quot;?&quot;,&quot;user&quot;:{&quot;id_str&quot;:&quot;1491442255265034240&quot;,&quot;name&quot;:&quot;askyv&quot;,&quot;screen_name&quot;:&quot;askyveth&quot;,&quot;is_blue_verified&quot;:false,&quot;profile_image_shape&quot;:&quot;Circle&quot;,&quot;verified&quot;:false,&quot;profile_image_url_https&quot;:&quot;https://pbs.twimg.com/profile_images/1705272907067531264/Qpbs5pl6_normal.jpg&quot;},&quot;edit_control&quot;:{&quot;edit_tweet_ids&quot;:[&quot;1666727212253413379&quot;],&quot;editable_until_msecs&quot;:&quot;1686217308000&quot;,&quot;is_edit_eligible&quot;:false,&quot;edits_remaining&quot;:&quot;5&quot;},&quot;isEdited&quot;:false,&quot;isStaleEdit&quot;:false},&quot;isEdited&quot;:false,&quot;isStaleEdit&quot;:false}"> 
  <div class="twitter-embed embed">
    <div class="twitter-header">
        <div style="display:flex">
          <a target="_blank" href="https://twitter.com/askyveth">
              <img alt="User Avatar" class="twitter-avatar" src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/bf73b75b6906030daf5b6ea651ee7dd54984d06e1620823a2a9f21d82b5a8177.jpg" />
            </a>
            <div style="margin-left:4px;margin-right:auto;line-height:1.2;">
              <a target="_blank" href="https://twitter.com/askyveth" class="twitter-displayname">askyv</a>
              <p><a target="_blank" href="https://twitter.com/askyveth" class="twitter-username">@askyveth</a></p>
    
            </div>
            <a href="https://twitter.com/askyveth/status/1666818728779210760" target="_blank">
              <img alt="Twitter Logo" class="twitter-logo" src="https://paragraph.com/editor/twitter/logo.png" />
            </a>
          </div>
        </div>
      
    <div class="twitter-body">
      For a while, both public mempool for transactions and for UserOps will exist and work together. This means bundlers will work like searchers and cooperate with block builders until AA becomes mainstream.
      
      
       
    </div>
    
     <div class="twitter-footer">
          <a target="_blank" href="https://twitter.com/askyveth/status/1666818728779210760" style="margin-right:16px; display:flex;">
            <img alt="Like Icon" class="twitter-heart" src="https://paragraph.com/editor/twitter/heart.png">
            1
          </a>
          <a target="_blank" href="https://twitter.com/askyveth/status/1666818728779210760"><p>9:45 AM • Jun 8, 2023</p></a>
        </div>
    
  </div> 
  </div><div data-type="embedly" src="https://www.chainfeeds.xyz/feed/detail/57b521e1-d651-4e76-86cb-6a68690cbebd" data="{&quot;provider_url&quot;:&quot;https://www.chainfeeds.xyz&quot;,&quot;description&quot;:&quot;Discover Web3 Trends&quot;,&quot;title&quot;:&quot;ChainFeeds&quot;,&quot;url&quot;:&quot;https://www.chainfeeds.xyz/feed/detail/57b521e1-d651-4e76-86cb-6a68690cbebd&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Chainfeeds&quot;,&quot;type&quot;:&quot;link&quot;}" format="small"><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://www.chainfeeds.xyz/feed/detail/57b521e1-d651-4e76-86cb-6a68690cbebd" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>ChainFeeds</h2><p>Discover Web3 Trends</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://www.chainfeeds.xyz</span></div></div></a></div></div><div data-type="twitter" tweetId="1660968015616253955" tweetData="{&quot;__typename&quot;:&quot;Tweet&quot;,&quot;lang&quot;:&quot;en&quot;,&quot;favorite_count&quot;:25,&quot;created_at&quot;:&quot;2023-05-23T11:16:48.000Z&quot;,&quot;display_text_range&quot;:[0,205],&quot;entities&quot;:{&quot;hashtags&quot;:[],&quot;urls&quot;:[],&quot;user_mentions&quot;:[{&quot;id_str&quot;:&quot;412148596&quot;,&quot;indices&quot;:[13,23],&quot;name&quot;:&quot;Anna Rose&quot;,&quot;screen_name&quot;:&quot;annaRrose&quot;},{&quot;id_str&quot;:&quot;720640635376676864&quot;,&quot;indices&quot;:[24,31],&quot;name&quot;:&quot;Christopher Goes&quot;,&quot;screen_name&quot;:&quot;cwgoes&quot;},{&quot;id_str&quot;:&quot;3044877466&quot;,&quot;indices&quot;:[32,42],&quot;name&quot;:&quot;awa&quot;,&quot;screen_name&quot;:&quot;awasunyin&quot;},{&quot;id_str&quot;:&quot;710918376&quot;,&quot;indices&quot;:[56,65],&quot;name&quot;:&quot;ACG&quot;,&quot;screen_name&quot;:&quot;cangurel&quot;}],&quot;symbols&quot;:[]},&quot;id_str&quot;:&quot;1660968015616253955&quot;,&quot;text&quot;:&quot;Thank you to @annaRrose @cwgoes @awasunyin @taurnchitra @cangurel @vveilen for insights, suggestions, and conversation around the topics discussed in this article.\n\nBelow I’ll break down Taiga in a thread.&quot;,&quot;user&quot;:{&quot;id_str&quot;:&quot;38163409&quot;,&quot;name&quot;:&quot;apriori&quot;,&quot;screen_name&quot;:&quot;apriori0x&quot;,&quot;is_blue_verified&quot;:true,&quot;profile_image_shape&quot;:&quot;Circle&quot;,&quot;verified&quot;:false,&quot;profile_image_url_https&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/85b74688ddbe8442b974921db8316976aca37bcb89a1158820511c20467d1c56.jpg&quot;},&quot;edit_control&quot;:{&quot;edit_tweet_ids&quot;:[&quot;1660968015616253955&quot;],&quot;editable_until_msecs&quot;:&quot;1684842408000&quot;,&quot;is_edit_eligible&quot;:false,&quot;edits_remaining&quot;:&quot;5&quot;},&quot;conversation_count&quot;:4,&quot;news_action_type&quot;:&quot;conversation&quot;,&quot;quoted_tweet&quot;:{&quot;in_reply_to_screen_name&quot;:&quot;zkv_xyz&quot;,&quot;in_reply_to_status_id_str&quot;:&quot;1660707468349931520&quot;,&quot;in_reply_to_user_id_str&quot;:&quot;1334473218535661571&quot;,&quot;lang&quot;:&quot;en&quot;,&quot;reply_count&quot;:1,&quot;retweet_count&quot;:16,&quot;favorite_count&quot;:46,&quot;possibly_sensitive&quot;:false,&quot;created_at&quot;:&quot;2023-05-22T18:01:29.000Z&quot;,&quot;display_text_range&quot;:[0,244],&quot;entities&quot;:{&quot;hashtags&quot;:[],&quot;urls&quot;:[{&quot;display_url&quot;:&quot;mtr.cool/wfvtszqvoe&quot;,&quot;expanded_url&quot;:&quot;https://mtr.cool/wfvtszqvoe&quot;,&quot;indices&quot;:[221,244],&quot;url&quot;:&quot;https://t.co/RJZ27lb5Hs&quot;}],&quot;user_mentions&quot;:[{&quot;id_str&quot;:&quot;38163409&quot;,&quot;indices&quot;:[26,36],&quot;name&quot;:&quot;apriori&quot;,&quot;screen_name&quot;:&quot;apriori0x&quot;},{&quot;id_str&quot;:&quot;1500774861064523781&quot;,&quot;indices&quot;:[163,170],&quot;name&quot;:&quot;Namada&quot;,&quot;screen_name&quot;:&quot;namada&quot;},{&quot;id_str&quot;:&quot;1384607494442344456&quot;,&quot;indices&quot;:[172,185],&quot;name&quot;:&quot;Penumbra 🌘&quot;,&quot;screen_name&quot;:&quot;penumbrazone&quot;},{&quot;id_str&quot;:&quot;1320014406621843457&quot;,&quot;indices&quot;:[194,200],&quot;name&quot;:&quot;Anoma&quot;,&quot;screen_name&quot;:&quot;anoma&quot;}],&quot;symbols&quot;:[]},&quot;id_str&quot;:&quot;1660707469578891264&quot;,&quot;text&quot;:&quot;Amidst these constraints, @apriori0x took a look at the solutions emerging in the privacy design space by examining the data and function privacy architectures of @namada, @penumbrazone, Taiga (@anoma), ZEXE &amp;amp; SGX. \n\nhttps://t.co/RJZ27lb5Hs&quot;,&quot;user&quot;:{&quot;id_str&quot;:&quot;1334473218535661571&quot;,&quot;name&quot;:&quot;ZKV&quot;,&quot;screen_name&quot;:&quot;zkv_xyz&quot;,&quot;is_blue_verified&quot;:true,&quot;profile_image_shape&quot;:&quot;Circle&quot;,&quot;verified&quot;:false,&quot;profile_image_url_https&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/b3de1a8387b601152c102877ff2bf5be5ef8b2e1a6d7d78e860a448e2c51e9c0.jpg&quot;},&quot;edit_control&quot;:{&quot;edit_tweet_ids&quot;:[&quot;1660707469578891264&quot;],&quot;editable_until_msecs&quot;:&quot;1684780289000&quot;,&quot;is_edit_eligible&quot;:false,&quot;edits_remaining&quot;:&quot;5&quot;},&quot;isEdited&quot;:false,&quot;isStaleEdit&quot;:false},&quot;isEdited&quot;:false,&quot;isStaleEdit&quot;:false}"> 
  <div class="twitter-embed embed">
    <div class="twitter-header">
        <div style="display:flex">
          <a target="_blank" href="https://twitter.com/apriori0x">
              <img alt="User Avatar" class="twitter-avatar" src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/85b74688ddbe8442b974921db8316976aca37bcb89a1158820511c20467d1c56.jpg" />
            </a>
            <div style="margin-left:4px;margin-right:auto;line-height:1.2;">
              <a target="_blank" href="https://twitter.com/apriori0x" class="twitter-displayname">apriori</a>
              <p><a target="_blank" href="https://twitter.com/apriori0x" class="twitter-username">@apriori0x</a></p>
    
            </div>
            <a href="https://twitter.com/apriori0x/status/1660968015616253955" target="_blank">
              <img alt="Twitter Logo" class="twitter-logo" src="https://paragraph.com/editor/twitter/logo.png" />
            </a>
          </div>
        </div>
      
    <div class="twitter-body">
      Thank you to <a class="twitter-content-link"  href="https://twitter.com/annaRrose" target="_blank">@annaRrose</a> <a class="twitter-content-link"  href="https://twitter.com/cwgoes" target="_blank">@cwgoes</a> <a class="twitter-content-link"  href="https://twitter.com/awasunyin" target="_blank">@awasunyin</a> @taurnchitra <a class="twitter-content-link"  href="https://twitter.com/cangurel" target="_blank">@cangurel</a> @vveilen for insights, suggestions, and conversation around the topics discussed in this article.<br /><br />Below I’ll break down Taiga in a thread.
      
      
      <div class="twitter-quoted">
        
  <div class="twitter-quoted twitter-embed">
    <div class="twitter-header">
        <div style="display:flex">
          <a target="_blank" href="https://twitter.com/zkv_xyz">
              <img alt="User Avatar" class="twitter-avatar" src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/b3de1a8387b601152c102877ff2bf5be5ef8b2e1a6d7d78e860a448e2c51e9c0.jpg" />
            </a>
            <div style="margin-left:4px;margin-right:auto;line-height:1.2;">
              <a target="_blank" href="https://twitter.com/zkv_xyz" class="twitter-displayname">ZKV</a>
              <p><a target="_blank" href="https://twitter.com/zkv_xyz" class="twitter-username">@zkv_xyz</a></p>
    
            </div>
            <a href="https://twitter.com/zkv_xyz/status/1660707469578891264" target="_blank">
              <img alt="Twitter Logo" class="twitter-logo" src="https://paragraph.com/editor/twitter/logo.png" />
            </a>
          </div>
        </div>
      
    <div class="twitter-body">
      Amidst these constraints, <a class="twitter-content-link"  href="https://twitter.com/apriori0x" target="_blank">@apriori0x</a> took a look at the solutions emerging in the privacy design space by examining the data and function privacy architectures of <a class="twitter-content-link"  href="https://twitter.com/namada" target="_blank">@namada</a>, <a class="twitter-content-link"  href="https://twitter.com/penumbrazone" target="_blank">@penumbrazone</a>, Taiga (<a class="twitter-content-link"  href="https://twitter.com/anoma" target="_blank">@anoma</a>), ZEXE &amp; SGX. <br /><br /><a class="twitter-content-link" href="https://t.co/RJZ27lb5Hs" target="_blank">mtr.cool/wfvtszqvoe</a>
      
      
       
    </div>
    
  </div> 
  
    </div> 
    </div>
    
     <div class="twitter-footer">
          <a target="_blank" href="https://twitter.com/apriori0x/status/1660968015616253955" style="margin-right:16px; display:flex;">
            <img alt="Like Icon" class="twitter-heart" src="https://paragraph.com/editor/twitter/heart.png">
            25
          </a>
          <a target="_blank" href="https://twitter.com/apriori0x/status/1660968015616253955"><p>6:16 AM • May 23, 2023</p></a>
        </div>
    
  </div> 
  </div><div data-type="embedly" src="https://hackmd.io/@1ofB8klpQky-YoR5pmPXFQ/rJZUWFzP3" data="{&quot;provider_url&quot;:&quot;https://hackmd.io&quot;,&quot;description&quot;:&quot;Awesome Intent &amp; Preference Resources **TL;DR** Intent is a hot topic and everyone is talking&quot;,&quot;title&quot;:&quot;Awesome Intent &amp; Preference Resources - HackMD&quot;,&quot;thumbnail_width&quot;:1200,&quot;url&quot;:&quot;https://hackmd.io/@1ofB8klpQky-YoR5pmPXFQ/rJZUWFzP3&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/3e7aa935c37630d16759c1a59cc9abcc285ae99d709411aa59783767fc5bd430.jpg&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;HackMD&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:630,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:1200,&quot;height&quot;:630,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/3e7aa935c37630d16759c1a59cc9abcc285ae99d709411aa59783767fc5bd430.jpg&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/3e7aa935c37630d16759c1a59cc9abcc285ae99d709411aa59783767fc5bd430.jpg"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://hackmd.io/@1ofB8klpQky-YoR5pmPXFQ/rJZUWFzP3" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>Awesome Intent &amp; Preference Resources - HackMD</h2><p>Awesome Intent &amp; Preference Resources **TL;DR** Intent is a hot topic and everyone is talking</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://hackmd.io</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/3e7aa935c37630d16759c1a59cc9abcc285ae99d709411aa59783767fc5bd430.jpg"/></div></a></div></div><div data-type="embedly" src="https://writings.flashbots.net/mevm-suave-centauri-and-beyond" data="{&quot;provider_url&quot;:&quot;https://writings.flashbots.net&quot;,&quot;description&quot;:&quot;In this post we preview the upcoming SUAVE Centauri release and introduce the MEVM.&quot;,&quot;title&quot;:&quot;The MEVM, SUAVE Centauri, and Beyond | Flashbots Writings&quot;,&quot;author_name&quot;:&quot;Robert Miller&quot;,&quot;thumbnail_width&quot;:1456,&quot;url&quot;:&quot;https://writings.flashbots.net/mevm-suave-centauri-and-beyond&quot;,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/89e5b1f54916f5cbd36a555efad0930f1835418f2619e0fb6e180612b68d8459.png&quot;,&quot;author_url&quot;:&quot;https://twitter.com/bertcmiller&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Flashbots&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:816,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:1456,&quot;height&quot;:816,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/89e5b1f54916f5cbd36a555efad0930f1835418f2619e0fb6e180612b68d8459.png&quot;}}}" format="small"><link rel="preload" as="image" href="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/89e5b1f54916f5cbd36a555efad0930f1835418f2619e0fb6e180612b68d8459.png"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://writings.flashbots.net/mevm-suave-centauri-and-beyond" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>The MEVM, SUAVE Centauri, and Beyond | Flashbots Writings</h2><p>In this post we preview the upcoming SUAVE Centauri release and introduce the MEVM.</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://writings.flashbots.net</span></div><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/89e5b1f54916f5cbd36a555efad0930f1835418f2619e0fb6e180612b68d8459.png"/></div></a></div></div><div data-type="embedly" src="https://docs.google.com/file/d/1c0Ok4M3CcPjMCh7-vh6ErfhqlJsh1qau/edit?filetype=mspresentation" data="{&quot;provider_url&quot;:&quot;https://docs.google.com&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;title&quot;:&quot;[final] Modular summit ETHCC pres.pptx&quot;,&quot;url&quot;:&quot;https://docs.google.com/file/d/1c0Ok4M3CcPjMCh7-vh6ErfhqlJsh1qau/edit?filetype=mspresentation&quot;,&quot;thumbnail_width&quot;:800,&quot;thumbnail_url&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/e05335e71c93bedf1623979a46dac17aa92337537be50feabaf5145f188c2705.webp&quot;,&quot;provider_name&quot;:&quot;Google Docs&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:450,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:800,&quot;height&quot;:450,&quot;src&quot;:&quot;https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/e05335e71c93bedf1623979a46dac17aa92337537be50feabaf5145f188c2705.webp&quot;}}}" format="small"></div><div data-type="embedly" src="https://www.paradigm.xyz/2023/06/intents" data="{&quot;provider_url&quot;:&quot;https://www.paradigm.xyz&quot;,&quot;description&quot;:&quot;Paradigm is a research-driven crypto investment firm that funds companies and protocols from their earliest stages.&quot;,&quot;title&quot;:&quot;Intent-Based Architectures and Their Risks&quot;,&quot;thumbnail_width&quot;:1200,&quot;url&quot;:&quot;https://www.paradigm.xyz/2023/06/intents&quot;,&quot;thumbnail_url&quot;:&quot;https://storage.googleapis.com/papyrus_images/8f71df440bba124eb84e1c687c8a82c2be2bad0007d7ba1b6096d8d581f60d96.avif&quot;,&quot;version&quot;:&quot;1.0&quot;,&quot;provider_name&quot;:&quot;Paradigm&quot;,&quot;type&quot;:&quot;link&quot;,&quot;thumbnail_height&quot;:675,&quot;image&quot;:{&quot;img&quot;:{&quot;width&quot;:100,&quot;height&quot;:100,&quot;src&quot;:&quot;https://storage.googleapis.com/papyrus_images/8f71df440bba124eb84e1c687c8a82c2be2bad0007d7ba1b6096d8d581f60d96.avif&quot;}}}" format="small"><link rel="preload" as="image" href="https://storage.googleapis.com/papyrus_images/8f71df440bba124eb84e1c687c8a82c2be2bad0007d7ba1b6096d8d581f60d96.avif"/><div class="react-component embed my-5" data-drag-handle="true" data-node-view-wrapper="" style="white-space:normal"><a class="link-embed-link" href="https://www.paradigm.xyz/2023/06/intents" target="_blank" rel="noreferrer"><div class="link-embed"><div class="flex-1"><div><h2>Intent-Based Architectures and Their Risks</h2><p>Paradigm is a research-driven crypto investment firm that funds companies and protocols from their earliest stages.</p></div><span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-link h-3 w-3 my-auto inline mr-1"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path></svg>https://www.paradigm.xyz</span></div><img src="https://storage.googleapis.com/papyrus_images/8f71df440bba124eb84e1c687c8a82c2be2bad0007d7ba1b6096d8d581f60d96.avif"/></div></a></div></div><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://dba.mirror.xyz/NTg5FSq1o_YiL_KJrKBOsOkyeiNUPobvZUrLBGceagg">https://dba.mirror.xyz/NTg5FSq1o_YiL_KJrKBOsOkyeiNUPobvZUrLBGceagg</a></p>]]></content:encoded>
            <author>sevenxventures@newsletter.paragraph.com (SevenX Ventures)</author>
            <enclosure url="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/e9a5350199f503b407380a0d2089679eac1616a543bc99b93b661c5d4025656f.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[The Inevitable Adoption of Coprocessors, Driven by Uniswap v4]]></title>
            <link>https://paragraph.com/@sevenxventures/the-inevitable-adoption-of-coprocessors-driven-by-uniswap-v4</link>
            <guid>sxZiYqdRT7rCAg0YNBO6</guid>
            <pubDate>Wed, 28 Jun 2023 17:10:58 GMT</pubDate>
            <description><![CDATA[By @Hill, Investor of SevenX Ventures Uniswap v4 is just announced. Although it’s not fully built out yet, we expect the community to widely explore the boundary of newly enabled possibilities. Since there might be a ton of articles explaining how powerful v4 is on the defi side of things, I would like to address how Uniswap v4 can inspire a new category of blockchain infrastructure: coprocessors.Short intro on Uniswap v4As described in the whitepaper, v4 contains mainly 4 improvements:Hooks:...]]></description>
            <content:encoded><![CDATA[<p><em>By </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/Hill79025920"><em>@Hill</em></a><em>, Investor of SevenX Ventures</em></p><p><em>Uniswap v4 is just announced. Although it’s not fully built out yet, we expect the community to widely explore the boundary of newly enabled possibilities. Since there might be a ton of articles explaining how powerful v4 is on the defi side of things, I would like to address how Uniswap v4 can inspire a new category of blockchain infrastructure: coprocessors.</em></p><h2 id="h-short-intro-on-uniswap-v4" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Short intro on Uniswap v4</h2><p>As described in the <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/Uniswap/v4-core/blob/main/whitepaper-v4-draft.pdf">whitepaper</a>, v4 contains mainly 4 improvements:</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/a5d39177d30f19a94b056bcba66c583f174af5752c0d1ed5a056f26a81cfdf40.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><ul><li><p>Hooks: Hooks are externally deployed contracts that execute some developer-defined logic at a specified point in a pool’s execution. These hooks allow integrators to create a concentrated liquidity pool with flexible and customizable execution.</p></li><li><p>Singleton: UNISWAP v4 uses a singleton design pattern where all pools are managed by a single contract, making pool deployment 99% cheaper.</p></li><li><p>Flash Accounting: each operation updates an internal net balance, known as a delta, only making external transfers at the end of the lock. Flash accounting simplifies complex pool operations, such as atomic swapping and adding.</p></li><li><p>Native ETH: allows for both WETH and ETH pairs.</p></li></ul><p>Most gas savings will certainly come out of the last 3 improvements, but certainly, the most exciting new feature brought in is by the first mentioned new shiny bits: the hooks.</p><h3 id="h-hooks-make-liquidity-pools-more-complicated-and-powerful" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Hooks make liquidity pools more complicated and powerful</h3><p>Uniswap v4’s primary enhancement revolves around the programmability unlocked by hooks. This feature introduces a new level of complexity and power to liquidity pools, allowing them to be more flexible and customizable than ever before. In comparison to v3’s concentrated liquidity, which was a net upgrade from v2, v4’s hooks provide a wider spectrum of possibilities for how liquidity pools can behave.</p><p>This can be viewed as a net upgrade from v3, but it might not be when it comes to actual implementation. Uniswap v3 pools will always be an upgrade compared to v2 pools, since the “worst” upgrade you can do in v3 is to “concentrate” the liquidity across the entire price range, which works the same as in v2. In v4, however, liquidity pools can be programmed to an extent that might not result in a good trading or liquidity-providing experience. Bugs can occur and there will be new attack vectors. Due to the wider array of changes to the liquidity pool’s behavior, developers wishing to utilize the hook feature must exercise caution. They need to thoroughly understand the implications of their design choices on the pool’s functionality and the potential risks for liquidity providers.</p><p>The introduction of hooks in Uniswap v4 represents a significant shift in how code is executed on the blockchain. Traditionally, blockchain code is executed in a predetermined sequential manner. However, hooks allow for a more flexible execution order, ensuring that certain code is executed before other code. This feature pushes complex computations towards the edge of the stack, rather than solving them in a monolithic stack.</p><p>In essence, hooks enable more complicated computations to be performed outside of the Uniswap native contract. While this was achievable in v2 and v3 through manual computation outside of Uniswap and triggering with external activators such as other smart contracts, v4 integrates hooks directly into the liquidity pool’s smart contract. This integration makes the process more transparent, verifiable, and trustless compared to the previously manual process.</p><p>Another side benefit hooks bring is extensibility. Uniswap now no longer have to rely on new smart contract (which requires liquidity migration) or forks to deploy innovations. Hooks can now make an old liquidity pool feels like a new one by directly implementing new features.</p><h2 id="h-what-happens-to-v4-liquidity-pools-will-happen-to-other-dapps" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">What happens to v4 liquidity pools will happen to other Dapps</h2><p>I expect more and more dapps to push computation outside of their own smart contracts, just like Uniswap v4.</p><p>What v4 is doing here is by allowing the liquidity pool executions to be broken up at any step, arbitrary conditions can be inserted, and triggering computation that’s outside of the v4 contract. The only similar thing we have seen so far is flash loan, where the executions will be reverted if the loan is not given back within the same block. Just that the computation still happens in the flash loan contract.</p><p>Uniswap v4’s design brings multiple benefits that either weren’t possible or were suboptimal to implement in v3. For instance, the use of embedded oracles is now possible, reducing the reliance on external oracles that often introduce potential attack vectors. This embedded design enhances the security and reliability of price information, a critical factor in the operation of DeFi protocols.</p><p>Furthermore, automation, which previously had to be triggered externally, can now be embedded directly into the liquidity pool. This integration not only mitigates security concerns but also addresses reliability issues associated with external triggers. It provides a more seamless and efficient operation of the liquidity pool, enhancing its overall performance and user experience.</p><p>Finally, the introduction of hooks in Uniswap v4 opens up the possibility for more diverse security features to be implemented directly into the liquidity pool. In the past, the primary security measures available to liquidity pools were audits, bug bounties, and insurance purchases. With v4, developers can now design and implement a variety of fail-safes and low liquidity warnings directly into the pool’s smart contract. This development not only enhances the security of the pool but also provides greater transparency and control to liquidity providers.</p><p>Compared to traditional phones, smartphones win on programmability. Smart contracts have kind of lived under the shadow of “persistent scripts” for a long time. Now, thanks to the advant of v4, liquidity pool smart contracts get a new programmable upgrade, getting “smarter”. I can’t imagine why not all dapps want to upgrade in this direction given the opportunity to upgrade yourself from a Nokia into an iPhone. Since Nokia is more reliable than iPhone I can see plenty of reasons why some smart contracts would like to stay the way it is, but you get my point on where the future of Dapps is heading to.</p><h3 id="h-dapps-wish-to-use-their-own-hooks-has-a-scaling-problem" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Dapps wish to use their own “hooks” has a scaling problem</h3><p>Imagine applying this to all the other dapps, where we can insert conditions to be triggered, and then insert arbitrary computations in between the original sequence of transactions.</p><p>This sounds like how MEV works, but MEV is not an open design space for the dapp developers. It’s more like an uncertain hike into a dark forest, the best they can do is to seek external MEV protection but can only hope for the best.</p><p>Assume that the flexibility of Uniswap v4 inspires a new generation of dapps (or upgrade from existing dapp) to adopt similar philosophy, where they allow their own execution sequence to be more programmable. Since these dapps are usually only deployed on one chain (an L1 or an L2), we expect most state changes to be run on this chain.</p><ul><li><p>The additional computation inserted within the state-changing process of a dapp might be too complicated and burdensome to run on this chain. We might go beyond the gas limit really quickly, or it’s just outright difficult to realize. It also introduces a host of challenges, particularly in the areas of security and composability.</p></li><li><p>Not all computations are equal. As evidenced by dapps’ reliance on external protocols such as oracles and automation networks. However, this reliance introduces security risks, as highlighted in a recent <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://https//twitter.com/delitzer/status/1661755779240841222?s=20">tweet</a> by Dan Elitzer in.</p></li></ul><p><strong>Summarizing the problem: incorporating all computations into state-altering smart contract execution on one single chain is far from optimal.</strong></p><h2 id="h-hint-on-the-solution-its-been-solved-in-the-real-world" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Hint on the solution: it’s been solved in the real world</h2><p>To solve this problem brought by the new generation of dapps (which might be largely inspired by Uniswap v4), we have to look into the core of the problem: that 1 single chain. Blockchain works as distributed computer, with one single CPU processing everything. On a PC, modern CPU has come a long way to solve that exact problem.</p><p>Just as computers have transitioned from single-core monolithic CPUs to a modular design comprising multiple efficiency cores, performance cores, GPUs, and NPUs.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/99a2f52ea08e2bc31be40e08f85c8186f7c81aed49b43830373e9cc70c4ee4f3.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>DApp computation can scale in a similar manner. By specializing processors and combining their efforts, outsourcing some computation outside of the main processor offers flexibility, optimality, security, scalability, and upgradability.</p><h2 id="h-actual-solution" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Actual solution</h2><p>There are really only two categories of coprocessors:</p><ul><li><p>External coprocessors</p></li><li><p>Embedded coprocessors</p></li></ul><h3 id="h-external-coprocessors" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">External coprocessors</h3><p>External coprocessors are like a GPU on the cloud. It’s nice and powerful, but you have additional internet lag between the CPU and the GPU communication. Plus you are not ultimately controlling the GPU, so you have to trust that it’s doing the job right.</p><p>Using Uniswap v4 as an example, let’s say some ETH and USDC were to be added to a liquidity pool at the last 5 mins TWAP. If the TWAP calculation is done in Axiom, v4 is essentially using Ethereum as the main processor and Axiom as the coprocessor.</p><h4 id="h-axiom" class="text-xl font-header !mt-6 !mb-3 first:!mt-0 first:!mb-0">Axiom</h4><p>Axiom is a ZK coprocessor for Ethereum which provides smart contracts trustless access to all on-chain data and arbitrary expressive computing over it.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/b95fb0de5662232959b8c3fba8d2603d6e4220061349a5a1197a83fbba195cd0.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>Developers can make queries into Axiom and trustlessly use the ZK-verified results on-chain in their smart contracts. To fulfill queries, Axiom performs three steps:</p><ol><li><p>Read: Axiom uses ZK proofs to trustlessly correct reads from block headers, states, transactions, and receipts in any historical Ethereum block. All Ethereum on-chain data is encoded in one of these forms, meaning that Axiom can access anything an archive node can.</p></li><li><p>Compute: Once data has been ingested, Axiom applies verified compute primitives on top. This includes diverse operations from basic analytics (sum, count, max, min) to cryptography (signature verification, key aggregation) and machine learning (decision trees, linear regression, neural network inference). The validity of each piece of computing is verified in a ZK proof.</p></li><li><p>Verify: Axiom accompanies the result of each query with a ZK validity proof that (1) the input data was correctly fetched from the chain and (2) the compute was correctly applied. This ZK proof is verified on-chain in the Axiom smart contract, and the final result is then trustlessly available for use by any downstream smart contract.</p></li></ol><h4 id="h-warp-contract-by-redstone" class="text-xl font-header !mt-6 !mb-3 first:!mt-0 first:!mb-0">Warp Contract (by RedStone)</h4><p>Warp Contracts is the most popular implementation of SmartWeave, which is an architecture aimed at creating a reliable, fast, and production-ready smart contracts platform/engine on Arweave. Essentially, SmartWeave is a sequenced array of Arweave transactions that benefit from the absence of a fee market for transaction block inclusion on Arweave. These unique properties allow for unlimited transaction data without additional fees beyond storage costs.</p><p>SmartWeave utilizes a unique approach known as “lazy evaluation,” which transfers the responsibility of executing smart contract code from network nodes to the users of the smart contract. In essence, this means that the computation of transaction validation is deferred until it is required, reducing the workload on network nodes and allowing for more efficient processing of transactions. This approach enables users to execute as much computation as needed without incurring additional fees, offering functionalities that are not feasible with other smart contract systems. Obviously attempting to evaluate contracts with thousands of interactions on a user’s CPU would be a futile exercise. To overcome this challenge, an abstraction layer, such as Warp’s DRE, has been developed. It comprises a network of distributed validators that handle contract computations, leading to significant improvements in response time and user experience.</p><p>Furthermore, the open-ended design of SmartWeave enables developers to write the logic in any programming language, offering a refreshing alternative to the often rigid Solidity codebase. By delegating certain high-cost or high-throughput actions to Warp, existing social graph protocols built on EVM chains can be enhanced with seamless SmartWeave integration, leveraging the strengths of both technologies.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/db8a94456b483d9c34110d1def828dcd5a843c01f5893e5f8be25fa25e930b1f.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><h4 id="h-hyper-oracle" class="text-xl font-header !mt-6 !mb-3 first:!mt-0 first:!mb-0">Hyper Oracle</h4><p>Hyper Oracle is a network of zkOracles designed for blockchains. At present, the zkOracle network operates solely for the Ethereum blockchain. It retrieves the data from every block of the blockchain as a data source with zkPoS and processes the data using programmable zkGraphs that run on zkWASM, all in a trustless and secure manner.</p><p>Developers can define custom off-chain computations with JavaScript, deploy those computations to Hyper Oracle network, and utilize Hyper Oracle Meta Apps to index and automate their smart contracts.</p><p>Hyper Oracle’s indexing and automation Meta Apps are fully customizable and flexible. Any computation can be defined and all computations will be secured by a generated zk proof, even machine learning computation.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/a12310ba14e3f87a5c080c8e3fffb824353c32825b264c79ab78be8c746cd805.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><ul><li><p>Ethereum blockchain serves as the original on-chain data source for zkOracles, but in the future, any network can be used.</p></li><li><p>The Hyper Oracle zkOracle node consists of two main components: zkPoS and zkWASM.</p><ul><li><p>zkPoS fetches the block header and data roots of the Ethereum blockchain by proving Ethereum’s consensus with zk. The zk proof generation process can be outsourced to a decentralized prover network. zkPoS works as the foreign circuit of zkWASM.</p></li><li><p>zkPoS feeds the block header and data roots to zkWASM. zkWASM takes this data as essential inputs for running zkGraphs.</p></li><li><p>zkWASM runs customized data mappings or any other computation defined by zkGraphs and generates zk proofs of those operations. The operator of the zkOracle node can choose the number of zkGraphs they wish to run (from one to all deployed zkGraphs). The zk proof generation process can be outsourced to a decentralized prover network.</p></li></ul></li><li><p>The output of a zkOracle is off-chain data that developers can use through Hyper Oracle Meta Apps (which are covered in the next sections). The data also comes with zk proofs that demonstrate the validity and computation of the data.</p></li></ul><h4 id="h-other-projects-worth-mentioning" class="text-xl font-header !mt-6 !mb-3 first:!mt-0 first:!mb-0">Other projects worth mentioning</h4><p>There are also a few projects that can be used as an external coprocessor if you decided to use them in that way. It’s just that they have overlapping positioning in other verticals of the blockchain infra space that they don’t uniquely classify as a coprocessor.</p><ul><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/RiscZero">RiscZero</a>: if a dapp use RiscZero to compute ML tasks of an onchain agent and feeds the result back to it’s game contract on StarkNet, it’s using the StarkNet as main processor and RiscZero as the coprocessor.</p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/ironmill_xyz">Ironmill</a>: if a dapp runs their zk circuit in Ironmill but have smart contracts deployed on Ethereum, it’s using Ethereum as the main processor and Ironmill as the coprocessor.</p></li></ul><h3 id="h-potential-use-cases-for-external-coprocessors" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Potential use cases for external coprocessors</h3><ul><li><p>Governance and Voting: Historical on-chain data can help DAOs record how much voting power each member holds, which is necessary for voting. Without this data, members may not be able to participate in the voting process, which could hinder governance.</p></li><li><p>Underwriting: Historical on-chain data can assist asset managers in assessing the performance of their managers beyond profits. They can see the level of risk taken and the types of drawdowns experienced, which can help them make better decisions when it comes to compensation or potential reward reductions.</p></li><li><p>Decentralized Exchanges: Historical price data on-chain can assist decentralized exchanges in trading based on past trends and patterns, potentially leading to higher profits for users. Additionally, access to historical trading data can help exchanges improve their algorithms and user experience.</p></li><li><p>Insurance Products: Historical on-chain data can be used by insurance providers to assess risks and set premiums for different types of policies. For example, when setting premiums for a defi project, an insurance provider may look at past onchain data.</p></li></ul><p>Note that all of the above is async use cases because the customer dapp needs to call external coprocessors’ smart contract when triggered in block N. When coprocessors return the computation result, the result has to be accepted or verified in some shapes or forms in at least the very next block, which is N+1. This makes the utilization of co-processing results happen at least on the next block of triggering. It’s really like a cloud-based GPU. It runs your ML model well, but you can’t really play fast-paced games on it very well due to the lag.</p><h3 id="h-embedded-coprocessors" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Embedded coprocessors</h3><p>Embedded coprocessors is like a GPU on your PC’s motherboard, sitting right beside the CPU. It has very little lag communicating with the CPU. Also it’s right below your palm so you can be pretty certain it’s not tampered with. Just that it will get very expensive if you wish it can run ML as fast as a cloud GPU.</p><p>Still using Uniswap v4 as an example, assume that some ETH and USDC were to be added to a liquidity pool deployed on Artela at the last 5 mins TWAP. If the pool is deployed in the EVM on Artela, and the TWAP calculation is done in the WASM on Aretla, this pool is essentially using Artela’s EVM as the main processor and Artela’s WASM as the coprocessor.</p><h4 id="h-artela" class="text-xl font-header !mt-6 !mb-3 first:!mt-0 first:!mb-0">Artela</h4><p>Artela is an L1 built with Tendermint BFT. It provides a framework that supports the dynamic extensions for any execution layer to achieve on-chain customized functionalities. Every Artela full node runs two VMs at the same time.</p><ul><li><p>EVM, which is the main processor storing and updating smart contract states.</p></li><li><p>WASM, which is the coprocessor storing and updating <strong>Aspect</strong> states.</p></li></ul><p>Aspects represent arbitrary computation that a developer wishes to run without touching the state of the smart contracts. Think of it as a Rust script that provides dApps with customized functionality beyond native composability of smart contracts.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/287108cd518539e025a240f23ad35939663fa0d2b66b35e94556070d3bab836f.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>If this is a bit hard to comprehend, try from the two following perspectives.</p><ul><li><p>From the perspective of blockchain architecture</p><ul><li><p>Aspect serves as a new execution layer.</p></li><li><p>In Artela, the blockchain operates two execution layers simultaneously—one for smart contracts and one for other computations.</p></li><li><p>This new execution layer does not introduce new trust assumptions, thus not affecting the security of the blockchain itself. Both VMs are secured by the same set of nodes running the same consensus.</p></li></ul></li><li><p>From the perspective of application runtime</p><ul><li><p>Aspects act as programmable modules that work in synergy with smart contracts, enabling the addition of customized functionality and independent execution.</p></li><li><p>It offers advantages over sole smart contract in several ways:</p><ol><li><p>Non-invasiveness: It can intervene before and after contract execution without modifying the smart contract code.</p></li><li><p>Synchronous execution: It enables hook logic throughout the entire transaction lifecycle, allowing for fine-grained customization.</p></li><li><p>Direct access to the global state and base layer configuration, allowing for system-level functionality.</p></li><li><p>Elastic block space: providing independent block space with protocol guarantees for dApps with high transaction throughput requirements.</p></li><li><p>Compared to static precompiles, it enables dApps to achieve dynamic and modular upgrades at runtime, balancing stability and flexibility.</p></li></ol></li></ul></li></ul><p>The really exciting breakthrough Artela makes by introducing this embedded coprocessor is that now, Aspects, the arbitrary extension module, can be executed THROUGHOUT THE SAME TRANSACTION as smart contracts. Developers can bind their smart contract to Aspects and have all transactions calling the smart contract processed by Aspects.</p><p>Also, like smart contracts, Aspects store data on-chain, which enables smart contracts and Aspects to read the global state of each other.</p><p>These two features unlock a new level of composability and interoperability between smart contracts and Aspects</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/8434c3aa42ed227def5635bc664a9a9e4da5925ba2f492a1fcdb5338c57fe9e9.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>Aspect Functionality:</p><p>Compared to smart contracts, Aspects provide capabilities primarily focused on pre and post-transaction execution. Aspects do not replace smart contracts but rather complement them. In comparison to smart contracts, aspects offer the following distinct capabilities for applications:</p><ul><li><p>Automatic insertion of reliable transactions into upended blocks (e.g., for scheduled tasks).</p></li><li><p>Reversion of state data changes caused by transactions (only authorized contract transactions can be Reversion).</p></li><li><p>Reading of static environmental variables.</p></li><li><p>Passing temporary execution states downstream to other aspects.</p></li><li><p>Reading of temporary execution states passed from upstream aspects.</p></li><li><p>Dynamic and modular upgradability.</p></li></ul><p>Differences between Aspects and Smart Contracts:</p><p>What sets Aspects apart from smart contracts is:</p><ul><li><p>Smart contracts are accounts with code, while Aspects are native extensions of the blockchain.</p></li><li><p>Aspects can run at different points in the transaction and block lifecycle, while smart contracts are only executed at fixed points.</p></li><li><p>Smart contracts have access to their own state and limited context of the block, whereas Aspects are allowed to interact with the global processing context and system-level API.</p></li><li><p>The execution environment of Aspects is designed for near-native speeds.</p></li></ul><p>Aspects are simply pieces of code logic and are not associated with an account. Therefore, they do not have the ability to:</p><ul><li><p>Write, modify, or delete contract state data.</p></li><li><p>Create new contracts.</p></li><li><p>Transfer, destroy, or hold native tokens.</p></li></ul><p>These aspects make Artela a unique platform that extends the capabilities of smart contracts and offers a more comprehensive and customizable development environment.</p><p>*Note that the Aspects we mentioned above is strictly called “built-in” Aspects, which is embedded coprocessors run by the full nodes of the Artela Chain. Dapps can also deploy their own Heterogeneous Aspect, which is run by external coprocessors. These external coprocessors can be executed on external networks, or by a subset of nodes in another consensus. It’s more flexible as the dapp developer can literally do anything they want with it as long as they feel safe and reasonably doing so. It’s still under exploration, and specific details are yet to be announced.</p><h3 id="h-potential-use-cases-for-embedded-coprocessors" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Potential use cases for embedded coprocessors</h3><ol><li><p>Complex calculations involved in new DeFi projects (such as intricate game-theoretical mechanisms) may require more flexible and iterative on-the-fly computational capabilities from an embedded coprocessor.</p></li><li><p>More flexible access control mechanisms for all kinds of dapps. Currently, access control is typically limited to blacklisting or whitelisting based on smart contract permissions. Embedded coprocessors can unlock instant and granular levels of access control.</p></li><li><p>Certain complex features in Fully On-Chain Games (FOCG). FOCGs have been constrained by the EVM for a long time. It might be easier if the EVM is reserved for simpler functionalities like transferring NFTs and tokens, while other logic and state updates are computed by coprocessors.</p></li><li><p>Security mechanisms. Dapps can introduce their own proactive security monitoring and fail-safe mechanisms. For example, liquidity pools can prevent from more than 5% of withdrawing every 10 mins. If one of the withdrawals is detected by a coprocessor, the smart contract can halt and trigger some alarm mechanisms, such as injecting emergency liquidity at a certain dynamic price range.</p></li></ol><h2 id="h-closing-thoughts" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Closing thoughts:</h2><p>Dapps getting big, bloaty, and uncomfortably complicated is inevitable. Therefore the adoption of coprocessors is also inevitable. It’s only a matter of time and adoption curve.</p><p>Running external coprocessors allows dapps to stay in their comfort zone: whatever chain they previously lives on. However, for the new dapp developers out there looking for an execution environment to deploy to, embedded coprocessors is like a GPU for a PC. If it calls itself a high-performance PC, it has to have a decent GPU.</p><p>Unfortunately, none of the above-mentioned projects are on mainnet yet. We can’t really benchmark and show which one is better for which use case. However, one thing is certain. Technology progresses in an upward spiral. It looks like we are going around in circles, but remember when seen from aside, history shows that it’s up only.</p><p>Long live the scalability trilemma, long live coprocessors.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/9a1f2e3adcaafb049713d55e5e3603bb2a2c00f062d8a272fa065cad5c5485f1.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><h2 id="h-reference" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Reference</h2><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.axiom.xyz/blog/intro">https://www.axiom.xyz/blog/intro</a> <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.artela.network/main">https://docs.artela.network/main</a> <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.axiom.xyz/using-axiom/what-does-axiom-do">https://docs.axiom.xyz/using-axiom/what-does-axiom-do</a> <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.hyperoracle.io/how-hyper-oracle-works">https://docs.hyperoracle.io/how-hyper-oracle-works</a> <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/Uniswap/v4-core/blob/main/whitepaper-v4-draft.pdf">https://github.com/Uniswap/v4-core/blob/main/whitepaper-v4-draft.pdf</a> <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://medium.com/logos-network/everything-you-know-about-the-scalability-trilemma-is-probably-wrong-bc4f4b7a7ef">https://medium.com/logos-network/everything-you-know-about-the-scalability-trilemma-is-probably-wrong-bc4f4b7a7ef</a> <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://medium.com/@warp_contracts/smartweave-vs-evm-403487e88fc6">https://medium.com/@warp_contracts/smartweave-vs-evm-403487e88fc6</a> <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://mirror.xyz/hyperoracleblog.eth/qbefsToFgFxBZBocwlkX-HXbpeUzZiv2UB5CmxcaFTM">https://mirror.xyz/hyperoracleblog.eth/qbefsToFgFxBZBocwlkX-HXbpeUzZiv2UB5CmxcaFTM</a> <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/delitzer/status/1661755779240841222?s=20">https://twitter.com/delitzer/status/1661755779240841222?s=20</a></p>]]></content:encoded>
            <author>sevenxventures@newsletter.paragraph.com (SevenX Ventures)</author>
            <enclosure url="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/c502943c93919537e166d5e8670562ce08dbfe756360c9daf57cfd9b296c85df.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[Interpreting Web3 Data Economy in an All-Perspective View: The Next Billion-Dollar Sector after LSD]]></title>
            <link>https://paragraph.com/@sevenxventures/interpreting-web3-data-economy-in-an-all-perspective-view-the-next-billion-dollar-sector-after-lsd</link>
            <guid>uJ1zZubfsZJu8NLdxbk8</guid>
            <pubDate>Wed, 10 May 2023 02:51:27 GMT</pubDate>
            <description><![CDATA[By @Yuxing, Investor of SevenX Ventures The popularity of Chat GPT and GPT-4 has shown us the power of artificial intelligence. Behind artificial intelligence, in addition to algorithms, what is more, important is massive data. Around the data, we have built a large-scale complex system, the value of which mainly comes from business intelligence (Business Intelligence, BI) and artificial intelligence (Artificial Intelligence, AI). Due to the rapid growth of data volumes in the Internet age, d...]]></description>
            <content:encoded><![CDATA[<p>By @Yuxing, Investor of SevenX Ventures</p><p><em>The popularity of Chat GPT and GPT-4 has shown us the power of artificial intelligence. Behind artificial intelligence, in addition to algorithms, what is more, important is massive data. Around the data, we have built a large-scale complex system, the value of which mainly comes from business intelligence (Business Intelligence, BI) and artificial intelligence (Artificial Intelligence, AI). Due to the rapid growth of data volumes in the Internet age, data infrastructure work, and best practices are also evolving rapidly. In the past two years, the core system of the data infrastructure technology stack has been very stable, and the supporting tools and applications are also growing rapidly.</em></p><h2 id="h-web2-data-infrastructure-architecture" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Web2 Data Infrastructure Architecture</h2><p>Cloud data warehouses (e.g., Snowflake, etc.) are growing rapidly, primarily focusing on SQL user and business intelligence user scenarios. Adoption of other technologies is also accelerating, with data lakes (e.g., Databricks) experiencing unprecedented customer growth, and heterogeneity in the data technology stack will coexist.</p><p>Other core data systems, such as data acquisition and transformation, have proven equally durable. This is particularly evident in the modern data intelligence space, where combinations of Fivetran and dbt (or similar technologies) can be found almost everywhere. The combination of Databricks/Spark, Confluent/Kafka, and Astronomer/Airflow is also becoming the de facto standard.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/814d17268d2651fd0bf619901f1dfb7aa9e4ed63e799ecc7d4a8f70cf5adf858.png" alt="Source: a16z" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Source: a16z</figcaption></figure><ul><li><p><strong>Data Sources</strong> end generates relevant business and operational data;</p></li><li><p><strong>Data Extraction and Transformation</strong> responsible for extracting data from business systems (E), transferring to storage, aligning formats between data sources and destinations (L), and sending analyzed data back to business systems as required;</p></li><li><p><strong>Data storage</strong> storing data in a format that can be queried and processed, requiring optimization toward low cost, high scalability, and analytical effort;</p></li><li><p><strong>Querying and processing</strong> translates high-level programming languages (typically in SQL, Python, or Java/Scala) into low-end data processing tasks. Executing queries and data models based on stored data using distributed computing, including historical analysis (describing past occurrences) and predictive analysis (describing future expected events);</p></li><li><p><strong>Transformation</strong> Converting data into analytically usable structures, managing processes and resources;</p></li><li><p><strong>Analysis and Output</strong> is an interface for analysts and data scientists to provide traceable insight and collaboration, present the results of data analysis to internal and external users, and embed data models into user-facing applications.</p></li></ul><p>With the rapid development of the data ecosystem, the concept of “data platforms” has emerged. From an industry perspective, the defining characteristic of a platform is the technical and economic interdependence of an influential platform provider and many third-party developers. From a platform perspective, the data technology stack is divided into a “front-end” and a “back-end.”</p><p><strong>“Back-end” roughly includes data extraction, storage, processing, and transformation,</strong> and has begun to consolidate around several cloud service providers. As a result, customer data is collected in a standard system, and vendors are investing heavily in making this data easily accessible to other developers. This is also a fundamental design principle of systems like Databricks and is implemented through systems like the SQL standard and custom compute APIs like Snowflake.</p><p>“Front-end” engineers leverage this single integration point to build various new applications. <strong>They rely on data that has been cleaned and integrated into a data warehouse/lake warehouse without worrying about how they were generated. A single customer can build and buy many applications on top of one core data system.</strong> We are even starting to see traditional enterprise systems, such as financial or product analytics, being refactored using warehouse-native architectures.</p><p>As the data technology stack gradually matures, the data applications on the data platform also surge. Due to standardization, adopting new data platforms has never been more important, and correspondingly maintaining platforms has become extremely important. At scale, platforms can be very valuable. There is intense competition among core data system vendors for current budgets and long-term platform positions. <strong>The astonishing valuations of data ingestion and transformation companies are easier to understand if you consider that data ingestion and transformation modules are a core part of emerging data platforms.</strong></p><p>However, these technology stacks have been shaped by a data utilization approach dominated by large companies. As society’s understanding of data deepens, it is believed that data, like land, labor, capital, and technology, are all marketable factors of production. As one of the five factors of production, it is the asset value of data reflected behind it.</p><p>The current technology stack is inadequate to enable the allocation of data element markets. New data infrastructures are developing and evolving in Web3, which is closely integrated with blockchain technology. These infrastructures will be embedded in modern data infrastructure architectures to enable data ownership rights definition, circulation transactions, revenue distribution, and factor governance. These four areas are critical from a government regulatory perspective and require special attention.</p><h2 id="h-web3-hybrid-data-infrastructure-architecture" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Web3 Hybrid Data Infrastructure Architecture</h2><p>Inspired by the <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://a16z.com/2020/10/15/emerging-architectures-for-modern-data-infrastructure/">a16z Unified Data Infrastructure Architecture (2.0)</a> and incorporating our understanding of the Web3 infrastructure architecture, we propose the following Web3 Hybrid Data Infrastructure Architecture.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/d76058fa1b3e89efe3f28200944f3af7028f81c0b1c2e593ce61025f3583bbb3.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>Orange is the technology stack unit that is unique to Web3. Since decentralization is still in its early stages of development, most applications in the Web3 space are still using this hybrid data infrastructure architecture. The vast majority of applications are not true “superstructures”. Hyperarchitecture is a non-stoppable, free, valuable, scalable, license-free, positive externality, and trustworthy neutrality. It exists as a public good for the digital world, public infrastructure for the “metaverse” world. This requires a completely decentralized underlying architecture to support it.</p><p>The traditional data infrastructure architecture evolved in response to the business development of the enterprise. a16z summarizes it in two systems (analytics and business systems) and three scenarios (modern business intelligence, multi-model data processing, artificial intelligence, and machine learning). This is a summary made from the perspective of the business - data for the growth of the business.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/c239ff8252265cc4b16aee9607d71940d25055c661693780648a24c56d789cbc.png" alt="Source: a16z" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Source: a16z</figcaption></figure><p>However, not only enterprises, society, and individuals should benefit from the productivity improvement from the data element. Countries worldwide have introduced policies and regulations one after another, hoping to regulate the use of data from the regulatory level and promote the circulation of data. This includes various data banks that are common in Japan, data exchanges that have recently emerged in China, and trading platforms that have been widely used in Europe and the United States, such as BDEX (USA), Streamr (Switzerland), DAWEX (France) and CARUSO, etc.</p><p>As data begins to be titled, traded in flow, distributed, and governed, their systems and scenarios go beyond empowering companies to make decisions and grow their businesses themselves. These systems and scenarios either need to leverage blockchain technology or strongly rely on policy regulation. web3 is a natural ground for data factor markets, which technically eliminates the possibility of cheating and can greatly reduce regulatory pressure, allowing data to exist as a true factor of production and be allocated in a market-based manner.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/cd631c55a048898d392b2dd53e38fb4fe57feaa5fe56eb017d848e277659b468.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>In the Web3 context, the new paradigm of data utilization includes market systems that host mobile data elements and public systems that manage public data elements. They cover three new data business scenarios: property data development integration, composable initial data layers, and public data mining.</p><p>Some of these scenarios are tightly integrated with traditional data infrastructures and belong to Web3 hybrid data infrastructure architectures. In contrast, others are detached from traditional architectures and are fully supported by new technologies native to Web3.</p><h2 id="h-web3-and-the-data-economy" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Web3 and the Data Economy</h2><p>The data economy marketplace is the key to allocating data elements, including developing and integrating product data and the initial data layer market with composability. In an efficient and compliant data economy market, the following points are important:</p><ol><li><p><strong>Data ownership rights</strong> are key to securing rights and compliant use and should be disposed of in a structured allocation, while data use requires confirmation of authorization mechanisms. Each participant should have the relevant rights and interests.</p></li><li><p><strong>Circulation transactions</strong> must be combined on and off-site as well as compliant and efficient. It should be based on four principles: data source can be confirmed, use scope can be defined, circulation process can be traced, and security risk can be prevented.</p></li><li><p><strong>The revenue distribution system</strong> needs to be efficient and fair. According to the principle of “who inputs, who contributes, who benefits”, the government can guide and regulate the distribution of data elements.</p></li><li><p><strong>Factor governance</strong> is secure, controllable, flexible, and inclusive. This requires an innovative government data governance mechanism, the establishment of a data elements market credit system, and encourage enterprises to actively participate in the construction of a data elements market around data sources, data ownership rights, data quality, data use, etc., the implementation of the data circulation transaction statement and commitment system for data vendors and third-party professional service organizations.</p></li></ol><p>The above principles are the basic principles for regulators to consider the data economy. These principles can be used to think about three scenarios: property data development and integration, composable initial data layers, and public data mining. What kind of infrastructure do we need to support this? What kind of value can these infrastructures capture at what stages?</p><h3 id="h-scenario-1-data-ownership-rights-development-and-integration" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Scenario 1: Data ownership rights development and integration</h3><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/d37b966f10c585c4e32a2c143b1aa53a545ac7ac22f5bb081e3c7c1acae3d282.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>In the process of property rights data development, it is necessary to establish a <strong>categorical and hierarchical rights confirmation and authorization mechanism</strong> to determine the ownership, use rights, and management rights of public, corporate, and personal data. According to the data source and generation characteristics, the property rights of data are defined through “data adaptation”. Among them, typical projects include Navigate, Streamr Network, KYVE, etc. These projects realize data quality standardization, data collection, and interface standardization through technical means, confirm the rights of off-chain data in some form, and carry out data classification and hierarchical authorization through smart contracts or internal logic systems.</p><p>The applicable data types in this scenario are non-public data, namely enterprise and personal data. The value of data elements should be activated by “common use and shared benefits” in a market-oriented manner.</p><ul><li><p>Enterprise data includes all kinds of market subjects in the production and business activities collected and processed data that do not involve personal information and public interests. Market subjects enjoy the rights and interests to hold, use and obtain benefits in accordance with the law, as well as the right to receive reasonable returns for their input labor and other factor contributions.</p></li><li><p>Personal data requires data processors to collect, hold, host, and use data per the scope of individual authorization and the law. Use innovative technical means to promote the anonymization of personal information and to safeguard the security of information and personal privacy when using personal information data. Explore mechanisms for trustees to represent the interests of individuals and supervise the collection, processing, and use of personal information data by market entities. For special personal information data related to national security, the use of relevant units may be authorized in accordance with the law and regulations.</p></li></ul><h3 id="h-scenario-2-combinable-initial-data-layers" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Scenario 2: Combinable initial data layers</h3><p>Composable initial data layers are an important part of the data economy market. Unlike general property rights data, the most obvious feature of this part of data is that the standard data format needs to be defined through “data schema management”. Different from the quality, collection, and interface standardization of “data adaptation”, the emphasis here is on the standardization of data models, including standard data formats and standard data models. Ceramic and Lens are the pioneers in this field. They respectively guarantee the standard mode of off-chain (decentralized storage) and on-chain data, thus making data composable.</p><p>Built on top of these data schema management tools are composable initial data layers, often called “data layers”, such as Cyberconnect, KNN3, etc.</p><p>The combinable initial data layers are less involved in the Web2 technology stack, but ceramic-based hot data reading tools break this point, which will be a critical breakthrough. Many similar data do not need to be stored on the blockchain, and storing them on the blockchain is difficult. Still, they need to be stored on a decentralized network, such as high-frequency low-value density such as user posts, likes, and comments Data, and Ceramic provides a storage paradigm for this type of data.</p><p>Composable initial data is a key scenario for innovation in the new era, and it is also an important symbol of the end of data hegemony and monopoly. It can solve the cold start problem of start-ups in terms of data, combining mature data sets and new data sets so that Startups can build a data competitive advantage faster. At the same time, it lets start-ups focus on incremental data value and freshness to win continuous competitiveness for their innovative ideas. This way, large data will not become a moat for large companies.</p><h3 id="h-scenario-3-public-data-mining" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Scenario 3: Public Data Mining</h3><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/0a09163c44e0aac7d6c1b2bc4c5436ec85642a3e2df394de5455da33bbb46cda.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>Common data mining is not a new use case but has received unprecedented prominence in the Web3 technology stack.</p><p>Traditional public data includes public data generated by party and government agencies, enterprises, and institutions performing their duties according to law or providing public services. Regulatory agencies encourage providing such data to society in the form of models, verification, and other products and services per the requirements of “original data not out of domain, data usable but not visible” on the premise of protecting personal privacy and ensuring public safety. They use traditional technology stacks (blue and some orange, orange represents the intersection of multiple types of technology stacks, the same as below).</p><p>In Web3, the transaction data and activity data on the blockchain are another type of public data, which is characterized by “available and visible”, so it lacks data privacy, data security, and data use confirmation authorization capabilities, which is a real ” Public goods” (Public Goods). They use a technology stack (yellow and partially orange) with blockchain and smart contracts at its core.</p><p>The data on decentralized storage is mostly Web3 application data other than transactions. At present, it is mainly file and object storage, and the corresponding technology stack is still immature (green and some orange). The production and mining of this type of public data utilize storage common issues, including hot and cold storage, indexing, state synchronization, rights management, computation, etc.</p><p>Many data applications have emerged in this scenario. They are not data infrastructure but more data tools, including Nansen, Dune, NFT Scan, 0x Scope, etc.</p><p><strong>Case: Data Exchange</strong></p><p>Data exchange is a platform where data is traded as a commodity. They can be categorized and compared based on transaction objects, pricing mechanisms, quality assurance, etc. Data Stream X, Dawex, and Ocean Protocol are typical market data exchanges.</p><p>Ocean Protocol (200 million market cap) is an open-source protocol that enables businesses and individuals to exchange and liquidate data and data-based services. The protocol is based on the Ethereum blockchain and uses “datatokens” to control access to datasets. A data token is a special ERC20 token representing ownership or access to a dataset or a data service. Users can purchase or earn data tokens to access the information they need.</p><p>The technical architecture of Ocean Protocol consists of the following main components:</p><ul><li><p>Providers: Providers providing data or data services can earn revenue by issuing and selling their own data passes through Ocean Protocol.</p></li><li><p>Consumers: Demanders who buy and use data or data services can purchase or earn the data passes they need to gain access through Ocean Protocol.</p></li><li><p>Marketplaces: An open, transparent, and fair marketplace for data transactions provided by Ocean Protocol or a third party that connects providers and consumers globally and offers data passes in multiple types and domains. Marketplaces can help organizations discover new business opportunities, increase revenue streams, optimize operational efficiency, and create value.</p></li><li><p>Network: refers to a decentralized network layer provided by Ocean Protocol that supports data exchange of different types and sizes and ensures security, trust, and transparency in the data transaction process. The network layer is a set of smart contracts that are used to register data, record ownership information, facilitate secure data exchange, etc.</p></li><li><p>Curator (Curator): refers to a role in an ecosystem responsible for screening, managing, and reviewing datasets. They are responsible for reviewing information about the dataset’s source, content, format, and license to ensure that the dataset meets standards and can be trusted and used by other users.</p></li><li><p>Verifier: A role in an ecosystem that verifies, vets data transactions and data services, and reviews and validates transactions between data service providers and consumers to ensure the quality, availability, and accuracy of data services.</p></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/5f97e540608c30b0f66e6d0b18db745c7852327e5e0bf3e21cd8620d9e81ed16.png" alt="Source: Ocean Protocol" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Source: Ocean Protocol</figcaption></figure><p>“Data services” data providers create include data, algorithms, computation, storage, analysis, and curation. These components are tied to the service’s execution agreements (service-level agreements), secure computing, access control, and permissions. Essentially, this controls access to a “cloud service suite” through smart contracts.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/ca19770a317612cce3b88442fda75e5f89d1c2e622ff078568e3914b788ba3c0.png" alt="Source: Ocean Protocol" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Source: Ocean Protocol</figcaption></figure><p>The advantage is that, - Open-source, flexible, and extensible protocols help organizations and individuals create unique data ecosystems. - The decentralized network layer based on blockchain technology can ensure the security, credibility, and transparency of the data transaction process while protecting providers’ and consumers’ privacy and rights. - An open, transparent, and fair data market that can connect providers and consumers worldwide and provide data certificates of various types and fields.</p><p>Ocean Protocol is a typical representative of hybrid architecture. Its data can be stored in different places, including traditional cloud storage services, decentralized storage networks, or the data provider’s own servers. The protocol uses data tokens (datatokens) and non-homogeneous tokens (data NFTs) to identify and manage data ownership and access rights. In addition, the protocol also provides the function of computing to data (compute-to-data), enabling data consumers to analyze and process data without exposing the original data.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/d480da1c69e5bc34ae94376c8dd5e4881dd67d09c82e5d6521a3a3f494b67384.png" alt="Source: Ocean Protocol" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Source: Ocean Protocol</figcaption></figure><p>Although Ocean Protocol is one of the complete data trading platforms on the market at this stage, it still faces many challenges:</p><ul><li><p>Establish an effective trust mechanism to increase the trust between data providers and demanders and reduce transaction risks. For example, establish a data element market credit system, and carry out certification and verification through the blockchain to identify untrustworthy behaviors in data transactions, incentives for keeping promises, punishment for untrustworthiness, credit restoration, objection handling, etc.</p></li><li><p>Establish a reasonable pricing mechanism to reflect the true value of data products, incentivize data providers to provide high-quality data, and attract more demanders.</p></li><li><p>Establish a unified standard specification to facilitate interoperability and compatibility between data of different formats, types, sources, and purposes.</p></li></ul><p><strong>Case: Data Model Marketplace</strong></p><p>Ceramic mentions in their <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://blog.ceramic.network/into-the-dataverse/">Data Universe</a> the open data model marketplace they want to create because data needs interoperability and it can contribute significantly to productivity gains. Such a data model marketplace is achieved through an urgent consensus on the data model, similar to the ERC contract standard in Ether, from which developers can choose a functional template to have an application that conforms to all the data in that data model. At this stage, such a marketplace is not a trading marketplace.</p><p>Regarding the data model, a simple example is that in a decentralized social network, the data model can be reduced to 4 parameters, which are</p><ol><li><p>PostList: stores the index of user posts</p></li><li><p>Post: stores individual posts</p></li><li><p>Profile: stores the user’s profile</p></li><li><p>FollowList: stores the user’s follow list</p></li></ol><p>So how can data models be created, shared, and reused on Ceramic to enable cross-application data interoperability?</p><p>Ceramic provides a Data Models Registry (<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/ceramicstudio/datamodels">Data Models Registry</a>), an open source, community-built, reusable application data model for the Ceramic repository. Here, developers can openly register, discover, and reuse existing data models—the foundation for customer operations applications built on shared data models. Currently, it is based on Github storage, and in the future, it will be decentralized on Ceramic.</p><p>All data models added to the registry are automatically published under the npm package of @datamodels. Any developer can install one or more data models using @datamodels/model - name. These models are available for storing or retrieving data at runtime using any IDX client, including DID Data Store or Self.ID.</p><p>In addition, Ceramic has built a Data Models forum based on GitHub. Each model in the data model registry has its own discussion thread on this forum. The community can comment and discuss it. At the same time, it is also a place for developers to publish their ideas on data models so as to obtain the opinions of the community before adding them to the registry. At present, everything is in the early stage. There are not many data models in the registry. The data models included in the registry should be evaluated by the community and called the CIP standard, just like the smart contract standard of Ethereum, which provides data composability.</p><p><strong>Case: Decentralized Data Warehouse</strong></p><p>Space and Time is the first decentralized data warehouse to connect on-chain and off-chain data to support a new generation of smart contract use cases. Space and Time (SxT) has the industry’s most mature blockchain indexing service. The SxT data warehouse also employs new cryptography called The SxT data warehouse also employs new cryptography called Proof of SQL™ to generate verifiable, tamper-proof results, allowing developers to join untrusted on-chain and off-chain-data-in a simple SQL format and load the results directly into smart contracts, supporting sub-second queries and enterprise-level analytics in a fully tamper-proof and blockchain-anchored manner.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/613bc0cdd56255db9d65ad7fc0687c645867cd7325f7c951d69d606c204bd4de.png" alt="Source: Space and Time" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Source: Space and Time</figcaption></figure><p>Space and Time is a two-tier network with a validator layer and a data warehouse. the success of the SxT platform depends on the seamless interaction of the validator and the data warehouse to facilitate simple and secure querying of both on-chain and off-chain data.</p><p>A data warehouse consists of database networks and computes clusters controlled by and routed to them by space and time validators. Space and time adopt a flexible storage solution: HTAP (Hybrid transactional/analytic processing).</p><p>The validator monitors, commands, and validates the services provided by these clusters, then orchestrates the data flow and queries between end users and data warehouse clusters. Validators provide a means for data to enter a system (such as a blockchain index) and data to exit a system (such as a smart contract).</p><ul><li><p>Routing - supports transactional and query interactions with a network of decentralized data warehouses</p></li><li><p>Streaming - acts as a sink for high-volume customer streaming (event-driven) workloads</p></li><li><p>Consensus - Provides high-performance Byzantine Fault Tolerance for data entering and exiting the platform</p></li><li><p>Query Proof - provide SQL proof to the platform</p></li><li><p>Table Anchor - provide proof of storage to the platform by anchoring the table on the chain</p></li><li><p>Oracle - supports Web3 interactions, including smart contract event listening and cross-chain messaging/relaying</p></li><li><p>Security - preventing unauthenticated and unauthorized access to the platform</p></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/2134afe8f0e1ed8427dfe096ad6c3283049e01d9f235cd2d53f1bb2180592b30.png" alt="Source: Space and Time" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Source: Space and Time</figcaption></figure><p>Space and Time as a platform is the world’s first decentralized data structure, opening up a powerful but underserved market: data sharing. Within the Space and Time platform, companies can share data freely and use smart contracts to trade the shared data. A<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.spaceandtime.io/docs/proof-of-sql">dditionally, datasets can be proof-of-sql</a> monetized and aggregated without giving consumers access to the raw data. Data consumers can trust that aggregations are accurate without seeing the data itself, so data providers no longer have to be data consumers. It is for this reason that the combination of SQL proofs and data structure schemas has the potential to democratize data manipulation, as anyone can contribute to ingesting, transforming, and serving datasets.</p><h2 id="h-web3-data-governance-and-discovery" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Web3 Data Governance and Discovery</h2><p>Currently, the Web3 data infrastructure lacks a practical and efficient data governance architecture. However, a practical and efficient data governance infrastructure is essential to configure the data elements of each participant’s relevant rights and interests.</p><ul><li><p>For the data source, it is necessary to have informed consent and the right to acquire, copy and transfer the data itself freely.</p></li><li><p>For data processors, they need to have the right to self-control, use data and obtain benefits.</p></li><li><p>For data derivatives, operating rights are required.</p></li></ul><p>Currently, Web3 data governance capabilities are single, assets and data (including ceramics) can only be controlled by controlling private keys, and almost no hierarchical classification configuration capability exists. Recently, the innovative mechanisms of Tableland, FEVM, and Greenfield can achieve trustless data governance to a certain extent. Traditional data governance tools such as Collibra can only be used within the enterprise and only have platform-level trust. At the same time, non-decentralized technology also makes it impossible to prevent personal evil and single points of failure. Through data governance tools such as Tableland, the security technologies, standards, and solutions required for the data circulation process can be guaranteed.</p><p><strong>Case: Tableland</strong></p><p>Tableland Network is a decentralized web3 protocol for structured relational data, starting with Ethereum (EVM) and EVM-compatible L2. With Tableland, it is now possible to implement traditional web2 relational database functionality by leveraging the blockchain layer for access control. However, Tableland is not a new database - just web3 native relational tables. Tableland offers a new way to enable dapps to store relational data in web3-native networks without these tradeoffs.</p><p>Solutions</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/b5c8ec071a10b6ca1eb2602b21a505973cc3923c8ba6fbfa8d4b445539b66614.png" alt="Source: Tableland" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Source: Tableland</figcaption></figure><p>With Tableland, metadata can be mutated (with access controls if needed), queried (using familiar SQL), and composable (with other tables on Tableland) - all in a fully decentralized manner.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/fd3d78ed9983ca3d8b2ce3c766f508b193062915806a97491a61cd2f50952164.png" alt="Source: Tableland" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Source: Tableland</figcaption></figure><p>Tableland breaks down a traditional relational database into two main components: an on-chain registry with access control logic (ACL) and an off-chain (decentralized) table. Every table in Tableland is initially minted as an ERC721 token on a base EVM compatibility layer. Thus, on-chain table owners can set ACL permissions on the table, while off-chain, the Tableland network manages the creation and subsequent alteration of the table itself. Linking between on-chain and off-chain is handled at the contract level. It points to the Tableland network (using base URI + token URI, much like many existing ERC721 tokens that use IPFS gateways or escrow servers for metadata).</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/f08128c137bca651e5dfad389fb35917cb556213413fc6aeb818d89882bd1b1a.png" alt="Source: Tableland" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Source: Tableland</figcaption></figure><p>Only people with the appropriate on-chain privileges can write to a particular table. However, table reads do not have to be on-chain operations and can use the Tableland gateway; therefore, read queries are free and can come from simple front-end requests or other non-EVM blockchains. To use Tableland, a table must first be created (i.e., cast on the chain as ERC721). The deployment address is initially set to the table owner, and this owner can set permissions for any other users who try to interact with the table to make changes. For example, the owner can set rules for who can update/insert/delete values, what data they can change, and even decide if they want to transfer ownership of the other side of the table. In addition, more complex queries can join data from multiple tables (owned or unowned) to create a fully dynamic and composable relational data layer.</p><p>Consider the following diagram, which summarizes a new user’s interaction with a table that has been deployed to Tableland by some dapp:</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/92b11c85b2799a444760035d6d291e67d4bfb9510af10f18b4b6d44d130c8bb3.png" alt="Source: Tableland" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Source: Tableland</figcaption></figure><p>Here is the overall flow of information:</p><ol><li><p>A new user interacts with the dapp’s UI and tries to update some information stored in a Tableland table.</p></li><li><p>The dapp calls the Tableland registration smart contract to run this SQL statement, and this contract checks the dapp’s smart contract, which contains a custom ACL that defines the permissions of this new user.</p></li></ol><p>There are a few points to note:</p><ol><li><p>Custom ACLs in separate smart contracts for dapps are a completely optional but advanced use case; developers don’t need to implement custom ACLs and can use the default policy of the Tableland Registry smart contract (only the owner has full permissions).</p></li><li><p>You can also use Gateway to write queries instead of calling Tableland smart contracts directly. There will always be an option for dapps to call Tableland smart contracts directly, but any query can be sent through the Gateway, which will relay the query to the smart contract on a subsidized basis.</p></li><li><p>The Tableland smart contract takes the user’s SQL statements and permissions, incorporating these into emitted events that describe the SQL-based actions to be taken.</p></li><li><p>The Tableland Validator node listens to these events and then takes one of the following actions:</p><ol><li><p>If the user has the correct permissions to write to the table, the validator will run SQL commands accordingly (insert a new row into the table or update an existing value) and broadcast the confirmation data to the Tableland network.</p></li><li><p>If the user does not have the correct permissions, the Validator will not perform any operations on the table.</p></li><li><p>If the request is a simple read query, the corresponding data is returned;</p></li><li><p>Tableland is a completely open relational data network where anyone can perform read-only queries on any table.</p></li><li><p>Dapps can reflect any updates on the Tableland network via the Gateway.</p></li></ol></li></ol><p><strong>(Usage scenario) What to avoid - Personally identifiable data</strong> - Tableland is an open network; anyone can read data from any table. Therefore, personal data should not be stored in Tableland.</p><ul><li><p><strong>High-frequency,</strong> sub-second writes - e.g., high-frequency trading robots.</p></li><li><p><strong>Storing every user interaction in the application</strong> - keeping this data in Web3 tables, such as keystrokes or clicks, may not make sense. The frequency of writes can lead to high costs.</p></li><li><p><strong>Very large data sets</strong> - These should be avoided and are best handled through file storage, using solutions such as IPFS, Filecoin, or Arweave. However, pointers to these locations and associated metadata are actually a good use case for Tableland tables.</p></li></ul><h3 id="h-thoughts-on-valuation-capture" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Thoughts on valuation capture</h3><p>The different units have an irreplaceable role in the overall data infrastructure architecture, and the value of their value capture is mainly reflected in the market value/valuation and estimated earnings, which can be obtained from the following conclusions:</p><ol><li><p><strong>Data Source</strong> is the module with the largest value capture in the whole architecture</p></li><li><p><strong>Data Replication, Transformation, Streaming, and Data Warehousing</strong> are the next most important</p></li><li><p><strong>Analytics layer</strong> may have good cash flow, but there will be an upper limit to valuation</p></li></ol><p>Companies/projects on the left of the structure chart tend to capture greater value.</p><h3 id="h-industry-concentration" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Industry Concentration</h3><p>According to incomplete statistical analysis from the companies in the graph above, industry concentration is judged as follows:</p><ol><li><p>the highest industry concentration is data storage and data query and processing two modules</p></li><li><p>the industry concentration is medium is data extraction and conversion</p></li><li><p>the two modules with low industry concentration are data source, analysis, and output</p></li></ol><p>The industry concentration of data sources, analysis, and output is low. The preliminary judgment is that different business scenarios lead to the emergence of vertical scenario leaders in each business scenario, such as Oracle in the database, Stripe in third-party services, Salesforce in enterprise services, Tableau in dashboard analysis, Sisense in embedded analysis, etc.</p><p>The reason for the moderate industry concentration of data extraction and conversion modules is initially judged to be due to the technology-oriented nature of the business attributes. The modular form of middleware also makes the switching cost relatively low.</p><p>The data storage and query and processing modules with the highest industry concentration are initially judged to be due to the single business scenario, high technical content, high start-up cost, and high cost of subsequent switching, which gives the company/project a strong first-mover advantage and network effect.</p><h3 id="h-thoughts-on-business-models-and-exit-paths-for-data-protocols" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Thoughts on business models and exit paths for data protocols</h3><p>Judging from the time of establishment and listing</p><ul><li><p>Most companies/projects established before 2010 are data source companies/projects. The mobile Internet has not yet emerged, and the data is not very large. There are also some data storage and analysis output projects, mainly dashboards.</p></li><li><p>From 2010 to 2014, on the eve of the rise of the mobile Internet, data storage and query projects such as Snowflake and Databricks were born, data extraction and conversion projects also began to appear, and a set of mature big data management technology solutions gradually improved. There are a large number of analysis output projects, mainly dashboards.</p></li><li><p>From 2015 to 2020, query and processing projects have sprung up, and many data extraction and conversion projects are also emerging so that people can better exert the power of big data.</p></li><li><p>From 2020 onwards, newer real-time analytics databases and data lake solutions emerged, such as Clickhouse and Tabular.</p></li></ul><p>Infrastructure improvement is the premise of the so-called “mass adoption”. During the period of large-scale application, there are still new opportunities. Still, these opportunities are almost only “middleware”, and the underlying data warehouse, data source, and other solutions are almost a winner-takes-all situation unless there is a technically substantial Sexual breakthrough. Otherwise, it will be difficult to grow up.</p><p>And analysis output projects are opportunities for entrepreneurial projects no matter what period they are in. But it is also constantly iteratively innovating and doing new things based on new scenarios. Tableau, which appeared before 2010, occupied most of the desktop dashboard analysis tools. New scenarios emerged later, such as more professional-oriented DS/ML tools, A more comprehensive data workstation, and a more SaaS-oriented embedded analysis.</p><p>Looking at the current data protocol of Web3 from this perspective:</p><ul><li><p>The data source and storage projects are not yet determined, but the leaders are emerging. The state storage on the chain is led by Ethereum (220 billion market value), while the decentralized storage is led by Filecoin (2.3 billion market value) and Arweave (280 million market value). There may be a sudden emergence of Greenfield. ——Highest value capture</p></li><li><p>There is still room for innovation in data extraction and conversion projects. The data oracle machine Chainlink (market value of 3.8 billion) is just the beginning. Event streaming and stream processing infrastructure Ceramic and more projects will appear, but there is not much space. - Moderate value capture</p></li><li><p>For query and processing projects, the Graph (with a market value of 1.2 billion) has been able to meet most of the needs, and the type and quantity of projects have not yet reached the explosive period. - Moderate value capture</p></li><li><p>Data analysis projects, mainly Nansen and Dune (valued at 1 billion), need new scenarios for new opportunities. NFT Scan and NFT Go are similar to new scenarios, but they are only content updates, not analysis logic New requirements at the /paradigm level. — Moderate value capture, strong cash flow.</p></li></ul><p>But Web3 is not a copy of Web2 nor a complete evolution of Web2. Web3 has very original missions and scenarios, thus giving birth to business scenarios that are completely different from before (the first three scenarios are all abstractions that can be made now).</p>]]></content:encoded>
            <author>sevenxventures@newsletter.paragraph.com (SevenX Ventures)</author>
            <enclosure url="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/64b9b7775b347e16d88aa85ef6faa3aac0f6dc73386e1bc0d41439099c479322.jpg" length="0" type="image/jpg"/>
        </item>
        <item>
            <title><![CDATA[Balancing the Power of AI/ML: The Role of ZK and Blockchain]]></title>
            <link>https://paragraph.com/@sevenxventures/balancing-the-power-of-ai-ml-the-role-of-zk-and-blockchain</link>
            <guid>6bAymKLxex2jzvBN6coi</guid>
            <pubDate>Thu, 04 May 2023 05:55:09 GMT</pubDate>
            <description><![CDATA[By @Grace and @Hill, Investors of SevenX Ventures Special thanks to Brian Retford, Sun Yi, Jason Morton, Shumo, Feng Boyuan, Daniel, Aaron Greenblatt, Nick Matthew, Baz, Marcin, and Brent for incredibly valuable insights, feedback, and review of this post. For us fellow degens living under a crypto rock, AI has been on fire for a while. Fun story, no one wants to see an AI go rogue. Blockchain was invented to prevent the US dollar from going rogue, so we might just give it a shot. Also, we no...]]></description>
            <content:encoded><![CDATA[<p><em>By </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href=""><em>@Grace</em></a><em> and </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/Hill79025920"><em>@Hill</em></a><em>, Investors of SevenX Ventures</em></p><p><em>Special thanks to Brian Retford, Sun Yi, Jason Morton, Shumo, Feng Boyuan, Daniel, Aaron Greenblatt, Nick Matthew, Baz, Marcin, and Brent for incredibly valuable insights, feedback, and review of this post.</em></p><p>For us fellow degens living under a crypto rock, AI has been on fire for a while. Fun story, no one wants to see an AI go rogue. Blockchain was invented to prevent the US dollar from going rogue, so we might just give it a shot. Also, we now have a new technology called ZK, which is used to ensure stuff doesn&apos;t go wrong. I just assumed that the average degen knows a slight bit about what blockchain and ZK are. However, to tame the AI beast, we must understand how AI works.</p><h2 id="h-part-i-an-understandable-intro-to-ml" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Part I: An Understandable Intro to ML</h2><p>AI has gone through a few names from “expert systems“ to “neural nets“, then “graphical models“, and eventually “machine learning“. All of these are subsets of “AI“ which people give different names and we learn more about AI. Let&apos;s take a small dive into ML and unveil the mysteries of machine learning.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/11c659ac6ce3d0301bf94b9692ad706020239a39ba55850e6d10ce94dc9b53ae.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p><em>Note: most machine learning models today are neutral networks for their excellent performance for many tasks. We mainly refer to machine learning as neural networks machine learning.</em></p><h3 id="h-how-does-machine-learning-work" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">How does machine learning work?</h3><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/0f75185e6da7ff18e7c678a6eda4e8508002e4e56033d024884987683813c98c.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>First, let&apos;s join me on a quick journey through the inner workings of machine learning：</p><ol><li><p><strong>Input data Preprocessing:</strong></p><p>The input data needs to be processed into a format that can be used as input to the model. This often involves preprocessing and feature engineering to extract useful information and transform the data into a suitable form, such as an input matrix or tensor (high dimensional matrix). This is the expert systems approach. As deep learning comes across, layers appear to take care of the pre-processing automatically.</p></li><li><p><strong>Set up initial model parameters:</strong></p><p>Initial model parameters include several layers, activation functions, initial weights, biases, learning rate, etc. Some can be adjusted during training to improve the model&apos;s accuracy using optimization algorithms.</p></li><li><p><strong>Train the data：</strong></p><ol><li><p>The input is fed into the neural network, typically starting with one or more layers of feature extraction and relationship modeling, such as convolutional layers（CNN）, recurrent layers（RNN）, or self-attention layers. These layers learn to extract relevant features from the input data and model the relationships between these features.</p></li><li><p>The output from these layers is then passed through one or more additional layers, which perform different computations and transformations on the input data. These layers typically mainly involve matrix multiplication with learnable weight matrices and the application of non-linear activation functions, but they could also include other operations, such as convolutions and pooling in convolutional neural networks or iterations in recurrent neural networks. The output of these layers serves as input to the next layer in the model or as the final output for prediction.</p></li></ol></li><li><p><strong>Get the output of the model:</strong></p><p>The output of neural network computation is usually a vector or matrix that represents the probability of image classification, sentiment analysis score, or other results, depending on the application of the network. There is usually another error evaluation &amp; parameter update module which allows automatic updates to parameters depending on the purpose of the model.</p></li></ol><p>If the above explanation seems too obscure, you can look at the following example of using a CNN model to recognize images of apples.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/d0b76b047309df5d207e714d81f2b18a24393987ee4b808ec5c9cdc014e5f9b5.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><ol><li><p>An image is loaded into the model as a matrix of pixel values. The matrix can be represented as a 3D tensor with dimensions (height, width, channels).</p></li><li><p>The initial parameters of the CNN model are set.</p></li><li><p>The input image is fed through multiple hidden layers in the CNN, where each layer applies convolutional filters to extract increasingly complex features from the image. The output of each layer is passed through a non-linear activation function and then pooled to reduce the dimensionality of the feature maps. The final layer is typically a fully connected layer that produces the output prediction based on the extracted features.</p></li><li><p>The final output of the CNN is the class with the highest probability. This is the predicted label for the input image.</p></li></ol><h2 id="h-the-ml-trust-framework" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">The ML trust framework</h2><p>We can then summarize the above into an ML trust framework, which includes four essential layers of ML that need to be trustworthy for the entire ML process to be reliable:</p><ul><li><p><strong>Input:</strong> Raw data needs to be preprocessed, and sometimes it needs to be private.</p><ul><li><p><strong>Integrity</strong>: input data is not tampered with, contaminated with adversarial input, and is correctly pre-processed.</p></li><li><p><strong>Privacy</strong>: input data is not leaked if desired.</p></li></ul></li><li><p><strong>Output:</strong> Needs to be accurately generated and transmitted</p><ul><li><p><strong>Integrity</strong>: output is correctly generated.</p></li><li><p><strong>Privacy</strong>: output is not leaked if desired.</p></li></ul></li><li><p><strong>Model Type/Algo:</strong> models should be correctly computed</p><ul><li><p><strong>Integrity</strong>: model is executed correctly.</p></li><li><p><strong>Privacy</strong>: the model itself or the computation is not leaked if desired.</p></li><li><p>Different neural network models have different algos and layers, catering to different use cases and inputs.</p></li><li><p>CNNs are commonly used for tasks involving grid-like data, such as images, where local patterns and features can be captured by applying convolutional operations to small input regions.</p></li><li><p>RNNs, on the other hand, are well-suited for sequential data such as time series or natural language, where the hidden states can capture information from previous time steps and model temporal dependencies.</p></li><li><p>Self-attention layers are useful for capturing relationships between elements in the input sequence, making them effective for tasks such as machine translation or summarization, where long-range dependencies are essential.</p></li><li><p>Several other model types exist, including Multilayer Perceptron (MLP), etc.</p></li></ul></li><li><p><strong>Model parameters: parameters should be transparent or democratically generated in some cases but not easy to tamper with in all cases.</strong></p><ul><li><p>Integrity: parameters are generated, maintained, and governed in the correct manner.</p></li><li><p><strong>Privacy</strong>: Model owners often keep machine learning model parameters confidential to protect the intellectual property and competitive advantage of the organization that developed the model. This is only prevalent until transformer models become crazy expensive to train but nonetheless a major issue for the industry.</p></li></ul></li></ul><h2 id="h-part-ii-the-trust-issue-with-ml" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Part II: The Trust Issue with ML</h2><p>With the explosive growth of Machine Learning (ML) applications (with CAGR exceeding 20%) and their increasing integration into daily life, such as the recent popularity of ChatGPT, issues of trust in ML are becoming increasingly critical and cannot be ignored. Therefore, it is crucial to discover and address these trust issues to ensure the responsible use of AI and prevent its potential misuse. However, what exactly are these issues? Let&apos;s dive in.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/6b2327843e89d80320afba8e726fbc95275eb6df0e2b08e3dc5aed75fc88dfdf.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><h3 id="h-lack-of-transparency-or-provability" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Lack of transparency or provability</h3><p>Trust issues have long plagued machine learning for two main reasons:</p><ul><li><p><strong>Privacy nature:</strong> As mentioned above, the model parameters are usually private, and in some cases, the model input also needs to be private, which naturally brings some trust problems between the model owner and the model users.</p></li><li><p><strong>Blackbox of the algorithm:</strong> Machine learning models are sometimes referred to as &apos;black boxes&apos; because they involve many automated steps in the computational process that can be difficult to understand or interpret. These steps involve complex algorithms and large amounts of data which bring indeterministic and sometimes random output, putting the algorithm in a place to be blamed for biases and even discrimination.</p></li></ul><p>Before going more profound, the bigger assumption in this article is that the model is already &quot;ready to use, &quot; meaning it&apos;s well-trained and fit for purpose. The model might not fit all cases, and models improve at a staggering rate that the normal shelf life of an ML model is anywhere from 2 to 18 months, depending on application scenarios.</p><h3 id="h-a-detailed-breakdown-of-ml-trust-issues" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">A detailed breakdown of ML trust issues</h3><p>There are trust issues that underlie the model training process, and <em>Gensyn</em> is currently working on generating effective proof to contribute to this process. However, this article will mainly focus on the model inference process. Now let&apos;s use the four building blocks of ML to discover underlying trust issues:</p><ul><li><p><strong>Input:</strong></p><ul><li><p>The data source is tamper-proof</p></li><li><p>Private input data is not stolen by the model operators (privacy problem)</p></li></ul></li><li><p><strong>Model:</strong></p><ul><li><p>The model itself is accurate as advertised.</p></li><li><p>The computation process is done correctly.</p></li></ul></li><li><p><strong>Parameters:</strong></p><ul><li><p>The parameters of the model are not changed or are as advertised.</p></li><li><p>Model parameters which are valuable assets to the model owner are not leaked during the process (privacy problem)</p></li></ul></li><li><p><strong>Output:</strong></p><ul><li><p>Output is provably correct (may improve with all elements mentioned above)</p></li></ul></li></ul><h3 id="h-how-zk-applies-to-the-ml-trust-framework" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">How ZK applies to the ML trust framework</h3><p>Some of the above trust issues can be solved simply by going on-chain; uploading the inputs and ML parameters on-chain and calculating the model on-chain can ensure the correctness of input, parameters and model computations. But this method might sacrifice scalability and privacy. <em>Giza</em> is doing this on Starknet, but due to the cost problem, it only supports simple machine learning models like regression and does not support neural networks. ZK technology can solve the above trust issues more efficiently. Currently, ZKML&apos;s ZK usually refers to zkSNARK. First, let&apos;s quickly go over some basics of zkSNARKs:</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/5fed1e30d8e174b0d652079256adff322798345a028d5cc278df398bea41b32f.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>A zkSNARK proof is proof that I know some secret inputs w such that the result of this computation f is OUT is true without telling you what the w is. The proof generation process can be summed up into several steps:</p><ol><li><p>Formulating a statement that needs to be proved: f(x,w)=true</p><p><em>&quot;I have correctly classified this image x using an ML model f with private parameters w.&quot;</em></p></li><li><p>Converting the statement into a circuit（Arithmetization）: different circuit construction approaches include the R1CS, QAP, Plonkish, etc.</p><p><em>ZKML needs an additional step called </em><strong><em>quantization</em></strong><em> compared to other use cases. Neural network inference is typically done in floating-point arithmetic, which is extremely expensive to emulate in the prime field of arithmetic circuits. Different quantization methods are a trade-off between accuracy and equipment requirements.</em></p><p><em>Some circuit construction methods like R1CS are not efficient for neural networks. This part can be adjusted to improve performance.</em></p></li><li><p>Generating a proving key and a verification key</p></li><li><p>Creating a witness: when w=w*,f(x,w)=true</p></li><li><p>Creating a hash commitment: The witness w* is committed to using a cryptographic hash function to generate a hash value. This hash value can then be made public.</p><p><em>It helps ensure the private inputs or model parameters have not been tampered with or modified during the computation process. This step is essential as even minor modifications can have significant impacts on the model&apos;s behavior and output.</em></p></li><li><p>Generating proof: Different proof systems use different proof generation algorithms.</p><ol><li><p><em>Special zero-knowledge rules need to be designed for machine learning operations, such as matrix multiplication and convolutional layers, allowing for efficient protocols with sub-linear time for these computations.</em></p><ol><li><p><em>The general zkSNARK systems like groth16 might not be able to process neural networks efficiently as the calculation workload is too much.</em></p></li><li><p><em>Since 2020, many new ZK proof systems have emerged to optimize the ZK proof for the model inference process, including </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://eprint.iacr.org/2020/584"><em>vCNN</em></a><em>, </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://eprint.iacr.org/2021/087"><em>ZEN</em></a><em>, </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://eprint.iacr.org/2021/673"><em>ZKCNN</em></a><em>, and </em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://arxiv.org/abs/2201.09186"><em>pvCNN</em></a><em>. However, most of them are optimized for CNN models. They can only be applied to some primary datasets, such as MNIST or CIFAR-10.</em></p></li><li><p><em>In 2022,</em><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://arxiv.org/abs/2210.08674"><em> Daniel Kang Tatsunori Hashimoto, Ion Stoica, and Yi Sun(founder of Axiom) proposed a new proof scheme based on Halo2</em></a><em>, which first achieved ZK proof generation for the ImageNet dataset. Their optimization mainly falls on the arithmetization part, with novel lookup arguments for non-linearities and the reuse of sub-circuits across layers.</em></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://drive.google.com/file/u/0/d/1tylpowpaqcOhKQtYolPlqvx6R2Gv4IzE/view?pli=1"><em>Modulus Labs is benchmarking different proof systems</em></a><em> for on-chain inference and finds that in terms of proof time, ZKCNN and plonky2 perform the best; in terms of peak prover memory usage, ZKCNN and halo2 perform well; while plonky, although performing well, sacrifices memory consumption and ZKCNN is only usable for CNN models. It is also developing a new zkSNARK system, especially for ZKML with a new virtual machine.</em></p></li></ol></li></ol></li><li><p>Verifying the proof: The verifier uses the verification key to verify without requiring the knowledge of the witness.</p></li></ol><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/2ff0907c6ec831ed2fc3bef033dfd2e3b9f1b9efeb6b3a2b7f3c9dd4bafd4721.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>We can therefore demonstrate that applying zero-knowledge techniques to a machine-learning model can solve a lot of its trust issues. Similar techniques that use interactive verification can achieve similar results but will require more resources on the verifier side and potentially face more privacy issues. It is worth noting that depending on the exact model, generating proofs for them can be time and resource-consuming, so there will be compromises in various aspects when this technique is eventually implemented in real-world use cases.</p><h3 id="h-current-landscape-of-the-solutions" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Current Landscape of the solutions</h3><p>Next, what&apos;s on the table? Bear in mind that there are many reasons why model providers may not want to generate a ZKML proof. For those who are brave enough to try ZKML and when the solutions make sense to be implemented, they can choose from a few different solutions according to where their models and inputs lie:</p><ul><li><p><strong>If the input data is on-chain, Axiom could be considered as a solution:</strong></p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.axiom.xyz/blog/intro">Axiom</a> is building a ZK co-processor for Ethereum to improve user access to blockchain data and provide more sophisticated views of on-chain data. It is feasible to do reliable machine learning computation on on-chain data:</p><ul><li><p>First, Axiom imports on-chain data by storing Merkle roots of Ethereum block hashes in its smart contract AxiomV0, which are trustlessly verified through a ZK-SNARK verification process. The AxiomV0StoragePf contract then allows for batch verification of arbitrary historic Ethereum storage proofs against the root of trust given by block hashes cached in AxiomV0.</p></li><li><p>Next, the ML input data can be pulled from imported historical data.</p></li><li><p>Then Axiom can apply verified machine learning operations on top; The validity of each piece of computing is verified using optimized halo2 as the backend.</p></li><li><p>Finally, Axiom accompanies the result of each query with the zk proof, and the Axiom smart contract would verify the zk proof. Any related parties who want the proof can access it from the smart contract.</p></li></ul></li><li><p><strong>If the model is put on-chain, RISC Zero could be considered as a solution:</strong></p><p>The RISC Zero ZKVM is a RISC-V virtual machine that produces zero-knowledge proofs of the code it executes. Using the ZKVM, a cryptographic receipt is produced, which anyone can verify was produced by the ZKVM&apos;s guest code. No additional information about code execution (such as, for example, the inputs provided) is revealed by publishing the receipt.</p><ul><li><p>By running a machine learning model in RISC Zero&apos;s ZKVM, it can be proven that the exact computation involved in the model is carried out. The computation and the verification process can be done either off-chain in a user&apos;s preferred environment, or in the Bonsai Network, which is a universal roll-up.</p><ul><li><p>First, the model&apos;s source code would need to be compiled into a RISC-V binary file. When this binary file is executed inside the ZKVM, the output is paired with a computational receipt that contains a cryptographic seal. This seal serves as a zero-knowledge argument of computational integrity and links the cryptographic imageID (which identifies the RISC-V binary file that was executed) to the asserted code output in a way that third parties can quickly verify.</p></li><li><p>When the model executes inside the ZKVM, the computation about state change is done entirely within the VM. It does not leak any information about the model&apos;s internal state to external parties.</p></li><li><p>Once the model has finished executing, the resultant seal serves as a zero-knowledge proof of computational integrity.</p></li></ul></li><li><p>The exact process of generating the ZK proof involves an interactive protocol with a random oracle as the verifier. The seal on a RISC Zero receipt is essentially the transcript of this interactive protocol.</p></li></ul></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/2280079e0ae464272322ca55072ef73c89d2026f54ebccc5a50f99f45570b691.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><ul><li><p><strong>If you want to directly import a model from commonly-used ML software like Tensorflow or Pytorch, ezkl</strong> <strong>could be considered as a solution:</strong></p><ul><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/zkonduit/ezkl">Ezkl</a> is a library and command-line tool for making inferences for deep learning models and other computational graphs in a zkSNARK.</p><ul><li><p>First, export the final model as a <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://onnx.ai/">.onnx</a> file and some sample inputs to a .json file.</p></li><li><p>Then, point ezkl to the .onnx and .json files to generate a ZK-SNARK circuit with which you can prove ZKML statements.</p></li></ul></li><li><p>Looks simple, right? It is ezkl&apos;s goal to offer an <strong>abstraction layer</strong> that allows for higher-level operations to be called and laid out in a Halo 2 circuit. Ezkl abstracts away a lot of complexity while staying incredibly flexible. Their quantization model has a scale factor for automated quantization. They support a flexible change to other proving systems as new solutions emerge. They also support several types of virtual machines, including EVM and WASM.</p></li><li><p>Regarding the proving system, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.youtube.com/watch?v=7rxNN4mcOgI&amp;t=760s">ezkl customs halo2 circuits through aggregation proofs (transform hard-to-verify into easy-to-verify through an intermediary) and recursion(can solve the memory problem, but hard to fit in halo2). Ezkl also optimizes the whole process using fusion and abstraction (can reduce overhead through high-level proof) </a></p></li></ul></li><li><p>It is also worth noticing that, <strong>compared to other general-purpose zkml projects, Accessor Labs focuses on providing zkml tooling specially designed for fully onchain gaming</strong>, and might involve AI NPC, automatic updates of gameplay, game interface involving natural language, etc.</p></li></ul><h2 id="h-part-iii-where-is-the-use-case" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Part III: Where is the Use Case?</h2><p>Solving ML&apos;s trust issues with ZK technology means it can now be applied to many more &quot;high-stakes&quot; and &quot;highly deterministic&quot; use cases rather than just keeping up with people&apos;s conversations or telling the pictures of cats apart from pictures of dogs. Web3 is already exploring a lot of these use cases. This is no coincidence as most Web3 applications run or intend to run on a blockchain because of the specific nature of a blockchain that can run securely, is difficult to tamper with, and has deterministic computations. A verifiably well-behaving AI should be an AI capable of conducting activities in a trustless and decentralized environment, right?</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/a5a3bdbd05746ebbd7c5e1116907a95ef3825f9d2708807e4f1fb4fa67c6ccce.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><h3 id="h-web3-use-cases-where-zkml-works" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Web3 use cases where ZK+ML works</h3><p>Many Web3 applications have been sacrificing user experiences for the sake of security &amp; decentralization since that&apos;s obviously their priority, and limitations of infrastructures also exist. AI/ML has the potential to enrich user experiences, which will certainly help but previously seemed impossible without compromise. Now, thanks to ZK, we can comfortably see the marriage of AI/ML with Web3 applications without too much sacrifice on security &amp; decentralization.</p><p>Essentially, it would be a Web3 application (which may or may not exist when writing this article) implementing ML/AI in a trustless way. By a trustless manner, we mean whether it&apos;s operated in a trustless environment/platform or its operation is provably verifiable. Note that not all ML/AI use cases (even in Web3) are needed or preferred to run in a trustless way. We will analyze each part of the ML functionality used in various Web3 fields. Then, we will identify the parts that require ZKML, <strong>usually the high-value parts that people are willing to pay extra money for proof.</strong></p><p>Most use cases/applications mentioned below are still in the experimental research phase. Hence, they are still far from actual adoption. We will discuss why later.</p><p><strong>Defi</strong></p><p>Defi is one of the few demonstrated product market fit for blockchain protocols and Web3 applications. Being able to create, store and manage wealth &amp; capital in a permissionless way is unprecedented in human history. We have identified many use cases where an AI/ML model would need to operate permissionless to ensure security &amp; decentralization.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/5dae6e2164ff90332647b4ecedad6c52dd669d5e151d7b07d3ca7abb853020b0.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><ul><li><p>Risk Assessment: Modern finance requires AI/ML models for all kinds of risk assessment, from preventing fraud and money laundering to giving out uncollateralized loans. Ensuring this AI/ML model functions in a verifiable way means we can prevent them from being manipulated into censorship, which hinders the permissionless nature of using Defi products.</p></li><li><p>Asset Management: automated trading strategy has not been new for Tradfi and Defi. Efforts to apply AI/ML-generated trading strategies have been made, but only a few decentralized ones have been successful. Current typical applications of the defi sector include the rocky bot experimented with by Modulus Labs.</p><ul><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/Modulus-Labs/RockyBot">The Rocky Bot</a>： Modulus Labs created a trading bot on StarkNet using AI for decision-making.</p><ul><li><p>An L1 contract that holds funds and exchanges WEth / USDC on Uniswap.</p><ul><li><p>This fits into the &quot;output&quot; part of the ML trust framework. The output is generated on an L2, transmitted to an L1, and used for execution. During the process, it&apos;s not to be tampered with.</p></li></ul></li><li><p>An L2 contract implements a simple (but flexible) 3-layer neural network to predict future WEth prices. The contract uses historical WETH price information as input.</p><ul><li><p>This fits into the &quot;input&quot; and the &quot;model&quot; parts. The historical price information input comes from the blockchain. The model&apos;s execution is calculated in CairoVM, a ZKVM whose execution trace will generate a ZK proof for verification.</p></li></ul></li><li><p>A simple frontend for visualization and PyTorch code for training both regressors and classifiers.</p></li></ul></li></ul></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/a0ef310343b5012d9cb4146d5ef6ee6bcc1e542a25ba8c85c130ff1685381aa5.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><ul><li><p>Automated MM and liquidity provision: this is in essence a combination of similar efforts conducted in risk assessment and asset management, just done in a different manner when it comes to volume, timeline, and asset types. There have been numerous papers on how ML can be used in market making in the equities market. It might only be a matter of time before some of them are applicable to Defi products.</p><ul><li><p>For example, Lyra Finance is working with Modulus Labs to enhance their AMM with intelligent features to become more capital efficient.</p></li></ul></li><li><p>Honorable mentions:</p><ul><li><p>Warp.cc team has developed a tutorial <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/warp_contracts/status/1650866927747604481?s=20">project</a> on how to deploy a smart contract that runs a trained neural network to predict Bitcoin&apos;s price. This falls into the &quot;input&quot; and &quot;model&quot; parts of our framework as the input is fed with the RedStone Oracles feed, and the model is executed as a Warp smart contract on Arweave.</p></li><li><p>It’s first iteration and ZK is involved so it falls into our honorable mention, but in the future Warp team considers implementing a ZK piece.</p></li></ul></li></ul><p><strong>Gaming</strong></p><p>Gaming intersects with machine learning a lot:</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/034fb2e691fad321f3ab4f4412aeaaf3aabb21097bc6564e1a3fd8ce585621f3.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>The grey area in the figure represents our initial assessment of whether the ML functionality in the gaming section needs to be paired with corresponding ZKML proofs. Leela Chess Zero is a very interesting example of applying ZKML to gaming:</p><ul><li><p>AI Agents</p><ul><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://medium.com/@ModulusLabs/chapter-6-leela-vs-the-world-the-worlds-1st-on-chain-ai-game-17ea299a06b6">Leela Chess Zero</a> (LC0): a fully on-chain AI chess player built by Modulus Labs, playing against a collective of human players from the community.</p><ul><li><p>LC0 and the human collective take turns playing (as it should be in chess).</p></li><li><p>LC0&apos;s move is calculated using a simplified, circuit-friendly LC0 model.</p></li></ul></li><li><p>LC0&apos;s move has a Halo2 snark proof generated to ensure no human mastermind intervention. Only the simplified LC0 model is there to make the decision.</p></li><li><p>This fits into the &quot;model&quot; part. The model&apos;s execution has a ZK-proof to verify that the computation is not tampered with.</p></li></ul></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/17d60d214e751f4ed10689798759ef08d78afdd52285428fdb55281509fc84ef.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><ul><li><p>Data Analysis &amp; Prediction: this has been a common use of AI/ML in the Web2 gaming world. However, we find there to be very few reasons to implement ZK into this ML process. For the sake of not having too much value directly involved in the process, it might not be worth the effort. However, if some analytics &amp; predictions are used to determine rewards for users, ZK might be implemented to ensure the results are correct.</p></li><li><p>Honorable Mentions:</p><ul><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.aiarena.io/#/">AI Arena</a> is an Ethereum native game where players all over the world can design, train and battle NFT characters powered by artificial neural networks. Talented researchers from around the world compete to create the best Machine Learning (ML) model to battle in the game. AI Arena focuses on feedforward neural networks. In general, they have lower computational overhead than convolutional neural networks (CNNs) or recurrent neural networks (RNNs). Though, for now, models are only uploaded to the platform after it&apos;s trained, hence it&apos;s honorably mentioned.</p></li><li><p>GiroGiro.AI is building an <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://girogiro-ai.gitbook.io/litepaper/technology/gamma-engine-intro">AI toolkit</a> that enables the masses to create artificial intelligence for personal or commercial use. Users can create various sorts of AI systems based on an intuitive and automated AI workflow platform. Only with a few inputs of data and a choice of algorithms (or models for refinement), users will generate and harness the AI model in mind. Though the project is in a very early stage, we are excitedly anticipating to see what GiroGiro can bring onto the table due to its focus on the gamefi and metaverse-focused products, hence its presence in honorable mentions.</p></li></ul></li></ul><p><strong>DID and Social</strong></p><p>In the realm of DID&amp;social, web3 and ml’s intersection currently mainly lies in the proof of humanity and proof of credentials field; other parts might evolve but will take longer.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/82c453116faa38ef15073f1ed9bb93da365113735d7d1bfdb83d88af98a06805.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><ul><li><p>Proof of humanity</p><ul><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://worldcoin.org/blog/worldcoin/how-the-launch-works">Worldcoin</a> uses a device called the Orb to determine if someone is an actual living person that is not attempting to defraud the verification. It does this with a variety of camera sensors and machine-learning models that analyze facial and iris features. Once that determination is made, the Orb takes a set of pictures of the person’s irises and uses several machine learning models and other computer vision techniques to create an iris code, which is a numerical representation of the most important features of an individual’s iris pattern. Specific steps to sign up are as follows:</p><ul><li><p>The user generates a Semaphore keypair on her phone and presents the hashed public key (via QR code) to the Orb.</p></li><li><p>The Orb scans the user’s irises and locally computes the user’s IrisHash. It then sends a signed message containing the hashed public key and the IrisHash to the sign-up sequencer node.</p></li><li><p>The sequencer node verifies the Orb’s signature, then checks if the IrisHash does not match any already in the database. If the uniqueness checks passes, the IrisHash and the public key are saved.</p></li></ul></li><li><p>Worldcoin uses the open-source Semaphore zero-knowledge proof system to transfer the uniqueness of IrisHashes to the uniqueness of user accounts, without ever linking them. This ensures a newly signed-up user can successfully claim his/her WorldCoins. The steps are as follows:</p><ul><li><p>The user’s app locally generates a wallet address.</p></li><li><p>The app uses Semaphore to prove that it owns the private counterpart to one public key registered previously. Because it’s zero-knowledge proof, it does not reveal which public key.</p></li><li><p>The proof is sent again to the sequencer, which verifies it and initiates the deposit of tokens to the provided wallet address. A so-called nullifier is sent along with the proof and ensures the user cannot claim the reward twice.</p></li></ul></li></ul></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/7251de786a5732c0fa621ea545034e42f9026b56b94e6b5bcbd9f33d4674f0e8.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><ul><li><p>WorldCoin uses ZK technology to ensure the output of its ML models does not reveal the user&apos;s personal data, by not having them associated with each other. In this case, it falls in the &quot;output&quot; section of our trust framework as it&apos;s ensured that the output is transmitted and used in the desired way, in this case privately.</p></li><li><p>Proof of action</p><ul><li><p>Astraly is a reputation-based token distribution platform built on StarkNet for finding and supporting the latest and greatest StarkNet projects. Measuring reputation is a challenging task, as it is an abstract concept that cannot be easily quantified with simple metrics. When dealing with complex metrics, it is often the case that more comprehensive and diverse inputs yield better results. That’s why Astraly is seeking the <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://medium.com/@ModulusLabs/chapter-4-blockchains-that-self-improve-e9716c041f36">help of modulus labs</a> to use ML model to provide more accurate reputation ratings.</p></li></ul></li><li><p>Personalized recommendations and content filtering</p><ul><li><p>Twitter recently open-sourced their algorithm for the &quot;For You&quot; timeline, but users cannot verify if the algorithm is running correctly as the weights for the ML models used to rank tweets are kept private. This has resulted in concerns about bias and censorship.</p></li><li><p>However, <em>Daniel Kang, Edward Gan, Ion Stoica, and Yi Sun</em> offer a <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://medium.com/@danieldkang/empowering-users-to-verify-twitters-algorithmic-integrity-with-zkml-65e56d0e9dd9">solution</a> using ezkl to help balance privacy and transparency by producing proof that the Twitter algorithm ran honestly without revealing the model weights. By using the ZKML framework, Twitter can commit to a specific version of its ranking model and publish proof that it produces the specific final output ranking for a given user and tweet. This solution enables users to verify that the computations were performed correctly without requiring trust in the system. While there is still work to be done to make ZKML more practical, this is a positive step toward improving transparency in social media. Thus this falls into our ML trust framework&apos;s &quot;model&quot; part.</p></li></ul></li></ul><h3 id="h-revisiting-the-ml-trust-framework-from-a-use-case-perspective" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Revisiting the ML trust framework from a use case perspective</h3><p>It can be seen that the potential use cases for ZKML in web3 are still in their infancy but can not be ignored; in the future, as the use of ZKML continues to expand, there may be a demand for ZKML providers, forming the closed loop in the following figure:</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/4960b966f8cda8c7ca29a8f1cde1000b78bbe4045dfd5adc7cfdde7bae5570b3.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>ZKML service providers largely focus on the &quot;model&quot; and &quot;parameter&quot; part of the ML trust framework. Though most we see nowadays are more &quot;model&quot; related than &quot;parameters&quot;. Note that the &quot;input&quot; and &quot;output&quot; parts are more addressed by blockchain-based solutions, either used as data sources or data destinations. ZK or blockchain alone might not achieve full trustworthiness, but probably united they do.</p><h3 id="h-how-far-is-mass-adoption" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">How far is mass adoption?</h3><p>Finally, we can look at the current feasibility status of ZKML and how far we are from a large-scale application of ZKML.</p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://drive.google.com/file/u/0/d/1tylpowpaqcOhKQtYolPlqvx6R2Gv4IzE/view?pli=1">Modulus Labs&apos;s paper</a> has given us some data and insights into the feasibility of ZKML applications by testing Worldcoin (with strict precision and memory requirements) and AI Arena (with cost-effectiveness and time requirements):</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/114d0e7c8ad8116bb5a33b3b01c19644d02482982891fac8189b7ad914387062.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>If Worldcon uses ZKML, the prover&apos;s memory consumption will overwhelm any commercially available mobile hardware. If AI Arena&apos;s tournament uses ZKML, using ZKCNNs would increase the time and cost to 100x (0.6s vs original 0.008s). So sadly, both are not feasible for directly applying ZKML technology to prove time and prover memory usage.</p><p>What about the proof size and verification time? We can refer to <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://arxiv.org/search/cs?searchtype=author&amp;query=Kang%2C+D">Daniel Kang</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://arxiv.org/search/cs?searchtype=author&amp;query=Hashimoto%2C+T">Tatsunori Hashimoto</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://arxiv.org/search/cs?searchtype=author&amp;query=Stoica%2C+I">Ion Stoica</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://arxiv.org/search/cs?searchtype=author&amp;query=Sun%2C+Y">and Yi Sun&apos;s</a> paper. As shown below, their DNN inference solution can achieve up to 79% accuracy on ImageNet（ model type: DCNN,16 layers,3.4 million parameters ） while simultaneously taking as few as 10s and 5952 bytes to verify. Furthermore, the zkSNARKs can be scaled down to take as few as 0.7s to verify at 59% accuracy. These results show the feasibility of zkSNARKing ImageNet-scale models in terms of proof size and verification time.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/0c90a857bcfc42af5b9f042f27f9aecb4f61d0e6bb359fe3ba520bee9774210a.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>The main technical bottleneck now lies in proof of time and memory consumption. It is still not technically feasible to apply ZKML in web3 cases. Can ZKML potentially catch the development of AI? We can compare several empirical data:</p><ul><li><p>The development speed of ML models: the GPT-1 model released in 2019 had 150 million parameters, whereas the most recent GPT-3 model released in 2020 has 175 billion parameters, representing a 1,166x increase in the number of parameters in just two years.</p></li><li><p>The optimization speed of the ZK system: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://a16zcrypto.com/content/article/state-of-crypto-report-2023/">The performance growth of ZK systems basically follows &quot;Moore&apos;s Law&quot;-like paces</a>. New ZK systems come out almost yearly, and we expect prover performance&apos;s rocket growth to continue for a while.</p></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/7b76d7b70093ce2af997982ba42fbcd4835ce8536336f8d614d517f4927395ce.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>The outlook is not very optimistic when comparing the improvement rate of cutting-edge ML to ZK. However, with the continuous improvement of rollup performance, ZK hardware, and the tailor-made ZK proving systems based on highly structured neural network operations, hopefully, the development of ZKML can satisfy web3 needs and start by providing some old-fashioned machine learning functions first.</p><p>Though we might have a hard time using blockchain + ZK to verify that the information ChatGPT feeds me is trustworthy, we might be able to fit some smaller and older ML models into ZK circuits.</p><h2 id="h-part-iv-conclusion" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Part IV: Conclusion</h2><p>&quot;Power tends to corrupt, and absolute power corrupts absolutely&quot;. With the incredible power of AI &amp; ML, there is no surefire way to put it under governance for now. The governments have repeatedly proven to provide either late interference for aftermaths or early outright ban. Blockchain + ZK delivers one of the few solutions that can tame the beast in a provable and verifiable way.</p><p>We look forward to seeing more product innovation in the field of ZKML, where ZK and blockchain provide a secure and trustworthy environment for AI/ML to run. We also expect brand new business models to arise from those product innovations as we are not constrained by the go-to SaaS commercialization model here in the permissionless world of crypto. We look forward to supporting more builders to come and build out their exciting ideas in this fascinating overlap of the &quot;wild west anarchies&quot; and &quot;ivory tower elites&quot;.</p><p>We are still early, but we might save the world on the way.</p><h2 id="h-reference" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Reference</h2><ul><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://a16zcrypto.com/content/article/checks-and-balances-machine-learning-and-zero-knowledge-proofs/">https://a16zcrypto.com/content/article/checks-and-balances-machine-learning-and-zero-knowledge-proofs/</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://arxiv.org/abs/2210.08674">https://arxiv.org/abs/2210.08674</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://axiom.xyz/blog/intro">https://axiom.xyz/blog/intro</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://cloud.google.com/learn/artificial-intelligence-vs-machine-learning#:%5C~:text=Differences%20between%20AI%20and%20ML,-Now%20that%20you&amp;text=While%20artificial%20intelligence%20encompasses%20the,accurate%20results%20by%20identifying%20patterns">https://cloud.google.com/learn/artificial-intelligence-vs-machine-learning#:\~:text=Differences%20between%20AI%20and%20ML,-Now%20that%20you&amp;text=While%20artificial%20intelligence%20encompasses%20the,accurate%20results%20by%20identifying%20patterns</a>.</p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.aiarena.io/research-competition/neural-networks">https://docs.aiarena.io/research-competition/neural-networks</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.google.com/presentation/d/1LwfJUD5osS2lAtnnZVuKn7OuiRlIxsiTpfsb2rUjyp4/edit#slide=id.g164009b3422_0_383">https://docs.google.com/presentation/d/1LwfJUD5osS2lAtnnZVuKn7OuiRlIxsiTpfsb2rUjyp4/edit#slide=id.g164009b3422_0_383</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.google.com/presentation/d/1LwfJUD5osS2lAtnnZVuKn7OuiRlIxsiTpfsb2rUjyp4/edit#slide=id.g164009b3422_0_383">https://docs.google.com/presentation/d/1LwfJUD5osS2lAtnnZVuKn7OuiRlIxsiTpfsb2rUjyp4/edit#slide=id.g164009b3422_0_383</a> <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.warp.cc/tutorials/ml/prologue">https://docs.warp.cc/tutorials/ml/prologue</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://drive.google.com/file/d/1tylpowpaqcOhKQtYolPlqvx6R2Gv4IzE/view">https://drive.google.com/file/d/1tylpowpaqcOhKQtYolPlqvx6R2Gv4IzE/view</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://eprint.iacr.org/2021/673">https://eprint.iacr.org/2021/673</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://girogiro-ai.gitbook.io/litepaper/technology/gamma-engine-intro">https://girogiro-ai.gitbook.io/litepaper/technology/gamma-engine-intro</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/Modulus-Labs/RockyBot">https://github.com/Modulus-Labs/RockyBot</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/zkonduit/ezkl">https://github.com/zkonduit/ezkl</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://medium.com/@danieldkang/trustless-verification-of-machine-learning-6f648fd8ba88">https://medium.com/@danieldkang/trustless-verification-of-machine-learning-6f648fd8ba88</a></p></li></ul>]]></content:encoded>
            <author>sevenxventures@newsletter.paragraph.com (SevenX Ventures)</author>
            <enclosure url="https://img.paragraph.com/cdn-cgi/image/format=auto/https://storage.googleapis.com/papyrus_images/210bcbc90de6afedbf313150a542606f99c63a2f94885e8233439efab8b869c7.jpg" length="0" type="image/jpg"/>
        </item>
    </channel>
</rss>