# Yield Farming

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

Yield Farming stands out as an optimal mechanism for profit optimization within the DeFi space.&#x20;

Participants can strategically engage in farming by contributing liquidity to paired tokens, as a result, you will have a representative LP token to certify additional liquidity. Then, these LP tokens can be staked in Yield Farming to get lucrative rewards in the native ABS tokens.&#x20;

This lets you earn ABS while still keeping a position in your other tokens!

## How to Use Farms

#### 1. Get prepped

Yield Farming takes a little work to get set up.&#x20;

You’re going to need some "LP Tokens" to enter into Yield Farming. Farms can only accept their own exact LP Token; for example, the ABS-ZETA Farm will only accept ABS-ZETA LP Tokens.&#x20;

To get the exact LP Token, you'll need to provide liquidity for that trading pair. So to get ABS-ZETA LP Tokens, you'll first have to provide liquidity for the ABS-ZETA pair.&#x20;

Let's go to [Add Liquidity](/guide/liquidity.md) to read more. Let's go through step by step.

#### 2. Finding your Farm

Before proceeding, you need to determine to choose the Farm that is suitable for the assets you have.

Go to the[ Yield Farming](https://exchange.abstradex.xyz/farms) page and you’ll see a list of available Farms.

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

#### 3. Providing liquidity to get LP Tokens

Now that you've found a Farm to stake in, you will need to add liquidity to get your LP Tokens.

* Click on the row of the Farm you've chosen from the list. It will open to show more details.
* On the left, you'll see some links:\
  **Get (your pair) LP:** go to Add Liquidity\
  **View Contract:** checking the contract of LP pool \
  **How to Farms:** get a guide for Farms

<div align="left"><figure><img src="/files/YgEC4zzvkHgHIwDGsdbd" alt=""><figcaption></figcaption></figure></div>

#### 4. Putting your LP Tokens into a Farm

Now that you have your LP Tokens, you’re ready to start staking them in a Farm and earning rewards!

* **Enable Staking Contract:** click the **Enable** button and confirm your action in your wallet.

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

* After the transaction is completed, a new window will display, and click on **Staking LP**

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

* **Stake LP Tokens:** Type the amount of LP Tokens you would like to farm into the field, or just click **Max** to use all of your LP Tokens.

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

When you have the amount entered, the **Confirm** button will light up. Click it. Your wallet will ask you to confirm your action.

* After the transaction is completed, you will see your new staked LP Token balance in the details.

<div align="left"><figure><img src="/files/TnEkWJnwk40JQqDdBW3X" alt=""><figcaption></figcaption></figure></div>

The Farms process has been completed, you will wait to **Harvest** the reward, and the amount of **ABS reward** will be displayed on the window and will be accumulated continuously every minute.

<div align="left"><figure><img src="/files/JZ6gxqQB4l569kbeT4vM" alt=""><figcaption></figcaption></figure></div>

## Adding or removing LP Tokens from a Farm

You may decide you would like to add more LP Tokens to a Farm at a later date, or to take some out of a Farm. You can do this very easily whenever you'd like.

Find the Farm you have LP Tokens in, and click the row to view details.&#x20;

You will see a - and + button on the right-hand side. Click - to **Remove LP Tokens**, or + to **Add more LP Tokens**.

<div align="left"><figure><img src="/files/sgiYCGSnsNBXDvEkhgHW" alt=""><figcaption></figcaption></figure></div>

**Unstake LP Tokens:** Enter the amount of LP Token you want to remove then click **Confirm** and confirm the transaction in your wallet.

*You will receive LP tokens and ABS reward tokens in your wallet*

<div align="left"><figure><img src="/files/O0Ok6WPNMD9KKvy1s54w" alt=""><figcaption></figcaption></figure></div>

**Add more LP Tokens:** Like Remove LP Tokens, you also will enter the amount of LP Token you want to remove then click **Confirm** and confirm the transaction in your wallet.

<div align="left"><figure><img src="/files/w7gprAuwOHW9iCeRMsoA" alt=""><figcaption></figcaption></figure></div>


---

# 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.abstradex.xyz/guide/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.
