Multi-chain dApps

MEP Automated Exchange

1min

MEP Orderbook is very versatile and currently focuses on the transfer of tokens. But in fact, any resource can be transferred or exchanged on this platform. For example, if you have an NFT on Ethereum that you want to exchange for BNB on BSC, you can do it on this platform, as long as both parties have the need to exchange. It’s in this spirit that we envisioned the MEP Automated Exchange.

This is an automated exchange among multiple chains. It would work as follows: 

• User 1 places an order to exchange USDT on chain A for USDC on chain B • User 2 places an order to exchange USDC on chain B for USDT on Chain A • MEP Automated Exchange listens on MEP for the status of resource pools on A and B • When user 1 requests to remove a USDC from chain B, he needs to request a signature from MEP 

• MEP determines if there are enough USDC on chain B for A to take and, if so, returns a signature to user 1 

• User 1 uses the signature to withdraw the USDC from chain B 

• Similarly, User 2 withdraws USDT from Chain A 

Theoretically, MEP Automated Exchange can support exchange between all tokens on the chain. 

Updated 25 Mar 2024
Doc contributor
Did this page help you?