Cointime

Download App
iOS & Android

Intent based bridge between L2s and Ethereum powered by multi-proof storage proofs

Authors: @rcatalan98 and @unbalancedparenthese

tldr: Bridges are generally insecure and economically inefficient. They exhibit an asymmetry between users and bridge operators, where users can easily lose funds. We propose a bridge design that is simple, modular, and utilizes multi-storage proofs and the native messaging system between Ethereum and Layer 2 networks (L2s) as a fallback mechanism.

Bridging is a trust issue

How can we offer a system where the users don’t have to trust a facilitator to exchange their assets from an L2 to Ethereum?

We propose a simple protocol that follows these steps:

  1. The user specifies a destination address on Ethereum and locks the tokens X to be bridged into an L2 escrow smart contract.
  2. A market maker monitors a change of state in the escrow smart contract.
  3. a. The market maker calls the transfer function of the PaymentRegistry Contract in Ethereum.b. The transfer function of the PaymentRegistry contract in Ethereum pays the tokens X to the User.
  4. A storage proof is generated, containing evidence of a transfer from the market maker’s Ethereum account to the user-specified address in Ethereum.
  5. Ethereum PaymentRegistry storage information is used as part of a storage proof.
  6. L2 Escrow contract verifies the storage proof of the PaymentRegistry contract in Ethereum and pays the MM with the initial tokens locked by the user.

2346×1428 543 KB

The same design can be expanded to be used to bridge tokens from an L2 to another L2. The same design can include multi-proof storage proofs instead of using only one. We also have implemented a fallback mechanism using the native message mechanism between Ethereum and L2s in case the storage proof providers are offline.

Fallback mechanismIf the storage proof providers are not available, the market maker can prove to the Escrow contract that they fulfilled the user’s intent through the rollup’s native messaging system. Using this messaging system has the same trust assumptions as the L2s used in the transfer.

Risks

For the user, the risks include the existence of a bug in the code of the smart contract, the existence of a bug in the circuits of the ZK/validity proof verification and the fact that the storage proof provider can go offline. The first risk is mitigated by having a very simple smart contract. The second risk is mitigated by using multi-proof storage proofs and multiple ZK/validity proof implementations or TEEs. If the storage proof provider goes offline the fallback mechanism can be used.

The risks for market makers are the same as for users, plus the risk of reorganization of the chain and the fact that the market maker receives the same tokens on the L2s rather than on Ethereum.

Since the capital is locked for a short period (until the proof is generated or the message arrives), the risks are minimized and the attack surface is smaller for the market maker.

Questions

What are our disadvantages?The biggest disadvantage of this solution is that users can only bridge tokens that are present in both the origin and destination chains.Another disadvantage is that the risks don’t disappear; they are simply transferred to the market maker.

How can users cancel their order?Initially, we are not going to offer the ability to cancel orders. The main reason is to avoid any timing attacks. For instance, a user could create an order and cancel it right after the market maker has paid them on the destination chain, thereby stealing funds from the market maker.

Is there any real-world implementation of this bridge?Yes. We have already implemented this between Starknet and Ethereum. We plan to integrate zkSync, Arbitrum, Optimism, Scroll, Base, and Linea next.All integrations require the same codebase with a few modifications, except for Starknet, which is not EVM compatible.

How fast is it?From the user’s perspective, the bridging is completed in less than 30 seconds, as quickly as the time it takes the market maker to observe the user’s deposit and execute a transfer.From the market maker’s perspective, they will be able to withdraw the money after paying the user and generating the storage proof. This normally takes between 5 and 15 minutes. It’s important to also consider that the market maker will need to rebalance their liquidity using the native bridge and wait for the finality of the native bridge to rebalance their portfolio.

How cheap is it?The cost of this bridge is similar to an ERC20 transfer plus the cost of proving the state of the L1 and L2. This second cost tends towards zero since it’s amortized by multiple calls that use the same proof, and the proving cost is minimal compared to on-chain transfers.

What is new in this design? Didn’t storage proofs solve this problem already?Storage proofs alone don’t fundamentally change the design of a traditional bridge. They merely enable a safer coordination mechanism.Locking the user’s capital first provides guarantees to the market maker that they will receive the funds in exchange for fulfilling the user’s intent.

Couldn’t you solve this problem without Storage Proofs? What do they add to the table?

Yes, Storage Proofs are not 100% necessary to solve this problem. But they are a key technological component for a future proof architecture. If we want this protocol to scale, storage proofs are the best way to do this. It will allow us to prove many orders together.

