# Buy token

Swap&#x20;

Function: Used to exchange tokens from one token to another&#x20;

Allows to swap from a token to a CHI token according to a specified percentage.The outstanding benefit of this function allows traders to not need to lock up capital and can trade placeholders on the exchange while developing their own technology.&#x20;

For example: It allows users to swap VNDC into CHI with an affordable price.

How: Connect and unlock your wallet to swap&#x20;

Liquidity

Function: Add liquidity for Hana Gold, after adding the currency pair to Liquidity will receive LP and use LP to farm&#x20;

If you want to be able to buy/sell coins quickly without having to discount or spend time waiting for trades to be matched, the market you are trading in must be liquid. A single Liquidity Pool will contain 2 tokens and each pool establishes a new market for the same token pair


---

# 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.hanagold.finance/hng-finance/dapp/buy-token.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.
