Minitswap is a virtual pool dex based on the StableSwap, protocol designed to alleviate the inconvenience caused by the withdraw period of the OP bridge.

Issues with the OP bridge in Omni-chain

Transfering tokens from L1 to L2 via the OP bridge is straightforward and immediate, but returning from L2 to L1 is not as simple. You must wait for the withdrawal period, and this lack of immediacy poses the most significant challenge in Interchain messaging.

Therefore, to achieve immediate withdrawal, user need to use DEX pair with origin token and op bridged token. However, the operability of a single sequencer in L2 creates apprehension to liquidity provider, ultimately leading users to face high costs due to low liquidity, high volatility and slippage.


What we want to achieve from Minitswap


How Minitswap solve these problems


Key Concepts

Depositor

The Depositor provides liquidity for the origin token and earns swap fees, unlike typical DEXs, it does not provide the opposing token (in this case, OP bridge token). This is possible because Minitswap does not allow the OP bridge token to decrease relative to the origin token within the virtual pool. As a result, it allows the Depositor to achieve twice the liquidity effect with half the assets.

Virtual Pool