# How to use Yield Farming

![](/files/-MiL7DEeUvZU5At2kwJa)

### **Preparation**

Yield Farming require the users to provide token pairs in order to earn the LP Tokens. LP tokens can be traded on Farming to generate LDX token rewards. And to get LP Tokens, you can add them in the Liquidity Pool. If you don't know how to add LP Tokens, you can understand this guide.

### **Choose Farming**

Visit the [Farming](https://app.litedex.io/farming) page and select the token pair you want to farm.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2pf7JSLu5nDE3n4uC%2FEAA1CE68-281D-4E72-AE22-A8D8B84525C9_1_105_c.jpeg?alt=media\&token=fd0ff453-2755-4592-974d-7c244d4ba999)

### **Providing liquidity**

Once you find the LP Tokens to farm, you need to add the liquidity to get the desired LP Tokens.

1\. After you visit the [Farming](https://app.litedex.io/farming) Website, connect your Wallet with the LITEDEX platform, click "Connect Wallet" at the top right.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2pxEhxu9_wJIkWTXa%2F9024066D-28C7-4737-9D03-71AFF50583B6_4_5005_c.jpeg?alt=media\&token=ddf2691e-e5ce-4c23-b3c2-52cce47d86e2)

2\. Select the Wallet that you use. In here, we use Metamask.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2uR_BpQX8VLZSyR22%2F155E4CAE-4686-47F9-B6C9-AD9CBA5D0546_1_105_c.jpeg?alt=media\&token=adca44b3-e507-4b3d-9369-8d59f5ae6a8e)

Then confirm your Wallet to connect to the LITEDEX platform.

3\. Once Wallet is connected, the Connect Wallet button will change to your Address button, for example it looks like this.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2uf5W-YkKyPgS78ne%2F89C43009-FAF6-4614-B50B-5EBA33E6756D_4_5005_c.jpeg?alt=media\&token=3af6eac0-11f4-423b-9d81-b8273b086667)

4\. Once the Wallet is connected, you can click the Farming row to view more details. For example, here we will choose the LDX-BNB token pair.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2vCafj59rtdTS8AGl%2F85B51AB8-9FE1-4165-AECD-46885E88202E_1_201_a.jpeg?alt=media\&token=855f49a4-494d-429f-b9c8-db21c766e8e3)

5\. In more detailed view, you will see several links. Click “Get LDX-BNB LP” on the left.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2wffJqQ9mC4pHhEOx%2F2E9B4822-D6D3-4709-8C0D-44E282E6E5EF_1_105_c.jpeg?alt=media\&token=51017043-e227-491b-8453-e69fe8aeab48)

6\. And the Add Liquidity page will open a new page for your selected token pair.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2xtt7TbdIHLjiO8yR%2FBD7E2B36-BDE7-40F0-993A-9C1DA22B22A2_1_105_c.jpeg?alt=media\&token=6563d57e-8cfb-4148-a731-20c370915843)

**Watch the video below :**

{% embed url="<https://youtu.be/ha3eh69o6HE>" %}

If you need a guide on how to add liquidity, you can follow the [**How to Add & Remove Liquidity**](/products-guide/exchange/how-to-add-and-remove-liquidity.md) guide and customize it with your chosen token pair.

### **Putting LP Tokens into the Farm**

In the previous tutorial, we assumed you have Added Liquidity or already have a pair of LP Tokens.

1\. On the [Farming](https://app.litedex.io/farming) page, you can place the LP Token according to the LP Token line you have. Here we have previously owned LDX-BNB LP Tokens. Click anywhere on the line that represents your token pair.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh3-9D0T2tYv5Lk8w0z%2FC2D1385F-0068-47E3-A0A2-F0AEB0F1DF4E_1_105_c.jpeg?alt=media\&token=0f59adbc-cf94-41da-b37e-984181f4eba1)

2\. Enter the number of LP Tokens in the detail section on the right.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh3-P92pzm2RyDRdur6%2FACFBECFE-EB24-4FD2-BC67-89C80672647F_4_5005_c.jpeg?alt=media\&token=4b1889cb-e11b-47f5-87d8-494e1c93d064)

If you have entered the amount, you can click “Farm” to execute.

3\. And your Wallet will ask for confirmation of the transaction.

4\. Done! You have successfully Farm.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh3-fIBZ2ZMMU5Qquqg%2F6F23379F-CF1E-471B-91C8-A5AFA44B2A56_1_201_a.jpeg?alt=media\&token=b939a7bf-4098-46ef-b008-f00fcf497886)

**Watch the video below :**

{% embed url="<https://youtu.be/NgfI94H-OQc>" %}

### **Add or remove LP Tokens from Farming**

