# 创建挖矿池

使用 TokenTools 创建挖矿活动视频教程

{% embed url="<https://youtu.be/QfqfRCVvPc8>" %}

## 第 1 步：挖矿规则

1. 链接你的钱包。
2. 前往 <https://tokentools.app/mining/list> 创建挖矿页面。
3. 点击「创建挖矿」。

![create-mining](/files/Yt0NqMU9xAOvjn0a46Il)

### 1.1 选择挖矿类型

TokenTools 提供两种不同的挖矿类型。\
**注意：** 不支持通缩型代币（即根据价格自动调整供应量的代币）。挖矿池创建后参数无法修改。

* **单币质押挖矿**：用户仅需质押一种代币即可获得挖矿收益，鼓励锁仓、减少流通。
* **双币做市挖矿**：用户需先在流动性池中质押两种代币获得 LP，再将 LP 质押至挖矿池获取奖励。

### 1.2 设置挖矿池参数

1. **Token 地址**：质押的代币合约地址；若为双币做市挖矿，则填写 LP 池合约地址。
2. **开始时间**：挖矿开始时间，必须晚于当前时间。
3. **时长**：挖矿总天数（整数）。
4. **锁仓时间**：质押代币的锁定期，需到期后方可提取。
5. **邀请机制**：是否开启邀请奖励功能。
6. **邀请比例**：邀请下级的奖励比例，单位为千分之。如填写 100 表示千分之 100；若用户奖励 1000 代币，邀请人将获得 100 代币。

## 第 2 步：奖励规则

![create-mining](/files/f4gdF16USSFdAQZtwzeC)

1. 输入奖励合约地址（奖励发放代币的合约地址）。
2. 设置每日奖励数量与奖励总量：用户将按质押比例瓜分奖励。
3. 可填写 Logo、官网等扩展信息，完善活动展示。

## 第 3 步：确认完成

![create-mining](/files/MY0q4jJvqFu8ER07aamP)

确认信息无误后，依次点击 **【授权】** 和 **【创建】**。\
MetaMask 将弹出交易确认窗口，请检查 Gas 费用并点击“确认”完成交易。

![create-mining](/files/Clhq7IuFDhVB3P16Kyxj)


---

# 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://docs.tokentools.app/mining/create-a-mining.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.
