# Yield Farming

{% hint style="warning" %}
Make sure your MetaMask wallet is connected to the Moonbeam network!
{% endhint %}

## How to add liquidity:

{% hint style="danger" %}

### To add liquidity, you must have two tokens with an equal value ratio.

### &#x20;The guide below explains how to swap tokens on Beamswap.

{% endhint %}

{% embed url="<https://docs.beamswap.io/getting-started/how-to-swap>" %}

## Step 1

Click [here](https://app.beamswap.io/exchange/pool) to go to the liquidity page

Or visit: <https://app.beamswap.io/exchange/pool>&#x20;

## Step 2

First, click on **+ Add Liquidity**

<figure><img src="https://4237212995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tC9qDROHxBdPo4ntPQ5%2Fuploads%2FaeKgQSjXyVdVKMOB6MTn%2Fimage.png?alt=media&#x26;token=30b2f322-590e-427f-9368-62ac8c876e27" alt=""><figcaption></figcaption></figure>

## Step 3

Next, select the two tokens that you want to add to liquidity.

<figure><img src="https://4237212995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tC9qDROHxBdPo4ntPQ5%2Fuploads%2FxylcSh5n18NiPlnX1s8g%2Fimage.png?alt=media&#x26;token=925d4162-ead6-429f-a91d-ce710e7513be" alt=""><figcaption></figcaption></figure>

## Step 4

Enter equal amounts of tokens with respect to value. Entering the amount in any one of the boxes will automatically populate the other box.

Finally, click on **Approve**.

<figure><img src="https://4237212995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tC9qDROHxBdPo4ntPQ5%2Fuploads%2FxQEz9MlRFnkP1Vej1lHT%2Fimage.png?alt=media&#x26;token=a1768864-be09-4202-b2a6-2ca1b812cfd0" alt=""><figcaption></figcaption></figure>

## Step 5

The Metamask will pop up to ask permission to access your funds. Click on **Confirm** to proceed.

<figure><img src="https://4237212995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tC9qDROHxBdPo4ntPQ5%2Fuploads%2Fzgr8jFrfNK4nJPqfFflo%2Fimage.png?alt=media&#x26;token=37ec58d4-aa5b-4e05-9236-13cab3325197" alt=""><figcaption></figcaption></figure>

## Step 6

Please wait until your funds get approved. Once your funds are approved, you will get a notification pop-up and the button on the bottom will change to "**Confirm Adding Liquidity**"

Click on **Confirm Adding Liquidity** to proceed.

<figure><img src="https://4237212995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tC9qDROHxBdPo4ntPQ5%2Fuploads%2FoTlNXJVBOc6zNilfJpjS%2Fimage.png?alt=media&#x26;token=6cd74d15-85f4-488f-9047-85aaa774462e" alt=""><figcaption></figcaption></figure>

## Step 7

A pop-up will appear with details of your liquidity.

Review the details and click on **Confirm Supply**.

<figure><img src="https://4237212995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tC9qDROHxBdPo4ntPQ5%2Fuploads%2FBp0N5G7swplbUPDeHRBA%2Fimage.png?alt=media&#x26;token=b49c033c-306f-4358-9122-740fbe58480c" alt=""><figcaption></figcaption></figure>

## Step 8

The Metamask will pop up again.&#x20;

Click on **Confirm** to proceed.

<figure><img src="https://4237212995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tC9qDROHxBdPo4ntPQ5%2Fuploads%2FbxJFxd8W2BRoHWL9hdv5%2Fimage.png?alt=media&#x26;token=754b27ba-eb21-4faa-a74d-41094b7a2f59" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}

### That's it, you have successfully added liquidity!

{% endhint %}

<figure><img src="https://4237212995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tC9qDROHxBdPo4ntPQ5%2Fuploads%2Fy42OgqFi75QdtDLgclKB%2Fimage.png?alt=media&#x26;token=2a778b1b-7814-4fe4-b880-56a15cefe93e" alt=""><figcaption></figcaption></figure>

## How to remove liquidity?

You can remove liquidity anytime and get your funds back in your wallet.

## Step 1

