Mayan
  • What is Mayan?
  • Architecture
    • WH Swap
    • Swift
    • MCTP
    • Relayers
    • Auction
  • INTEGRATION
    • Quote API
    • Explorer API
    • Contracts (Legacy)
    • Forwarder Contract
    • Referral
    • Swap Widget
    • Swap SDK
  • DApp
    • User Manual
    • Mayan Explorer
    • Relayer Fees
    • Gas on destination
  • resources
    • Audits
    • Github
    • Brand Kit
Powered by GitBook
On this page

What is Mayan?

NextWH Swap

Last updated 1 day ago

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.

  • 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.

  • 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 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.

For users and integrators all the three methods are available under one unified interface.

WH Swap
MCTP
Swift
GitHub - mayan-finance/swap-sdk: npm package for sending cross-chain swap transactionsGitHub
GitHub - mayan-finance/swap-bridge: Contracts for publishing and verifying cross-chain swap messages using Wormhole message passing and token bridgeGitHub
Logo
Logo