# Lock

{% hint style="info" %}
Project owners can lock their tokens to build trust with community.
{% endhint %}

{% hint style="info" %}
Users can claim their vested tokens via the locks created for them by an IDO.
{% endhint %}

[IceCream Lock (https://icecreamswap.com/locks)](https://icecreamswap.com/locks) allows you to lock your tokens for a fixed period.

## Create Lock

Before you creating any lock, please understand this feature is mainly for project owners. Regular users have no real benefit by locking their tokens.

Project owners can build trust with community as users are sure that you have locked your tokens for a fixed period of time. Given the lock ID, users can verify a project's locked tokens anytime. There is no limit on the number of locks that one can create.

Please follow the steps below to create a lock. Note that you have two options either without vesting (Step 4a) or with vesting (Step 4b). You create a regular lock by setting a unlock date. When it's time, you claim your tokens all at once. On the hand, with vesting you set a starting date and a ending date. By using vesting, you can claim tokens, which are release linearly.

All locks, either created by yourself or those created on your behalf by an IDO project, can be viewed under the "My Locks" section.

<div><figure><img src="https://2770936021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDP5mP1MKx9QrcwhAxRUN%2Fuploads%2FT3G5igOlKkBV4rO0Ohsq%2Fapp-lock.jpg?alt=media&#x26;token=5c614341-df4b-4068-83fa-9469ffd7b381" alt=""><figcaption><p>Step 1 Go to "Locks"</p></figcaption></figure> <figure><img src="https://2770936021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDP5mP1MKx9QrcwhAxRUN%2Fuploads%2Fog6WC5smZRjCmmQhMfmV%2Fapp-lock-go.jpg?alt=media&#x26;token=3b22ee70-b6d7-474c-a02e-4efbf056c1ad" alt=""><figcaption><p>Step 2 "Select a Token" that you want to  lock (e.g., ICE) and click "Go"</p></figcaption></figure> <figure><img src="https://2770936021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDP5mP1MKx9QrcwhAxRUN%2Fuploads%2FdH14Ad7J4i3qvHGjrhup%2Fapp-lock-create-lock.jpg?alt=media&#x26;token=e894c06f-ae55-4ea3-a851-5507a0e6f300" alt=""><figcaption><p>Step 3 Click "Create Lock"</p></figcaption></figure> <figure><img src="https://2770936021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDP5mP1MKx9QrcwhAxRUN%2Fuploads%2FDDYExl2ShuQAixKinKqx%2Fapp-lock-create.jpg?alt=media&#x26;token=eae2f779-dac6-49e6-87c6-9cb3a6d03c86" alt=""><figcaption><p>Step 4a Input the token amount and set the "Unlock Date", then click "Create"</p></figcaption></figure> <figure><img src="https://2770936021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDP5mP1MKx9QrcwhAxRUN%2Fuploads%2Fnp6AI8pFFkvwfMZ6mvKM%2Fapp-lock-vest.jpg?alt=media&#x26;token=22cd2763-c789-4db6-b515-f2655019f9fa" alt=""><figcaption><p>Step 4b Alternatively, you can "Use Vesting" with a "Starting Date" and "Ending Date", then click "Create"</p></figcaption></figure> <figure><img src="https://2770936021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDP5mP1MKx9QrcwhAxRUN%2Fuploads%2FM3dQIw2nIkeBvUEANz8A%2Fapp-lock-approve.jpg?alt=media&#x26;token=7fa3f571-f497-4811-969b-485a983f3af4" alt=""><figcaption><p>Step 5 "Approve" to create lock</p></figcaption></figure> <figure><img src="https://2770936021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDP5mP1MKx9QrcwhAxRUN%2Fuploads%2FerI4SBY8uM5RJgJD8yrb%2Fapp-lock-confirm.jpg?alt=media&#x26;token=19452a9c-47d4-4f45-a239-58c7ebfa3d7e" alt=""><figcaption><p>Step 6 "Confirm" and follow onscreen instructions to complete the transaction</p></figcaption></figure> <figure><img src="https://2770936021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDP5mP1MKx9QrcwhAxRUN%2Fuploads%2FoKGzzbwIuexiz75Qx9x7%2Fapp-lock-created.jpg?alt=media&#x26;token=f619c568-e857-4bbd-90bc-e2fd35656aa2" alt=""><figcaption><p>Step 7 You can check newly created lock under "My Locks"</p></figcaption></figure></div>

## Claim&#x20;

Useful information such as amount of locked, unlocked and claimable tokens is provided under the "View Details" section. When it's time, click the "Claim" button to claim your tokens fully or partially (e.g., when lock was created with vesting)

<div><figure><img src="https://2770936021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDP5mP1MKx9QrcwhAxRUN%2Fuploads%2FoKGzzbwIuexiz75Qx9x7%2Fapp-lock-created.jpg?alt=media&#x26;token=f619c568-e857-4bbd-90bc-e2fd35656aa2" alt=""><figcaption><p>"View Details" provides useful information about your lock</p></figcaption></figure> <figure><img src="https://2770936021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDP5mP1MKx9QrcwhAxRUN%2Fuploads%2F2LkVwIO5wkhzq8NnYkE0%2Fapp-lock-details.jpg?alt=media&#x26;token=90ccf04e-6d68-49d0-ac7f-d5ffff3d9d7c" alt=""><figcaption><p>"Claim" your tokens when it's time</p></figcaption></figure></div>
