> For the complete documentation index, see [llms.txt](https://xchainjs.gitbook.io/xchainjs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xchainjs.gitbook.io/xchainjs/protocols/mayaprotocol/xchain-mayachain-amm.md).

# xchain-mayachain-amm

MAYAChain AMM is a module that allows users and developers to interact with the MAYAChain protocol without having to worry about the underlining particularities of the protocol.

## Features

Using MAYAChain AMM package, you can easily implement the following features

#### Swaps

* Estimate swaps
* Do swaps
* Approve MAYAChain router to spend to be able to do ERC-20 swaps

#### MAYANames

* Get MAYAName details
* Get MAYANames by owner
