> For the complete documentation index, see [llms.txt](https://moolanet.gitbook.io/moolanet-whitepaper/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://moolanet.gitbook.io/moolanet-whitepaper/products/automated-market-maker-amm.md).

# Automated Market Maker (AMM)

The Automated Market Maker (AMM) model employed by MoolaNet revolutionizes the traditional order book system by introducing a liquidity pool. This pool comprises two assets, which users can trade directly with instead of placing specific buy or sell orders. As tokens are exchanged within the pool, the relative prices of the assets dynamically adjust, resulting in the establishment of a new market rate.

The AMM model offers several significant advantages over the traditional order book system. Firstly, it ensures continuous liquidity, as users can always trade with the liquidity pool regardless of the availability of counterparties. This eliminates the need to wait for a matching order and reduces the risk of encountering low liquidity, particularly in less actively traded markets.

MoolaNet's AMM reduces reliance on centralized exchanges. By allowing users to trade directly with the liquidity pool, it eliminates the need for intermediaries and centralized order matching. This decentralization aspect enhances security, as it removes potential points of failure and minimizes the risk of censorship or manipulation by a single entity.

The AMM model in MoolaNet holds the potential for decentralized price discovery. As users interact with the liquidity pool, their trades impact the relative prices of the assets. This dynamic process enables the market to determine the fair value of the assets based on supply and demand, creating a more transparent and efficient pricing mechanism.

MoolaNet's implementation of the AMM model provides continuous liquidity, reduces reliance on centralized exchanges, and promotes decentralized price discovery. These advantages contribute to a more accessible, secure, and transparent cryptocurrency exchange experience for users on the platform.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://moolanet.gitbook.io/moolanet-whitepaper/products/automated-market-maker-amm.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
