Introduction
MAYAChain is a decentralised cross-chain liquidity protocol that allows users to add liquidity or swap over that liquidity. It does not peg or wrap assets. Swaps are processed as easily as making a single on-chain transaction.
For more information see Technology or Concepts.
For wallets/interfaces to interact with MAYAChain, they need to:
Connect to MAYAChain to obtain information from one or more endpoints.
Construct transactions with the correct memos.
Send the transactions to MAYAChain Inbound Vaults.
Front-end guides have been developed for fast and simple implementation.
Front-end Development Guides
Native Swaps Guide
Frontend developers can use MAYAChain to access decentralised layer1 swaps between BTC, ETH, DASH, KUJI and more.
pageQuickstart GuideNative Savings Guide
MAYAChain offers a Savings product, which earns yield from Swap fees. Deposit Layer1 Assets to earn in-kind yield. No lockups, penalties, impermanent loss, minimums, maximums or KYC.
pageQuickstart GuideAggregators
Aggregators can deploy contracts that use custom swapIn
and swapOut
cross-chain aggregation to perform swaps before and after MAYAChain.
Eg, swap from an asset on Sushiswap, then MAYAChain, to an asset on Fin in one transaction.
pageAggregatorsConcepts
In-depth guides to understand MAYAChain's implementation have been created.
pageConceptsLibraries
Several libraries exist to allow for rapid integration. xchainjs has seen the most development is recommended.
pageExamplesEg, swap from layer 1 ETH to BTC and back.
https://docs.xchainjs.org/overview/
Analytics
Analysts can build on Midgard or Flipside to access cross-chain metrics and analytics.
Eg, gather information on cross-chain liquidity
Connecting to MAYAChain
MAYAChain has several APIs with Swagger documentation.
Midgard - https://midgard.ninerealms.com/v2/doc
Cosmos RPC - https://tendermint.mayachain.info
See Connecting to MAYAChain for more information.
Last updated