# Yield Farming

<figure><img src="https://3754919894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbH58G0AFXkj9KBIUjWic%2Fuploads%2FvUzw1bXzV8lTGLEUHHaz%2Ffarms.png?alt=media&#x26;token=cb5edee8-f620-4f84-ae1f-ad22fe756855" 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](https://docs.abstradex.xyz/guide/liquidity) 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="https://3754919894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbH58G0AFXkj9KBIUjWic%2Fuploads%2FX75eWsMaodFJZYI2yZp3%2Fimage.png?alt=media&#x26;token=099bfeeb-ac6a-48c6-8d5f-7db20f73f2d1" 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="https://3754919894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbH58G0AFXkj9KBIUjWic%2Fuploads%2FVvUvXovCJOrFBwWpkSUf%2Fimage.png?alt=media&#x26;token=b7b475be-babf-48a7-813a-84e8f8c4c296" 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="https://3754919894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbH58G0AFXkj9KBIUjWic%2Fuploads%2Fvi0kPxBHSuC1Az2D8zKQ%2Fimage.png?alt=media&#x26;token=9dce5237-df26-43f7-970a-50e7a5e1d2d0" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3754919894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbH58G0AFXkj9KBIUjWic%2Fuploads%2F16XQeRD6N3oWEfvcbKYI%2Fimage.png?alt=media&#x26;token=fa68a427-a43c-4e29-984c-516b2727826b" 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="https://3754919894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbH58G0AFXkj9KBIUjWic%2Fuploads%2F1hUNnGAPGgMwynG3y2fd%2Fimage.png?alt=media&#x26;token=bf396756-5cf1-4e6e-86bc-33150031f85e" 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="https://3754919894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbH58G0AFXkj9KBIUjWic%2Fuploads%2FitLGObf3CI1HcX6XySfR%2Fimage.png?alt=media&#x26;token=83919eed-ed8d-44f7-9de6-bdceec1fca32" 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="https://3754919894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbH58G0AFXkj9KBIUjWic%2Fuploads%2F00yKQce4upazwujthbXX%2Fimage.png?alt=media&#x26;token=4f695432-6787-4bfe-8518-2325b4db4411" 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="https://3754919894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbH58G0AFXkj9KBIUjWic%2Fuploads%2F0X8SNA17BmcK340Wpj8R%2Fimage.png?alt=media&#x26;token=f5af6beb-bd7d-4c5b-88a9-84e9089c372a" 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="https://3754919894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbH58G0AFXkj9KBIUjWic%2Fuploads%2FjvpR97UI3tRUlpF3TwrC%2Fimage.png?alt=media&#x26;token=3765d3cb-2bad-45a9-815f-9b0735a69ac7" 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="https://3754919894-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbH58G0AFXkj9KBIUjWic%2Fuploads%2FHttHPtKti8UUBx9ZTsB2%2Fimage.png?alt=media&#x26;token=44879bd1-0103-408c-bf62-c252917c33d4" alt=""><figcaption></figcaption></figure></div>