First, go to the liquidity page by clicking [here](https://app.beamswap.io/exchange/pool).

Click on **Manage.**

<figure><img src="https://4237212995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tC9qDROHxBdPo4ntPQ5%2Fuploads%2FUVE3EdmNKpdV9vydEw6I%2Fimage.png?alt=media&#x26;token=427ee419-06a6-4b9f-8952-989c9dc5d766" alt=""><figcaption></figcaption></figure>

## Step 2

Next, click on **Remove**.

<figure><img src="https://4237212995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tC9qDROHxBdPo4ntPQ5%2Fuploads%2Fp1mwhQSPE7wRPWUGa5EA%2Fimage.png?alt=media&#x26;token=6da66712-7150-45b0-af94-076a27151310" alt=""><figcaption></figcaption></figure>

## Step 3

Next, enter the percentage of liquidity you want to remove. If you enter 100%, then all the liquidity will be removed.

Finally, click on **Approve**.

<figure><img src="https://4237212995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tC9qDROHxBdPo4ntPQ5%2Fuploads%2F18H5cB1hvjmguJ525eS6%2Fimage.png?alt=media&#x26;token=d45052d6-445e-4242-a998-813e12255b1f" alt=""><figcaption></figcaption></figure>

## Step 4

Metamask will pop up asking you for a signature request.

Click on **SIGN** to proceed.

<figure><img src="https://4237212995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tC9qDROHxBdPo4ntPQ5%2Fuploads%2Fp6aNpEeJA6aiYSBfJ69X%2Fimage.png?alt=media&#x26;token=3371588e-a072-4e74-9b40-344e55ff5f7a" alt=""><figcaption></figcaption></figure>

## Step 5

Next, click on **Confirm Withdrawal**.

<figure><img src="https://4237212995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tC9qDROHxBdPo4ntPQ5%2Fuploads%2FgZKdzReZ7ywIm9DwgLnV%2Fimage.png?alt=media&#x26;token=ede5bad8-cd85-4703-867d-b3b0b85dc184" alt=""><figcaption></figcaption></figure>

## Step 6

Review the details and click on **Confirm**.

<figure><img src="https://4237212995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tC9qDROHxBdPo4ntPQ5%2Fuploads%2FszjT9PEEHjiBqljPKO8u%2Fimage.png?alt=media&#x26;token=b7456cfc-0d0b-4611-85b9-0cd43cedb3b4" alt=""><figcaption></figcaption></figure>

## Step 7

Your Metamask will pop up again.&#x20;

**Confirm** the transaction in your wallet.

<figure><img src="https://4237212995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tC9qDROHxBdPo4ntPQ5%2Fuploads%2FaI68xTVZTNvmV1itCbJk%2Fimage.png?alt=media&#x26;token=59765657-2d14-4f1d-8123-3689f4787277" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}

### Just wait for the transaction to process, and your liquidity will be removed successfully!

{% endhint %}

Yield Farming is one of the core features of the Beamswap DeFi Hub. It rewards you for depositing liquidity pool tokens.

Go to <https://app.beamswap.io/farm> and browse the listed farms. Currently, the following pools are active on Beamswap Farms:

* POOP - GLMR
* xcIBTC - USDC
* GLMR - USDC
* Multi 4pool (BUSD - USDT - USDC - DAI)
* GLMR
* xcDOT - GLMR
* GLINT - GLMR
* BNB - BUSD
* ETH - USDC
* BEANS - GLMR

{% hint style="info" %}
You can find the previously active farms under the “Inactive” tab.
{% endhint %}

In the chosen farm pair, click “Details”, review the information such as the APR and Liquidity, and click “Stake”. Enter the amount you want to stake and confirm the transaction in your wallet.

<figure><img src="https://4237212995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tC9qDROHxBdPo4ntPQ5%2Fuploads%2FrYJSmXrOAP5VZqS4kG2N%2Fbeamswap-yield-farm-stake.png?alt=media&#x26;token=bf7a46f7-df38-43a0-a104-ea9b7ebe10f9" alt=""><figcaption></figcaption></figure>

To unstake, simply choose “Unstake”. Specify the amount, click “Unstake”, and confirm the transaction in your wallet.

<figure><img src="https://4237212995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tC9qDROHxBdPo4ntPQ5%2Fuploads%2FCWdHruPcHsBdn2XgG7KK%2Fbeamswap-yield-farm-unstake.png?alt=media&#x26;token=6b7f42db-c807-4f76-b2e8-fbb318824325" alt=""><figcaption></figcaption></figure>

