> For the complete documentation index, see [llms.txt](https://docs.pancakeswap.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pancakeswap.finance/chinese/zhuan-qu/yield-farming/how-to-use-farms.md).

# 农场使用指南（EVM）

![](https://raw.githubusercontent.com/pancakeswap/pancake-document/en/.gitbook/assets/how-to-yield-farms-header.png)

在农场中进行农场挖矿是在 PancakeSwap 上赚取 CAKE 奖励的好方法。

农场要求你质押**两种代币**来提供流动性，并获得流动性头寸 NFT 或 LP 代币，然后你将其质押在农场中以赚取奖励。这让你在赚取 CAKE 的同时，仍能保留对你其他代币的头寸！

{% hint style="warning" %}
农场挖矿能带来比 Syrup 资金池或单币质押更高的回报，但同时伴随着**无常损失**的风险。它并不像听起来那么可怕，但在开始之前值得先了解一下这个概念。

查看币安学院的这篇精彩的[无常损失解析文章](https://academy.binance.com/en/articles/impermanent-loss-explained)以了解更多。
{% endhint %}

## 查找提供流动性的交易对

<figure><img src="https://raw.githubusercontent.com/pancakeswap/pancake-document/en/.gitbook/assets/image%20%28360%29.png" alt=""><figcaption></figcaption></figure>

现在通过通用农场页面，你可以按代币查找流动性交易对，查看它们的手续费、交易量、APR，覆盖所有 PancakeSwap 支持的网络，而无需在钱包中切换网络。

前往：<https://pancakeswap.finance/liquidity/pools> 以开始

#### 功能详解

<figure><img src="https://raw.githubusercontent.com/pancakeswap/pancake-document/en/.gitbook/assets/image%20%28361%29.png" alt=""><figcaption></figcaption></figure>

1. 所有正在流行或附带 PancakeSwap 农场的流动性资金池/交易对。
2. 你拥有的所有流动性头寸。
3. 所有旧版农场。如果你在“所有资金池”中找不到你之前质押的农场，请尝试在这里搜索。
4. 默认情况下，页面显示来自所有支持链的农场和代币。使用此下拉菜单按网络/链筛选资金池。
5. 使用此下拉菜单按代币筛选资金池。
6. 使用此选项卡按 DEX 类型筛选资金池。
7. 点击 APR、TVL 或 24小时交易量上的箭头按钮，按所选指标对资金池进行排序。
8. bCAKE 的相关部分 - 农场收益增强器。[了解更多](/chinese/huan-ying-lai-dao-pancakeswap/vecake-sunset/bcake.md)
9. 如果你在使用新版本时遇到任何问题，请使用此链接返回旧版农场页面。

## 提供 LP

<figure><img src="https://raw.githubusercontent.com/pancakeswap/pancake-document/en/.gitbook/assets/image%20%28362%29.png" alt=""><figcaption></figcaption></figure>

一旦你找到要提供流动性的交易对，点击进入详情页面以查看更多信息，例如：

* TVL
* 交易量
* 手续费
* APR
* 你的现有头寸

要创建 LP，点击“添加流动性 +”并按照此处的说明操作：

{% content-ref url="/pages/PVl7M3dLdIaV4Kmsgrq8" %}
[如何添加/移除流动性（EVM）](/chinese/zhuan-qu/pancakeswap-pools/liquidity-guide.md)
{% endcontent-ref %}

## 质押你的头寸以赚取奖励

<figure><img src="https://raw.githubusercontent.com/pancakeswap/pancake-document/en/.gitbook/assets/image%20%28363%29.png" alt=""><figcaption></figcaption></figure>

添加流动性后，它们将出现在右上方的表格中。或者在“我的头寸”选项卡中。

* 对于 V3，只需点击“质押”即可质押你的头寸并开始赚取 CAKE。由于在 V3 中用户可以创建多个头寸，你可以重复上述步骤，质押具有不同价格区间的多个头寸。
* 对于 V2 和 StableSwap，点击“质押”后，你需要指定要质押的 LP 代币数量。在大多数情况下，你应该质押 100% 的 LP 代币以最大化你的收益。

## 收获农场挖矿奖励

<figure><img src="https://raw.githubusercontent.com/pancakeswap/pancake-document/en/.gitbook/assets/image%20%28364%29.png" alt=""><figcaption></figcaption></figure>

在全新的通用农场页面中，定位你所有的农场挖矿头寸从未如此简单。只需前往“我的头寸”并点击右上角的“仅农场”。所有农场挖矿头寸都将被筛选出来，无论你选择的是哪个网络。

就像资金池/交易对列表一样，你可以使用工具栏按网络/链、代币和 DEX 类型筛选头寸。

要从质押的头寸中收获 CAKE 奖励，只需点击“收获”并在钱包弹窗中确认。

如果你有多个质押的头寸，则需要分别收获它们。

## **在农场中质押的同时添加或移除流动性**

在 V3 中，当在农场中质押时，你仍可以在不取消质押的情况下添加或移除流动性。

要执行此操作，只需返回“我的头寸”页面，找到你想要调整的头寸。

<figure><img src="https://raw.githubusercontent.com/pancakeswap/pancake-document/en/.gitbook/assets/image%20%28365%29.png" alt="" width="280"><figcaption></figcaption></figure>

点击带有代币对和头寸 ID 的头寸标题，打开头寸详情页面。

只需使用“添加”或“移除”按钮来调整质押头寸中的流动性。

<figure><img src="https://raw.githubusercontent.com/pancakeswap/pancake-document/en/.gitbook/assets/image%20%28366%29.png" alt=""><figcaption></figcaption></figure>

请注意，在调整头寸时，所有未领取的 CAKE 奖励都将被收获并发送到你的钱包。

## **取消质押**

你可以随时取消质押一个头寸。

<figure><img src="https://raw.githubusercontent.com/pancakeswap/pancake-document/en/.gitbook/assets/image%20%28367%29.png" alt=""><figcaption></figcaption></figure>

要取消质押，只需返回“我的头寸”，找到该头寸，然后点击：

* “取消质押”（适用于 V3 头寸）
* “-”（适用于 V2、StableSwap LP），然后选择要取消质押的数量

然后在钱包弹窗中确认。稍等片刻后，你的头寸 NFT 或 LP 代币将连同所有待领取的 CAKE 奖励一起返回到你的钱包。

## 我应该多频繁地收获我的奖励？

你多频繁地收获奖励取决于你自己，但请记住，收获时会涉及一笔小额费用。

你可以在点击**收获**后确认时在钱包中看到此费用。

![](https://raw.githubusercontent.com/pancakeswap/pancake-document/en/.gitbook/assets/image%20%28281%29.png)

这显示了收获费用在 MetaMask 钱包中的样子。不同的钱包会以略有不同的方式显示信息。可以考虑让你的奖励积累一段时间，这样你支付费用的频率就会降低。

**农场挖矿愉快！**


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.pancakeswap.finance/chinese/zhuan-qu/yield-farming/how-to-use-farms.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
