What is Mayan
Last updated
Last updated
Mayan is a cross-chain swap auction protocol with the goal of offering the best swap rates using auction mechanism.
Mayan uses three different methods to facilicate the cross-chain swaps. These methods are complementry and can offer different trade-offs between speed and price. All three methods are powered by Wormhole message passing.
WH Swap This method uses Solana as the trading hub and Token Bridge as the value transfer protocol, this method transfers the assets to Solana and on Solana driver fulfills user's trade using Mayan Flash Swap program and then if the destination chain is not Solana relayers transfer the tokens to the destination chain.
MCTP Mayan-Circle Transfer Protocol (MCTP) facilicas CCTP as the highway for transfering the value to the destination chain and on the destination chain the driver fullfills user's trade using Mayan Flash Swap smart contract/porgram and delivers the output tokens.
Swift Swift is intend-centric and is the fastest method of bridging, in Swift user creates an order by locking the funds using Mayan contract on the source chain and specifing the details. The designated driver then fullfills user's order on the destination chain and brings back the proof to source chain to receive the locked funds.
For users and integrators all the three methods are available under one unified interface.