# Exchange

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

GroFi Dex serves as the core Automated Market Maker (AMM) on U2U Chain, positioning itself as the leading decentralized exchange (DEX) on U2U Chain.

GroFi Dex offers various features to facilitate decentralized trading:

## Buy/Sell

[GroFi Dex ](https://testnet.grofidex.io/swap)enables users to trade directly, bypassing the need for a Centralized Exchange. Transactions on GroFi Dex are routed through users' own wallets, eliminating the necessity to rely on third parties with their coins.

## Liquidity Pools <a href="#liquidity-pools" id="liquidity-pools"></a>

You can only swap tokens on [GroFi Dex](https://testnet.grofidex.io/pair) upon the availability of enough liquidity. If there's insufficient liquidity for the desired tokens, swapping may become challenging, costly, or even unfeasible.&#x20;

By providing liquidity, users receive LP Tokens, entitling them to rewards in the form of trading fees, thereby ensuring consistent liquidity provision for the exchange.

## Yield Farming

Yield farming on [GroFi Dex](https://testnet.grofidex.io/farms) allows liquidity providers to earn U2U rewards by locking their LP tokens into a smart contract. This incentivizes users to manage the risk of [impermanent loss](https://academy.binance.com/en/articles/impermanent-loss-explained) associated with locking liquidity.


---

# Agent Instructions: 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.grofidex.io/features/exchange.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.