## Rewards

Most farms provide dual rewards:

* $GLINT, Beamswap’s native token
* $rTIDE, Surfswap’s $TIDE on Beamswap

Some featured farms, however, provide triple rewards, adding another reward asset to the two above, for example (subject to change):

* $POOP rewards in the POOP - GLMR farm
* $GLMR rewards in the Multi 4pool farm and GLMR - xcUSDT farm
* $xcINTR rewards in the xcIBTC - USDC farm

<figure><img src="https://4237212995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tC9qDROHxBdPo4ntPQ5%2Fuploads%2Fxnm7CFixr2k9ausnRifD%2Fbeamswap-yield-farm-featured-farms.png?alt=media&#x26;token=ce79a96c-f0e2-4ff9-bb4c-0ea22307c006" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
To receive double and triple rewards, you should interact with the farms, either through deposit, harvest, or withdrawal, in any of the Beamswap pools.
{% endhint %}

## APR

APR or Annual Percentage Rate represents the annual rate of return and is expressed in percentages.

On Beamswap Farms, you can find more details behind the listed APR by hovering over the 🛈 symbol:

* Reward APR
* LP APR
* $TIDE Reward APR

<figure><img src="https://4237212995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tC9qDROHxBdPo4ntPQ5%2Fuploads%2FU63KWvbZ9LUqeot6jler%2Fbeamswap-yield-farm-apr.png?alt=media&#x26;token=fc54f633-5a2b-4557-9145-e83b1bc81b15" alt=""><figcaption></figcaption></figure>

## Liquidity provision <a href="#yield-farms-liquidity-provision" id="yield-farms-liquidity-provision"></a>

Liquidity pools contain locked crypto tokens supplied by the platform users and run as smart contracts. They represent the essential funds that keep powering the DeFi features of Beamswap.

You can provide liquidity to the Beamswap DEX by depositing one or more assets into a liquidity pool and earn trading fees or lending interest.

### Add liquidity

{% hint style="warning" %}
To add liquidity, you need $GLINT tokens equal to the value of liquidity tokens you would like to add to Beamswap. If you don't have $GLINT yet, you can swap other tokens for it (check out [this guide](https://www.youtube.com/watch?v=4elN225hg2I)).
{% endhint %}

Go to <https://app.beamswap.io/exchange/pool>.

Since you have no tokens in liquidity pools to begin with, click “Add Liquidity”.

<figure><img src="https://4237212995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tC9qDROHxBdPo4ntPQ5%2Fuploads%2Fnnr9NA3fsFNXPzzxvZU4%2Fbeamswap-yield-farm-add-liquidity.png?alt=media&#x26;token=382054c2-2eaf-42f7-8a81-d72371cda7a5" alt=""><figcaption></figcaption></figure>

Next, choose one or more tokens you would like to add to liquidity pools.

Select an equal ratio of selected tokens and click “Confirm Adding Liquidity”. The pop-up window shows the output you will receive on Beamswap.

<figure><img src="https://4237212995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tC9qDROHxBdPo4ntPQ5%2Fuploads%2FbqjHJcJIBx2nrYtaQFyO%2Fbeamswap-yield-farm-add-liquidity-confirm.png?alt=media&#x26;token=5ff9f28e-94a8-4a03-bd96-eeb38fa9e9f2" alt=""><figcaption></figcaption></figure>

If you agree, click “Confirm Supply”.

Lastly, confirm the transaction in your wallet.

{% hint style="info" %}
You can optimize transactions under “Settings” in the top right corner.
{% endhint %}

### Remove liquidity

To remove your liquidity tokens from the pool, go to tab “Liquidity” tab, and next to the token pair, click “Manage”.

Click “Remove” and then “Confirm Withdrawal”. Once again, confirm the transaction in your wallet.

<figure><img src="https://4237212995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9tC9qDROHxBdPo4ntPQ5%2Fuploads%2FKMw0mLUqNhbcyjIoVcs0%2Fbeamswap-remove-liquidity-confirm-withdrawal.png?alt=media&#x26;token=718ff952-b6f1-4d8f-bf5f-d49a724a4cb7" alt=""><figcaption></figcaption></figure>

Learn more about how to add liquidity and yield farm on Beamswap:

{% embed url="<https://www.youtube.com/watch?v=-oCPV9INWqg>" %}