If you want to add, delete, reducing and withdraw from Farming, it can be easily done.

#### **Removing LP Tokens**

1\. On the [Farming](https://app.litedex.io/farming) page, search for the Farm where you have the LP Token, and click on any row to see more details.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh31n_vkSWa86Mb3SFh%2F6C6FF250-CBC6-4743-A371-DB4AD352A0B3_1_105_c.jpeg?alt=media\&token=f91672b3-48ea-4a93-9082-38e0ad25028d)

2\. In the detail section on the right, click “Remove”.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh3289j6uDTR8WdHUMR%2F46639A2E-0FA2-4660-A915-F688F8C70E7E_4_5005_c.jpeg?alt=media\&token=b626d275-5a07-4da7-8ee4-d279124832a8)

3\. Here we have Balance LP **6.362** and need to reduce by **1**. Enter the amount you want to reduce, then click “Remove”.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh32jALLUsEddvqNS_2%2F5E3C4F1B-64C8-4F40-8A40-59C4432EE574_4_5005_c.jpeg?alt=media\&token=2bfd6da5-165a-483e-bd4f-c87cff4151f7)

4\. Your wallet will ask for confirmation of the transaction. Wait for a moment until your LP balance decreases as what you have entered. Here our balance is initially **6.362** and was reduced by **1**, after the transaction completed. Our LP balance became **5.362** which means the transaction was successful. If you have released your LP Tokens, all unharvested rewards will be automatically collected.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh345mYveqq4_EfmLF8%2F52C39D19-7B3E-456A-9E40-815C86348DB7_4_5005_c.jpeg?alt=media\&token=ed86891d-fa54-431b-ab53-7b15454e9096)

**Watch the video below :**

{% embed url="<https://youtu.be/jST0VG3k2JM>" %}

#### **Adding LP Token**

1\. On the [Farming](https://app.litedex.io/farming) page, locate the Farm where you have the LP Token, and click on any row to see more details.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh35EEmNi2mV4rc5fw-%2F9EAD80EF-2A99-4E1F-AEE0-1B1F3EBF67A7_1_105_c.jpeg?alt=media\&token=43ce0263-0d87-4ecc-877d-c28cf4d0045c)

2\. In the detail section on the right, ensure the words "Farm" are in green, which means the condition is active, and vice versa if the words "Remove" are in green too.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh35dH6rET66vKF-Ywr%2F0356D7FE-8827-4AFC-9CB5-657F7D7F6C6E_4_5005_c.jpeg?alt=media\&token=47edc7ca-774c-4b89-93fa-eafe677d1f42)

3\. Enter the amount you need. In here for example we need to add 10 Balance LP. Then click "Farm".

![](/files/-Mh35HL3IxL-N9wMkx26)

4\. And Wallet will then ask for your confirmation.

5\. Transaction successful.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh36imvQyvEMUBXltsb%2F9DFFD30C-31AC-4050-A407-45BA91E30800_1_201_a.jpeg?alt=media\&token=e5536496-643b-46f2-bc32-d9f567b8d0e9)

**Watch the video below :**

{% embed url="<https://youtu.be/vcA_eKmFC48>" %}

#### **Redeem Profit**

1\. Visit the [Farming](https://app.litedex.io/farming) page.

2\. Find your Farming, and click on any part of the page to display the details.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh36XG9uyIym9MvMrhz%2FAEFAE284-6D49-41FB-B1D4-F696ACF5000A_1_105_c.jpeg?alt=media\&token=c0073f0a-b191-44cc-95a2-a85ee7f4044f)

3\. In the detail section on the right, click “Harvest” to collect all Farming rewards.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh36xHCFm-XP_n6HfQ3%2FD7B4FE2E-FC76-453A-ABEB-9815ED165D5C_4_5005_c.jpeg?alt=media\&token=2b18ed47-94d7-4be6-8e48-012ad4d8f69d)

4\. Wallet will ask for confirmation of the transaction and wait till the process to complete.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh379BXpPQj2sJzkuVW%2F678038EB-8A97-4F84-B626-9E8C280560B4_4_5005_c.jpeg?alt=media\&token=6212283b-a32b-4510-b82c-8d23e2948b10)

5\. Profit collection successful! You can check your Wallet for balance.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh37NgFN_5Zik52Mdna%2F3CE1B41E-3FF2-4375-BD82-AB149639089C_4_5005_c.jpeg?alt=media\&token=6e8d144b-de78-4cdd-bb8c-88e049e7429b)

**Watch the video below :**

{% embed url="<https://youtu.be/IP7v5189_Y0>" %}


---

# 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.litedex.io/products-guide/yield-farming/how-to-use-yield-farming.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.
