Skip to main content

What Is Maya Protocol in Gem Wallet?

What Is Maya Protocol?​

Maya Protocol (MAYAChain) is a decentralized cross-chain liquidity network built on the same design as THORChain. It swaps native assets between blockchains without wrapped tokens. Gem Wallet sends your deposit to Maya with a memo that tells it what to swap and where to deliver.

When you swap, Gem Wallet asks all supported swap providers for a quote at once and picks the best one. Maya Protocol is used when it gives the best quote for your pair, or when you choose it yourself under Providers on the swap screen. To see which provider a swap uses, open Details on the swap screen. See How to Select a Swap Provider in Gem Wallet.

Supported Networks​

Gem Wallet uses Maya Protocol for cross-chain swaps between: Bitcoin, Ethereum, Arbitrum, Cardano, Dash, Zcash, and THORChain (RUNE).

Assets: Each network's coin, plus USDC and USDT on Ethereum and selected tokens on Arbitrum.

note

A pair only appears when the provider returns a live quote for it. Liquidity, amount limits, and route availability can change at any time.

How the Deposit Works​

Maya swaps native assets by deposit. Gem Wallet sends your asset to the protocol's vault on the source network with a short memo that says what to swap to and where to deliver it, for example =:ETH.ETH:0x1f90â€Ļc326. On Ethereum and other EVM networks, the deposit goes through the protocol's router contract and expires if it can't be processed within 24 hours. On Bitcoin-style networks, the memo is stored in an extra data output of the transaction. You can see the memo on the source network's explorer.

The payout arrives as an incoming transaction from one of the protocol's vault addresses on the destination network. A refund arrives the same way on the source network.

danger

Maya rotates its vault addresses regularly, and Gem Wallet asks for the current one with every quote. Never copy a vault or router address from an old swap and send funds to it manually, and never send to it without the correct memo. Funds sent to an old vault, or without a valid memo, may be lost. Always start a new swap from the Swap screen.

Refunds​

If Maya can't complete your swap, it refunds the deposit to your source address on the original network, minus network fees.

Track a Maya Protocol Swap​

  1. Open the swap in Activity.
  2. The status shows Pending while Maya Protocol completes the swap, then Completed, Refunded, or Failed.
  3. Open the transaction details and use the MayaScan link to follow the swap on mayascan.org.

For what each status means and how long to wait, see What Do Cross-Chain Swap Statuses Mean?. If the swap was refunded, see What Does a Refunded Cross-Chain Swap Mean?.

Need Help With a Swap?​

Contact Gem Wallet support from Settings > Support in the app, and include the transaction ID of your swap. Before you share anything, read What Information Is Safe to Give Wallet Support?.

warning

Gem Wallet support will never send you a direct message first, ask for your Secret Phrase or private key, or ask you to send funds to "fix" a swap. Anyone who does is a scammer.