> For the complete documentation index, see [llms.txt](https://trinitylab.gitbook.io/enex.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://trinitylab.gitbook.io/enex.space/how-to-use/harvest-farms.md).

# Harvest Farms

## Introducing Harvest Farms

**Harvest Farms** is a yield farming mechanism. Analogous to a traditional bank deposit, it allows a user to receive rewards for providing liquidity to **ENEX.SPACE** DEX via [Pools](/enex.space/how-to-use/pool.md) for a given period of time. The rationale behind Harvest Farms is to have users keep their liquidity in pools, thus enabling trading on the DeFi platform.

A user can stake in a farm for a preset duration (determined in blocks) the liquidity provider tokens received after staking tokens in a Pool. Rewards are paid out in tokens set by Farm creator.

![harvest farms in navigation](/files/mvE0q9NyMxbM8IXPNySc)

![harvest farms interface](/files/cmJx1I9oGg1u2kxndk6Y)

| Object           | Description                                                                                                                       |
| ---------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| Stake-Earn       | Staked liquidity provider token (LP\_TKN) and reward token                                                                        |
| Status           | Amount of blocks remaining until the farm's expiration                                                                            |
| Earned           | Amount of tokens earned                                                                                                           |
| APY              | Annual percentage yield, i.e. the compounded return per year in percentage points                                                 |
| Liquidity        | **TO BE EXPLAINED** It is the manner in which assets are converted to cash quickly and efficiently, avoiding drastic price swings |
| Reward Per Block | Reward to be received for a block                                                                                                 |
| Details          | Information about your staking and earnings                                                                                       |

There is a function called "**status**" in the window. Active paused and finished statuses will be shown there. You can also choose to show **all** statuses.

![status](/files/N1QuC7gYzYDdY4LOd774)

## How To Use Farms

### Setting Up a Farm

(\*\*to be added? parameters in addition to the farm's time to live in blocks and the award fund to be distributed? \*\*)

### Providing Liquidity to get LP Tokens

To get started with Harvest Farms, you need LP tokens. Refer to [Pools](/enex.space/how-to-use/pool.md) for details on adding liquidity and obtaining LP tokens.

### Putting your LP Tokens into the Farm

To add LP tokens to the farm, click **Stake LP\_TKN** button. The following window appears:

![stake LP\_TKN](/files/8iTG9r3GmfvmCHQUns51)

Type in the amount of LP Tokens you would like to farm or just click **MAX** to use all of your LP Tokens. When you have entered the amount, the **Confirm** button lights up. Click **Confirm**. Your wallet will request the confirmation of your action.

![stake confirmation](/files/fUkzqz5Zxl56QOoVNrgA)

After a while, the window closes, and you will see your new staked LP Token balance in the Details section.

![ENX balance and LP\_TKN balance](/files/3fVOdgdDsm0C5mx54Qxc)

### Adding or removing LP Tokens from a Farm

You can **add more** LP Tokens to an existing Farm or to **remove some tokens** out of a Farm at any moment.

To do this, use **-** and **+** buttons below your tokens. Click **-** to remove LP Tokens from the Farm, or **+** to add more LP Tokens.

![adding or removing LP tokens](/files/S1JUs38Jj2eeHufEO6o4)

The window that opens looks like the one used to stake LP tokens into the Farm for the first time. Type in the LP token amount you want to add to or remove from the farm or click **MAX** to add or remove all available LP Tokens.

![removing window](/files/ODuQjEGniN2HPz50nYsw)

Check that your information is correct. When you are ready, click **Confirm** button and confirm the action in your wallet.

After the confirmation, your new balance will show up in the Details section of your LP Token pair.

### Collecting your farming rewards

Farming will bring you rewards over time. You can collect these rewards and use them to get more LP Tokens, stake them in Pools, or for anything else.

Click **Harvest** and confirm the action in your wallet. The reward tokens will be transferred to your wallet for you to use as you like.

![harvest](/files/jbe1GuE1NlQgTvCWEPTe)
