# Escrow-IBC (eIBC): A New Protocol for Fast, Trust-minimized Bridging between Optimistic Rollups

**URL:** <https://forum.dymension.xyz/t/escrow-ibc-eibc-a-new-protocol-for-fast-trust-minimized-bridging-between-optimistic-rollups/33>\
**Category:** Research & Development\
**Created:** [May 22, 2023, 9:51am UTC](https://forum.dymension.xyz/t/escrow-ibc-eibc-a-new-protocol-for-fast-trust-minimized-bridging-between-optimistic-rollups/33 "2023-05-22T09:51:38Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yishay](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.dymension.xyz/yishay/32/2240_2.png) [@Yishay](https://forum.dymension.xyz/u/Yishay)\
**Post date:** [May 22, 2023, 9:51am UTC](https://forum.dymension.xyz/t/escrow-ibc-eibc-a-new-protocol-for-fast-trust-minimized-bridging-between-optimistic-rollups/33/1 "2023-05-22T09:51:38Z")

</div>

**Introduction:**

I want to present and discuss escrow-IBC (eIBC), a novel Inter-Blockchain Communication (IBC) protocol designed to overcome optimistic rollup based challenges and facilitate instantaneous, trust-minimized token transfers across Optimistic Rollups.

Link to full research paper:

> **[Escrow IBC](https://eibc.dymension.xyz)**
>
> Escrow IBC: An IBC based protocol for fast trust-minimized bridging between optimistic rollups.

**Current State**

At present, Dymension RollApps have one proof design option which is Optimistic, it offers an impressive avenue for scalability. However, it comes with an intrinsic set of challenges. The current model involves a considerable dispute period for fraud detection, and the [Verifier’s Dilemma](https://ethresear.ch/t/optimistic-rollup-is-not-secure-enough-than-you-think/9560) problem persists. Moreover, the process of bridging between RollApps at current state have a prolonged transaction finality times causing hindrances in practical applications.

**Proposed Improvement**

_Escrow-IBC: Trust-minimized and Efficient Bridging_

**Understanding the Need**

We need a more efficient way of bridging between RollApps hence the concept of eIBC. It aims to reduce the lengthy dispute window in an Optimistic Rollup.

**The eIBC Protocol: A Synopsis**

eIBC involves the protocol acting as a market for future receivables, reflecting the time cost of capital to reach the Dymension Hub after the dispute period. It also embodies the tail risk of the rollup being invalid or fraudulent, which should be mitigated completely by a verifying market maker.

The protocol introduces two roles - Alice, a user on a RollApp, and Bob, a relayer in the IBC ecosystem. Bob, taking on dual responsibilities as the eIBC message relayer and liquidity provider.

At a first step Alice initiates an IBC transaction, second Bob relays the IBC message from the RollApp to the Hub where it’s softly verified and escrowed on the eIBC module.

At this time Bob or any other actor is able to fulfill the eIBC transfer by purchasing (with a discount) the escrowed IBC tokens on the Hub. If Bob’s choosed to fulfill the eIBC transfer (discounted tokens) he sends the required tokens to the escrow module, which in turn forwards them to Alice. Whereas Alice’s pending IBC tokens are re-routed to Bob’s address and will be released at the end of the fraud proof dispute period.

The result is, Alice received her tokens instantly while Bob profited from buying discounted tokens which will get released after the dispute period.

**Effect on the Ecosystem**

Implementing eIBC has profound implications on the ecosystem. It can establish an equilibrium between the need to verify the validity of rollups and the value held within them.

Furthermore, the integration of eIBC promotes an organic system where market forces verify state machines, ensuring a seamless experience for users, and generating revenue opportunities for node operators.

**Looking Forward**

Future exploration of eIBC in the context of Optimistic Rollups is vital. Rigorous research and further implementation trials will shed light on the possible synergies it can create within the blockchain space.

* * *

---

<div class="post-metadata">

**Author:** ![womensrights](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.dymension.xyz/womensrights/32/16_2.png) [@womensrights](https://forum.dymension.xyz/u/womensrights)\
**Post date:** [May 25, 2023, 8:54am UTC](https://forum.dymension.xyz/t/escrow-ibc-eibc-a-new-protocol-for-fast-trust-minimized-bridging-between-optimistic-rollups/33/2 "2023-05-25T08:54:03Z")

</div>

This is a really cool idea and use of middleware for token transfer. The challenge period for rollups gives a really bad ux for users who want to move funds off the roll up and this would certainly contribute to improving this experience.

For future iterations of the protocol, it could be interesting to enable the user to specify a different token that they want to receive so that it is actually a rollup \<\> settlement layer swap. I think this would be handy as a user wanting to move funds from rollup to settlement layer may want to proceed further to another rollup for using a different app / yield opportunity, where a different token is needed.

The protocol is also whoever fulfils the liquidity provision gets the tokens + fee, but when you use the wording ‘buying discounted tokens’ it made me consider whether it could be possible to have a time window (I guess user specified) where lps could offer how much they would front for the tokens + fee to give more flexibility.

Looking forward to seeing how this develops 🙂

---

<div class="post-metadata">

**Author:** ![Yishay](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.dymension.xyz/yishay/32/2240_2.png) [@Yishay](https://forum.dymension.xyz/u/Yishay)\
**Post date:** [May 28, 2023, 8:23am UTC](https://forum.dymension.xyz/t/escrow-ibc-eibc-a-new-protocol-for-fast-trust-minimized-bridging-between-optimistic-rollups/33/3 "2023-05-28T08:23:04Z")

</div>

Thanks for the thoughtful response and constructive feedback!

I believe a multi-token eIBC system would have to exist to propel a truly seamless experience. We are planning to integrate an AMM on the Dymension Hub, so naturally it should be integrated with the eIBC protocol.

Let’s take a ‘classic’ scenario, Assume Alice is on ‘RollApp X’ holding its native token, X. Alice now wants to move her funds to RollApp Y and trade her X tokens to Y tokens (RollApp Y’s native token). To do so she needs to withdraw X from the rollup, trade it to Y and send it to RollApp Y.

We can choose to facilitate the trade post fulfillment or during.

Option 1:  
Alice withdraws X via eIBC, (market maker fulfills X tokens) and we ‘concatenate’ a market swap via the AMM POST eIBC fulfillment.

Option 2  
Alice withdraws X but eIBC allows her to request fulfillment with Y amount of tokens instead of X, this is part of the eIBC transaction itself. (market maker fulfill Y by himself, not enforcing the usage of the AMM).

\*For relevance, this assumes no trade on the rollapp itself.  
\*sending Y tokens to RollApp Y is trivial from the moment Alice owns Y tokens on the settlement layer.

Curious to hear your thoughts on best approach

---

<div class="post-metadata">

**Author:** ![Shaolin](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.dymension.xyz/shaolin/32/13_2.png) [@Shaolin](https://forum.dymension.xyz/u/Shaolin)\
**Post date:** [May 31, 2023, 7:30pm UTC](https://forum.dymension.xyz/t/escrow-ibc-eibc-a-new-protocol-for-fast-trust-minimized-bridging-between-optimistic-rollups/33/4 "2023-05-31T19:30:53Z")

</div>

This reminds me of the intent centric discussions that are prevalent today. As the user is sending a preference for the final state. As @womensrights this seems to be extensible for a better cross-rollup UX.

I will note that in the original post Bob taking on the responsibility of both a relayer and liquidity provider (i.e. solver) is likely not necessary. eIBC seems to be a middleware on the existing IBC protocol which does not place any trust on the relayer.

The eIBC seems to imply a designated solver (i.e. specific account address completing the transfer), however, can this be generalized to a liquidity pool address that can spread the risk/returns?

---

<div class="post-metadata">

**Author:** ![bloods7334](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.dymension.xyz/bloods7334/32/41_2.png) [@bloods7334](https://forum.dymension.xyz/u/bloods7334)\
**Post date:** [November 22, 2023, 4:26pm UTC](https://forum.dymension.xyz/t/escrow-ibc-eibc-a-new-protocol-for-fast-trust-minimized-bridging-between-optimistic-rollups/33/7 "2023-11-22T16:26:44Z")

</div>

Sounds promising to me

---

<div class="post-metadata">

**Author:** ![master.cn](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.dymension.xyz/master.cn/32/65_2.png) [@master.cn](https://forum.dymension.xyz/u/master.cn)\
**Post date:** [November 23, 2023, 12:38am UTC](https://forum.dymension.xyz/t/escrow-ibc-eibc-a-new-protocol-for-fast-trust-minimized-bridging-between-optimistic-rollups/33/12 "2023-11-23T00:38:18Z")

</div>

a really cool idea ,Looking Forward

future exploration of eIBC in the context of Optimistic Rollups is vital.

---

<div class="post-metadata">

**Author:** ![onrkrr](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.dymension.xyz/onrkrr/32/68_2.png) [@onrkrr](https://forum.dymension.xyz/u/onrkrr)\
**Post date:** [November 23, 2023, 3:41am UTC](https://forum.dymension.xyz/t/escrow-ibc-eibc-a-new-protocol-for-fast-trust-minimized-bridging-between-optimistic-rollups/33/13 "2023-11-23T03:41:28Z")

</div>

Good topics discussed, thank you. 👌

---

<div class="post-metadata">

**Author:** ![Jefferdex](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.dymension.xyz/jefferdex/32/80_2.png) [@Jefferdex](https://forum.dymension.xyz/u/Jefferdex)\
**Post date:** [November 23, 2023, 7:29pm UTC](https://forum.dymension.xyz/t/escrow-ibc-eibc-a-new-protocol-for-fast-trust-minimized-bridging-between-optimistic-rollups/33/14 "2023-11-23T19:29:48Z")

</div>

Amazing to be here  
Thanks for the opportunity

---

<div class="post-metadata">

**Author:** ![mubasegun](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.dymension.xyz/mubasegun/32/81_2.png) [@mubasegun](https://forum.dymension.xyz/u/mubasegun)\
**Post date:** [November 23, 2023, 7:45pm UTC](https://forum.dymension.xyz/t/escrow-ibc-eibc-a-new-protocol-for-fast-trust-minimized-bridging-between-optimistic-rollups/33/15 "2023-11-23T19:45:18Z")

</div>

Cool hyped on this. Dymension to the world

---

<div class="post-metadata">

**Author:** ![Saint](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@Saint](https://forum.dymension.xyz/u/Saint)\
**Post date:** [November 25, 2023, 11:56am UTC](https://forum.dymension.xyz/t/escrow-ibc-eibc-a-new-protocol-for-fast-trust-minimized-bridging-between-optimistic-rollups/33/16 "2023-11-25T11:56:49Z")

</div>

interesting read, dimension has a lot of promise

---

<div class="post-metadata">

**Author:** ![francismbaka](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.dymension.xyz/francismbaka/32/46_2.png) [@francismbaka](https://forum.dymension.xyz/u/francismbaka)\
**Post date:** [November 27, 2023, 3:49pm UTC](https://forum.dymension.xyz/t/escrow-ibc-eibc-a-new-protocol-for-fast-trust-minimized-bridging-between-optimistic-rollups/33/17 "2023-11-27T15:49:12Z")

</div>

Modular Blockchain night displace node running in the coming years

---

<div class="post-metadata">

**Author:** ![Nemesis](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.dymension.xyz/nemesis/32/1659_2.png) [@Nemesis](https://forum.dymension.xyz/u/Nemesis)\
**Post date:** [April 29, 2024, 5:22pm UTC](https://forum.dymension.xyz/t/escrow-ibc-eibc-a-new-protocol-for-fast-trust-minimized-bridging-between-optimistic-rollups/33/18 "2024-04-29T17:22:57Z")

</div>

The concept presented here appears to be a groundbreaking advancement, enhancing the fundamental applications of Inter-Blockchain Communication (IBC). I am confident that this innovation could significantly shape the future of rollapps, streamlining their usability and making them more accessible to a broader audience. As we observe its development, it is becoming increasingly evident that we are on the correct trajectory towards simplifying the user experience for rollup services. The potential for widespread adoption and impact is substantial, and I look forward to the continued evolution of this technology 😊
