Cross-Chain Solution

Due to the natural boundaries between different blockchain networks, users are not able to exchange assets between different blockchain ecosystems directly. However, the freedom of asset exchange is one of users’ natural demands. Therefore, this will be one of our core iteration directions in the future.

We are happy to see that there are some excellent cross-chain bridges that have supported Solana, such as Wormhole, Allbridge, etc. Based on the foundation these admirable developers have built, CLMM can be seamlessly integrated with them to derive a series of advanced cross-chain swap solutions.

For those wrapped assets supported by cross-chain bridges, especailly stablecoins, there is huge demand for the exchange between wrapped assets and its native-version tokens. For example, those Wormhole-wrapping assets such as weUSDT, weUSDC, UST (Wormhole) all have corresponding trading pools on Mercurial, Saber and other Curve-like stable trading Dex on Solana. For the 1:1 stable trading, CLMM has its unique advantages thanks to its price range feature. Therefore, Evora will also open trading pools for these mainstream stablecoins and pegged assets (as well as those proof assets of different lending platforms).

Besides, as we mentioned earlier, Evora will also support the internal routing system to give ease to traders. For example, when users want to swap UST(Wormhole) into SOL, this can be done in one click on Evora. The actual transaction may involve two trading pools and the trading route could be UST(Wormhole) -- USDC -- SOL. This means that users can swap the token that they bridged from another blockchain into any token on the destination blockchain.

Based on the characteristics of CLMM and our multichain version plan, Evora aims to build the middle infrastructure to support the barrier-free cross-chain swap between different networks.

Cross-Chain Swap

From the user's perspective, it would be better if the asset exchange between Chain A and Chain B can be achieved within a single user interface. For this reason, we conducted some further thinking based on the liquidity bridge, trying to find out its possibility. The answer is a yes. To achieve this goal, we need to do the following jobs:

1) Deploy CLMM on Chain A

2) Deploy CLMM on Chain B

3) Integrate cross-chain bridge as the basic bridging module

4) Ensure that the CLMM on both Chain A and Chain B all supports the swap routing

With these features, users are able to conduct their cross-chain swap transactions one stop on Evora. We establish a full circle for cross-chain swap by combining CLMM with cross-chain bridges’ own staking pool.

The following explains the procedures of a user swapping from Token1 on Chain A to Token2 on Chain B:

1) User selects Chain A and connects a Chain-A wallet;

2) User selects Chain B and connects a Chain-B wallet;

3) User enters the swap order inputs from the front end. The inputs include order=< token 1, amount, token 2>;

4) The front end calls the swap routes. The routing system evaluates whether the cross-chain swap is needed and calculates the best path, path=<token1,token3,token2>;

5) User confirms the path;

6) The routing system sends the <order, path> to the swap contract on chain A;

7) User approves the transaction on the Chain-A wallet, exchanging Token1 to the media asset Token3;

8) User approves and confirms the bridging transaction of Token3. Bridging transaction is executed by the cross-chain bridge;

9) After the bridging transaction is done, the user approves the Chain-B wallet to redeem the wrapped Token3 on Chain B;

10) The routing system sends the <order, path> to the swap contract on Chain B;

11) User approves the swap transaction on the Chain-B wallet, swapping from the wrapped Token3 to the destination asset Token2;

12) User finally receives Token2 on Chain B.

Last updated