Mayan is a cross-chain swap auction protocol designed to deliver optimal swap rates via a transparent, competitive bidding mechanism. To date, the Mayan team has implemented the protocol on SVM (Solana), EVM and Sui-Move, with additional implementations rolling out soon. Mayan uses three different methods to facilicate the cross-chain swaps. These methods are complementary and can offer different trade-offs between speed and price. All three methods are powered by Wormhole message passing.Documentation Index
Fetch the complete documentation index at: https://mayan-mayanintern-image-upload.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
-
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/program and delivers the output tokens. -
Swift
Swift is intent-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 specifying 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.
GitHub - mayan-finance/swap-sdk: npm package for sending cross-chain swap transactions
Github
GitHub - mayan-finance/swap-bridge: Contracts for publishing and verifying cross-chain swap messages using Wormhole message passing and token bridge
Github