What are the benefits against an Optimistic Oracle?

Optimistic Oracles were a great solution before Storage Proofs were a feasible solution, their main disadvantages are:

  • Optimistic Oracles relay in Game Theory to work and it’s difficult to bootstrap an ecosystem to make them robust.
  • Codebases are complex
  • The settlement period takes a few hours (depending on the solution) and end up creating inefficiencies for the market makers.

On the other hand our protocol with the native messaging and storage proofs takes no longer than 15 minutes (between Ethereum and L2) to unlock the funds. The protocol codebase is no more than 500 lines of code and the risks are easy to understand by all the players and therefore easy to come up with ways to mitigate them.

Did anybody do something similar beforehand?Hop Protocol was one of the first bridges to allow cross-chain swaps between rollups and Ethereum with an AMM-based design using multiple messaging systems (native and optimistic). The main issue lies in the capital inefficiency of an AMM model and the significant security risks of locking large amounts of capital in complex cross-chain communications.

Across was the first bridge to leverage intents for a faster bridge experience and lower capital costs per transaction. However, by using an Optimistic Oracle, it naturally has a challenging period that the market has to wait to get its funds back. To optimize some of the problems their settlement mechanism introduces, they offer financial products around their main bridge solution, such as Liquidity Pools that front the capital to the market makers.

What are our advantages?Our bet is that zero-knowledge proofs will continue to improve, becoming faster and safer, thus enhancing our solution and allowing us to offer better prices by lowering risks and shortening the repayment period.

  • Fast and cheap bridging experience for the user
  • Short capital lock-up period for the market maker
  • Low on-chain complexity. The smart contracts in total are not larger than 300 lines of code.

Next steps

  • Speeding up message passing with EigenLayer to allow cross-chain swap settlements between L2s. The protocol should have the option to send faster messages between rollups and Ethereum with similar trust assumptions of the native messaging system
  • Introducing Partially Filled Orders, offering cheaper but slower transfers with batching
  • Intent-based DeFi Pooling
  • Unified wallet abstraction across multiple L2s
Comments

All Comments

