> For the complete documentation index, see [llms.txt](https://docs.decentraland.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.decentraland.org/creator/content-creator-zh/jiang-li/getting-started.md).

# 快速开始

设置 Decentraland Rewards 活动：创建活动、添加可穿戴物或表情动作库存、管理资金并激活发放器。

本页面将指导你完成使用奖励系统的流程，以激励用户与 Decentraland 可穿戴物品和表情动作进行互动。你将学习如何设置和管理奖励活动，包括创建活动、向活动库存添加物品、管理资金以及使用分发器来发放奖励。此外，你还会找到有关激活活动和处理交易费用的说明。

## 前提条件

在开始使用奖励系统之前，请确保你有一个收藏集 [已获批准并准备好进行铸造](/creator/content-creator-zh/chuan-dai-wu-yu-biao-qing-dong-zuo/fa-bu-he-ji/publishing-collections.md)。该收藏集应包含你计划在活动中作为奖励提供的物品。

## 创建你的第一个活动

活动是指一种旨在通过奖励发放来提升用户参与度的激励计划。在本节中，你将了解活动配置的详细信息，以及启动奖励发放所需的前提条件。

1. 访问 [奖励 dApp](https://decentraland.org/rewards)
2. 连接你的钱包
3. 点击 **活动** 标签
4. 点击 **创建活动** 按钮。你将被重定向到活动创建表单。

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-2864c9653d10a3886d0dfd60e5ff143daffe94e8%2Fcreate-campaign-page.png?alt=media\&token=1146947f-ddc1-4db9-b371-cfbf45b40238)

5. 完成以下字段：

* **活动名称**：为你的活动选择一个名称。该名称将显示在用户的奖励页面上。
* **活动网络**：选择你的可穿戴物品将在哪个网络上铸造。请注意，此选择是最终的，一旦活动创建后便无法更改。
* **最大 Gas 价格**：设置你愿意为每笔交易支付的最高 gas 价格。如果某笔交易的 gas 价格超过此上限，它将被推迟，直到价格下降。UI 将根据此设置提供铸造每个物品的费用估算。

6. 点击 **创建活动** 按钮。你将被重定向到活动页面。

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-12e752af40575997159da5dd7759e2b17d427add%2Fnew-campaign.png?alt=media\&token=095e67b8-a196-41b3-a2af-be4a2d56b0b1)

创建活动后，在开始发放奖励之前还需要完成几个步骤：

* **添加 MATIC 代币余额**：确保你的账户中有足够的 MATIC 代币来支付交易费用。
* **向活动库存添加物品**：将你计划作为奖励提供的物品添加到活动中。
* **创建分发器**：设置一个用于向用户分发奖励的分发器。
* **激活你的活动**：最后，激活你的活动，使其上线并开始发放奖励。

### 添加 MATIC 以支付交易费用

要铸造物品，你需要向活动地址添加一定数量的 MATIC 代币来支付交易费用。你可以在活动名称下方找到该地址。

要从你的钱包转移 MATIC，首先请确保你连接到与活动相同的网络。然后，复制活动地址并向其发送所需数量的 MATIC。如果你的钱包里没有 MATIC，你可以参考 [本指南](https://github.com/decentraland/docs/tree/main/player/blockchain-integration/transactions-in-polygon.md#where-can-i-get-matic-to-pay-for-transaction-fees) 来获取一些。

{% hint style="info" %}
**💡 提示**：对于运行在测试 **AMOY** 网络上的活动，你可以从 [这个水龙头](https://faucet.polygon.technology/).
{% endhint %}

如果要从交易所发送 MATIC，你只需将 MATIC 代币提取到 Polygon 网络（通常交易所不提供 Amoy 网络）。

### 向活动库存添加物品

当你创建新活动时，它会从一个空库存开始。要开始发放奖励，你需要向活动中添加物品：

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-666f5e5102923cbe37d8ad2bddc453c8aeba7e4b%2Fwithout-supply.png?alt=media\&token=dc2a1d8e-d23c-4624-8544-751b53c5f945)

* **授予铸造权限**：首先，授权该活动铸造物品。请按照 [本指南](/creator/content-creator-zh/chuan-dai-wu-yu-biao-qing-dong-zuo/fa-bu-he-ji/publishing-collections.md#adding-minters-to-the-collection) 并使用活动地址（位于活动名称下方）作为铸造者地址。提交后，请等待交易确认。
* **向活动库存添加物品**：一旦授予铸造权限，你就可以开始向活动库存中添加物品。

  a) 点击 **添加库存** 按钮，以查看该活动拥有铸造权限的所有收藏集。

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-c4150f495ff07f1fde8b1d4404e665659d9a1b49%2Fcollection-available.png?alt=media\&token=d2e6a9f6-e26a-483b-8561-0842790aa15a)

```
b) 从收藏集中选择你想要添加到库存中的物品，然后点击 **添加库存** 按钮。
```

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-091e1f5608922184a698047b1f5c621245328711%2Fadd-supply.png?alt=media\&token=232577eb-186f-46f1-a4a8-63ee5172a418)

```
c) 选择你想要添加到活动库存中的物品数量，然后点击 **添加库存** 按钮。
```

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-93177d8b1070b644648be4c94edda3df2a2e2a79%2Fwith-supply.png?alt=media\&token=520149bd-5af5-4c85-9377-1a74289745a6)

{% hint style="info" %}
Priority 和 Group 字段是高级功能，将在专门章节中介绍。
{% endhint %}

### 创建分发器以发放奖励

分发器是用于从你的库存中发送或领取奖励的工具。每个分发器都关联一个唯一密钥，该密钥用于 HTTP API 身份验证。虽然密钥不会显示在 UI 中，但你可以通过点击复制按钮来复制它。

当你创建新活动时，系统会自动提供一个带有主密钥的默认分发器，仅用于测试目的。要设置新的分发器，请点击 **添加分发器** 按钮。

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-9f781b6d00ac1a11fb5f62b5f010de5f2d2b6d0a%2Fcreate-dispenser.png?alt=media\&token=917518ab-d742-41aa-a9ce-5e37f57b0498)

选择你要从中取出物品的物品组，然后点击 **保存** 按钮。

{% hint style="info" %}
分发器具有一些配置选项，将在专门章节中介绍。
{% endhint %}

### 激活你的活动

默认情况下，你的活动处于未激活状态。这会阻止奖励服务分配任何新奖励。要激活你的活动，请点击 **激活活动** 按钮。

{% hint style="warning" %}
**📔 注意**：如果一个已激活的活动被设为未激活，任何待处理的奖励仍会发送。但是，新的领取或因某些原因需要重试的领取将被阻止。
{% endhint %}

**现在你已经准备好使用** [**API**](https://github.com/decentraland/docs/tree/main/creator/rewards/api.md)

### 管理资金

活动完成后，如果交易费用还有剩余资金，所有者可以选择收回这些资金或将其重新分配给另一个活动。要收回资金，只需在活动详情页面点击“管理资金”按钮。

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-8cf429fc57594ab379f05eeada8e7aab8e5dd6a0%2Fmanage-funds.png?alt=media\&token=bbf8df5e-3137-416f-b6b1-28f5153ea96d)

{% hint style="warning" %}
**📔 注意**：如果从某个活动中移除了所有资金，那么与该活动相关的任何待处理或新的交易都将被阻止，直到分配更多资金。
{% endhint %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.decentraland.org/creator/content-creator-zh/jiang-li/getting-started.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
