# 如何获得LP并挖矿

**图文流程：**

* 进入PancakeSwap的流动性界面：<https://pancakeswap.finance/pool>
* 选择“添加流动性”

![](/files/-MeYzh8PT4vdrv6xZlgC)

* 搜索并选择MIX—Heroes 交易对，即在上下两个框中分别选择MIX和Heroes代币

{% hint style="warning" %}
请使用搜索合约地址的方式来选择代币

MIX：0x398f7827dccbefe6990478876bbf3612d93baf05

Heroes：0x261510Dd6257494eEA1DDA7618DBe8a7b87870dd
{% endhint %}

![](/files/-MeZ-p1xZiSRgUFEEgnm)

* 输入想要添加的流动性数量

{% hint style="info" %}
第一次添加流动性时，需要同时对MIX和Heroes进行授权

在添加流动性时，需要同时拥有交易对中的两种代币

在添加流动性时，输入一种代币的数量，系统会自动匹配给出所需的另一种代币数量
{% endhint %}

![](/files/-MeZ1xVT3ZSsycgie94q)

* 再次确认您需要添加的流动性信息后，调用钱包发送交易
* 交易完成后可以即可获得相应的LP代币

![](/files/-MeZ9u2TdJozuda9lpvB)

* 进入游戏中的“集卡”—“常驻矿池”，找到Heroes—MIX质押矿池，点击“质押”

![](/files/-MeZBt25b92c4rtC6JOk)

* 输入想要质押的LP数量
* 调用钱包发送质押交易，交易成功后即可源源不断的获取Heroes奖励拉

{% hint style="info" %}
首次质押LP时需要先进行授权
{% endhint %}

![](/files/-MeZC5-CMy1v9uJfkKeU)


---

# Agent Instructions: 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:

```
GET https://mixmarvel.gitbook.io/dehero/english-2/1-4.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