Recommended for you

  • Barclays Cuts CrowdStrike Target Price to $169

    On July 6, Barclays Bank significantly lowered the target price for cybersecurity company CrowdStrike from $675 to $169.

  • Tencent Holdings (00700.HK) Repurchases 465,000 Shares for HKD 204.8 Million on July 6

    On July 6, according to documents from the Hong Kong Stock Exchange, Tencent Holdings (00700.HK) repurchased 465,000 shares for a total amount of HKD 204.8 million.

  • U.S. Optical Communication Stocks Rebound Pre-Market, Mavenir Rises Over 3%

    On July 6, U.S. optical communication stocks, which collectively fell last Thursday, rebounded pre-market today. AXT Inc rose over 7%, while Nokia, Mavenir Technologies, Astera Labs, Credo Technology, and Tower Semiconductor all increased by more than 3%. Additionally, Qiagen, Viavi Solutions, Amphenol, Lightwave Logic, GlobalFoundries, Coherent, Fabrinet, and MaxLinear saw gains of over 2%.

  • Whale Withdraws 3,556 BTC Worth $222.94 Million from Trade Republic

    According to Onchain Lens monitoring, a whale withdrew 3,556 BTC, worth $222.94 million, from Trade Republic through two identical transactions. Both receiving wallets received small test transactions five days ago, indicating a possible connection.

  • Shanghai Stock Exchange: Yushu Technology Co., Ltd. Registration Effective

    On July 6, the Shanghai Stock Exchange announced that the registration of Yushu Technology Co., Ltd. is now effective.

  • Morgan Stanley Warns: US Stocks May Struggle to Reach New Highs as Investors Rotate Away from Tech

    On July 6, Morgan Stanley strategists indicated that as investors pull out from the strongest performing tech stocks of the year and shift towards other sectors, US stocks may face resistance in reaching new historical highs. This rotation could weaken the previous market leadership dominated by AI and large-cap tech stocks. The analysis pointed out that most of the positive economic and earnings news has already been priced in by the market, leading to stagnation in index performance, which requires genuinely unexpected positive news to continue rising. The market is increasingly looking for solid evidence that substantial AI capital expenditures can translate into sustained returns, rather than just an expanding expenditure figure. This uncertainty is prompting more funds to shift from large-cap tech stocks to a broader range of equities. Morgan Stanley advises investors to focus more on the realizability and quality of earnings, to take some profits in small-cap stocks, and to increase allocations to beneficiaries of AI applications in certain sectors. Previous research from the firm also showed that despite strong performance in large-cap tech stocks in the third quarter, their stock price increases have significantly lagged, leading to lower valuations, contrasting sharply with industrial and cyclical sectors that have continued to rise due to rate cut expectations, further evidencing a shift in market funding structure.

  • Central Cyberspace Administration Launches First Phase of 'Clear and Bright: Rectifying AI Application Chaos' Initiative

    On July 6, according to the Cyberspace Administration, the 'Clear and Bright: Rectifying AI Application Chaos' initiative has been underway since April 2026. The Central Cyberspace Administration has focused on issues such as failure to comply with large model registration obligations, insufficient security and review capabilities of AI platforms, AI data poisoning, and inadequate implementation of synthetic content identification. Local cyberspace departments have been tasked with advancing the key rectification efforts of the first phase and have established a 'Reporting Zone for AI Application Chaos' to specifically handle public complaints. Through collaborative efforts, over 14,000 non-compliant websites, applications, and AI products have been addressed in the first phase, over 6 million pieces of illegal information have been cleared, more than 26,000 accounts have been dealt with, and over 1,300 non-compliant AI products and 9 non-compliant open-source datasets have been removed, achieving positive progress in all areas.

  • Oracle Shares Rise Nearly 4% Pre-Market with Launch of Four New Fusion Intelligent Applications

    On July 6, Oracle (ORCL.US) saw its shares rise nearly 4% in pre-market trading, reaching $145.81. Recently, Oracle announced the launch of four new Fusion intelligent applications designed to help organizations improve inventory visibility, reduce the impact of supplier and operational issues, and enhance manufacturing efficiency, thereby improving supply chain performance. These new intelligent applications are integrated within Oracle Fusion Cloud Supply Chain & Manufacturing (SCM) and are driven by a collaborative team of multiple specialized AI agents, featuring result-oriented, proactive response, and logical reasoning capabilities, specifically designed for enterprise-level applications. Additionally, to further enhance organizational supply chain resilience, Oracle has also introduced a new inventory optimization feature.

  • TSMC Rises Over 2% Pre-Market; Citi Expects Revenue Guidance Increase for 2026

    On July 6, TSMC (TSM.US) rose 2.58% in pre-market trading, reaching $445.36. TSMC is set to announce its second-quarter earnings in mid-July. A report from Citi indicates that TSMC may further raise its revenue growth expectations for 2026 during the upcoming earnings call, primarily due to sustained demand for advanced chips and improved long-term visibility. Compared to its peers, TSMC's most notable advantage lies in its production capacity. 'Despite increasing competition in the foundry sector, this scale advantage will continue to support wafer pricing, customer stickiness, and the sustainability of profit margins,' Citi stated. Furthermore, regardless of changes in customer structure, TSMC is expected to be a major beneficiary of the ongoing growth in AI semiconductor demand. Additionally, Goldman Sachs has raised TSMC's ADR target price from $550 to $600 ahead of the second-quarter earnings announcement, reaffirming its 'Buy' rating. Goldman Sachs believes that demand for AI and high-performance computing (HPC) has become a structural growth engine for TSMC over the years. Last quarter, the firm observed that momentum for 2027 is particularly strong, especially due to demand from AI accelerators and server CPUs, with demand in advanced process nodes and advanced packaging continuing to far exceed supply. Goldman Sachs anticipates that TSMC will further accelerate its capacity expansion and capital expenditures, while ongoing productivity improvements and strategic pricing will drive profit margins toward a structurally higher trajectory in 2027 and beyond.

  • Bernstein: SK Hynix's DRAM Gross Margin Expected to Reach 90.9% in Q2

    On July 6, investment research firm Bernstein estimated that SK Hynix's DRAM gross margin for the second quarter of this year is expected to reach 90.9%, approaching the peak of the economic cycle as recognized by the market, with a projected increase to 92% in the third quarter. This growth is primarily driven by high demand for HBM; SK Hynix holds approximately 60% of the HBM market share and is a major supplier to Nvidia. Industry insiders noted that in the history of global manufacturing and technology, very few physical hardware manufacturing businesses, aside from software and platform-based light asset companies, have been able to push gross margins above the absolute high of 90%.