How it works
Pass your app’s address asdestinationAddress and the asset your app accepts as toToken. Whatever the user holds is converted in transit and arrives as one transfer.
Two ways to take deposits
- Per-transfer. The standard flow above. The user requests a quote and signs once for each deposit.
- Permanent address. For users who fund repeatedly, Mayan can issue an address that does not expire. They send to it like an ordinary transfer, with no wallet connection, signature or approval. Set
mpsDeposit: truealongside yourdestinationAddresson the quote request, and the response returns anmpsDepositAddress. See deposit addresses.
Where it fits
- A DEX lets users fund from the asset they already hold rather than the one it settles in.
- An exchange with internal balances removes the conversion step users otherwise do by hand.
- An onramp or checkout accepts whatever the user brings and settles in one asset.
- A vault accepts deposits in assets it does not otherwise support.
- A product that pays users out lets them receive in the asset and on the chain they choose.
Case studies
- Hyperliquid takes deposits and withdrawals in one move, from any chain and any asset, with Mayan. See HyperCore deposit & withdraw for the integration.
- Predikt funds prediction market trades from any chain instantly with Mayan.
- Manic Trade unlocked deposits from any chain with Mayan.
Next steps
Deposit Addresses
A permanent address for users who fund repeatedly.
HyperCore Deposit & Withdraw
The worked integration behind the Hyperliquid case study.
Quickstart
Quote, sign and execute a first transfer.