> For the complete documentation index, see [llms.txt](https://docs.sanko.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sanko.xyz/sanko-mainnet/native-dexs/sankoswap.md).

# Sankoswap

## What is Sankoswap?

Sankoswap is an automated liquidity protocol and custom implementation of Uniswap v2 powered by the constant product formula (x \* y = k). Each Sankoswap pair manages a liquidity pool made up of reserves of two ERC-20 tokens.

Pairs on Sankoswap are automated market makers that accept one token in the pair (x) for the other (y) so long as the constant product formula is preserved. Under the constant product formula, trades must not change the product (k) of a pair's reserve balances (x and y).

Anyone can provide liquidity for a pool on Sankoswap by depositing an equivalent value of each underlying token in return for pool tokens, which track pro-rata LP shares of the total reserves. LP tokens can be redeemed for the underlying assets at the LP token-holder's discretion.

<figure><img src="/files/rPMY4pES9nTHJ9bjthr2" alt=""><figcaption></figcaption></figure>


---

# 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:

```
GET https://docs.sanko.xyz/sanko-mainnet/native-dexs/sankoswap.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
