# 时间锁

{% hint style="info" %}
项目方可通过锁定项目代币以增强社区的信任度。
{% endhint %}

{% hint style="info" %}
IDO 锁定的项目代币也可以在时间锁界面进行领取。
{% endhint %}

冰淇淋[时间锁](https://icecreamswap.com/locks)可以将您的代币锁定一段时间，创建锁的时候可以选择一次性释放或每隔一段时间线性释放锁定代币。参加了 IDO 的用户也可以到这里来领取被锁定的项目代币。

## 创建锁 <a href="#create" id="create"></a>

{% hint style="warning" %}
这主要为项目方设计的一个功能，普通用户通过锁币并无实质好处。
{% endhint %}

通过锁定项目代币，项目方可以与社区建立更好信任，因为用户可以随时验证项目的锁定代币。一个人可以创建的锁的数量没有限制。 请参考如下步骤为您的代币创建时间锁。

在步骤4中，如果是首次为某个代币创建锁，您还需要[批准代币](#pi-zhun-dai-bi)。同时您还可以为时间锁**启用缓释**，这样锁定的代币可以每隔一段时间线性释放，而无需等到最后时刻一次性释放。

<div><figure><img src="/files/GkShDKrTuKOwmoVjbReD" alt=""><figcaption><p>步骤1：选择<strong>更多</strong>，进入<strong>时间锁</strong>主界面</p></figcaption></figure> <figure><img src="/files/XISveNw8Z9ojHTC5dQaf" alt=""><figcaption><p>步骤2：从代币列表中选择需要加锁的代币，点击<strong>前往</strong></p></figcaption></figure> <figure><img src="/files/a6RgSTCk2P9kJPJJkZul" alt=""><figcaption><p>步骤3：进入该代币时间锁的总览 (包括其他人创建的锁)，点击<strong>创建锁</strong></p></figcaption></figure> <figure><img src="/files/4KP5UHvFo59jd3lvyed0" alt=""><figcaption><p>步骤4：设定需要锁定的代币金额，锁定时间，点击<strong>创建</strong></p></figcaption></figure> <figure><img src="/files/jU79SA39YIWNNjNaPijl" alt=""><figcaption><p>步骤5：点击<strong>确认</strong></p></figcaption></figure> <figure><img src="/files/NKPZTmshPrHeJ3vjY4wR" alt=""><figcaption><p>步骤6：在钱包中点击<strong>确认</strong></p></figcaption></figure> <figure><img src="/files/dQhkA15lzo3UPuOwuoAb" alt=""><figcaption><p>步骤7：已成功创建锁</p></figcaption></figure> <figure><img src="/files/5LensbjZGUklqiVwFsUN" alt=""><figcaption><p>步骤8：回到时间锁主界面也可看到创建的锁</p></figcaption></figure></div>

### 批准代币 <a href="#approve" id="approve"></a>

如果是首次为某个代币创建锁，您还需要批准以授权冰淇淋访问您的代币。请参考下面的步骤。

<div><figure><img src="/files/uqZ7VICi53bQhVK9dQ7s" alt=""><figcaption><p>步骤1：点击<strong>批准</strong></p></figcaption></figure> <figure><img src="/files/Ipe6yrSShbHcrVZGexCj" alt=""><figcaption><p>步骤2：在钱包中点击<strong>批准</strong></p></figcaption></figure> <figure><img src="/files/aD4zpfPkN1cLj3NTToAf" alt=""><figcaption><p>步骤3：点击确认</p></figcaption></figure></div>

## 领取 <a href="#claim" id="claim"></a>

在时间锁的主界面找到之前创建的锁，参考如下步骤来领取被锁定的代币。

<div><figure><img src="/files/5LensbjZGUklqiVwFsUN" alt=""><figcaption><p>步骤1：在时间锁主界面找到需要领取的代币，点击<strong>查看详情</strong></p></figcaption></figure> <figure><img src="/files/xkd9b6IGx5esLXFVRwdv" alt=""><figcaption><p>步骤2：进入该锁的详情页</p></figcaption></figure> <figure><img src="/files/5nihxqMbiGiLBDtkPaXX" alt=""><figcaption><p>步骤3：点击<strong>领取</strong></p></figcaption></figure> <figure><img src="/files/9kFRGqpQ8eBYJ9H5CrVQ" alt=""><figcaption><p>步骤4：在钱包中点击<strong>确认</strong></p></figcaption></figure> <figure><img src="/files/nbqBmxVMpPCHVJyfOvQ5" alt=""><figcaption><p>步骤5a：已成功领取被锁定的代币</p></figcaption></figure> <figure><img src="/files/QwF6cFuZU5ZUb4Hs6y4f" alt=""><figcaption><p>步骤5b：回到时间锁主界面也可看到已全部领取</p></figcaption></figure></div>

如果您参加了 IDO，锁定的项目代币也会出现在这里，领取步骤同上。


---

# 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://wiki.icecreamswap.com/zh/dex/lock.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.
