# How to Use Farms

Yield Farming in Farms is a great way to earn JIM rewards on ByteSwap.

Farms require you to stake **two tokens** to provide liquidity and receive either a liquidity position NFT or LP Tokens, which you then stake in the Farm to earn rewards. This lets you earn JIM while still keeping a position in your other tokens!

Yield farming can give better rewards than Syrup Pools, but it comes with a risk of **Impermanent Loss**. It’s not as scary as it sounds, but it is worth learning about the concept before you get started.

### Farm <a href="#farm-v2" id="farm-v2"></a>

#### &#x20;Get prepped <a href="#get-prepped" id="get-prepped"></a>

Yield farming takes a little work to get set up.

You’re going to need some "LP Tokens" to enter into a Farm with. Farms can only accept their own exact LP Token; for example, the JIM-USDT Farm will only accept JIM-USDT LP Tokens.

To get the exact LP Token, you'll need to provide liquidity for that trading pair. So to get JIM-USDT LP Tokens, you'll first have to provide liquidity for the JIM-USDT pair.

It may sound intimidating, but it's not too complicated. Let's go through step by step.

#### Finding your Farm <a href="#finding-your-farm" id="finding-your-farm"></a>

Before you proceed, you'll want to choose a Farm that's right for you. [Visit the Farms page](https://trade.byteswap.finance/farms) and you’ll see a list of available Farms.

<figure><img src="https://1507326162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FISjPFyOIGWjnBqBneixl%2Fuploads%2FHjgoctNY6RfBPcXFm9nU%2F21.png?alt=media&#x26;token=77b83396-cdff-4763-b8d5-2745c0dd0179" alt=""><figcaption></figcaption></figure>

You can choose another sorting option if you like, such as by **APR** for the Farms with the highest reward rate currently.

When you find a Farm that you'd like to use, note down the trading pair, e.g. JIM-USDT in case you need it later.

### Providing liquidity to get LP Tokens <a href="#providing-liquidity-to-get-lp-tokens" id="providing-liquidity-to-get-lp-tokens"></a>

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

1. Click on the row of the Farm you've chosen from the list. It will open to show more details.
2. On the left, you'll see some links. Click the **Get (your pair) LP** link.

<figure><img src="https://1507326162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FISjPFyOIGWjnBqBneixl%2Fuploads%2FmZgjHbEb6P1MguDTEJKO%2F22.png?alt=media&#x26;token=bfdba7b3-5432-418f-ad35-b0ef76e59de4" alt=""><figcaption></figcaption></figure>

### Putting your LP Tokens into a farm <a href="#putting-your-lp-tokens-into-a-farm" id="putting-your-lp-tokens-into-a-farm"></a>

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

1 - Go back to the [Farms page](https://trade.byteswap.finance/farms) and locate your Farm. Click anywhere on the row showing your pair. It will expand to show more details.

<figure><img src="https://1507326162-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FISjPFyOIGWjnBqBneixl%2Fuploads%2FOCjK5EyFTjzoVDbIhizE%2F23.png?alt=media&#x26;token=27538f0c-105f-4b0d-bb34-5f6f84eee234" alt=""><figcaption></figcaption></figure>

When you’re ready, click the **Enable** button and confirm your action in your wallet.

2 - After a short wait, the Enable button will change to **Stake LP**. Click it and a new window will appear.

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

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

5 - After a short wait, the window will close, and you will see your new staked LP Token balance in the details.\\

### Adding or removing LP Tokens from a Farm <a href="#adding-or-removing-lp-tokens-from-a-farm" id="adding-or-removing-lp-tokens-from-a-farm"></a>

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.

1. Return to the [Yield Farms page](https://trade.byteswap.finance/farms). At the top of the page you'll see a **Staked only** toggle. Click the toggle.

You should now only see the pairs you have LP Tokens in on the list, making it easier to find your Farm.

1. Find the Farm you have LP Tokens in, and click the row to view details. You will see a **-** and **+** button on the right-hand side. Click **-** to remove LP Tokens, or **+** to add more LP Tokens.

2. A window will open that looks like the one you used earlier to first stake your LP Tokens. Like last time, type the amount you would like to unstake/stake, or click **Max** to remove/add all available LP Tokens.

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

4. After a short wait, your new balance will show in the details section of your LP Token pair. If you've unstaked your LP Tokens, any unharvested rewards you had will automatically have been collected.

#### Collecting your farming rewards <a href="#collecting-your-farming-rewards" id="collecting-your-farming-rewards"></a>

Farming will bring you JIM rewards over time. You can collect these rewards and use them to get more LP Tokens or anything else you’d like.

#### Returning to your Farm to Harvest <a href="#returning-to-your-farm-to-harvest" id="returning-to-your-farm-to-harvest"></a>

You can harvest your Farm rewards together from the Home page. If you'd like to collect your farming rewards only, follow along.

To collect your rewards, you’ll need to visit your chosen Farm and collect the CAKE waiting for you.

1 - Return to the Farms page [here](https://trade.byteswap.finance/farms).

2 - Find the Farm you staked your LP Tokens in, and click the row to view details. You should see an estimate of your rewards under “JIM earned”.

3 - Click the **Harvest** button and confirm the action in your wallet. After a short wait, the JIM will be claimed to your wallet for you to use as you like.

### How often should I harvest my rewards? <a href="#how-often-should-i-harvest-my-rewards" id="how-often-should-i-harvest-my-rewards"></a>

How often you harvest your rewards is up to you, but it does help to remember that there is a small fee involved in harvesting.

You can see this fee in your wallet when confirming after clicking **Harvest**.

This shows the fee for harvesting as it appears in the MetaMask wallet. Different wallets will show the information a little differently. Consider leaving your rewards to grow for a while so you pay fees less often.

Happy farming!
