# Liquidity Locks

### What is a Liquidity Lock?

Locking liquidity prevents holders of liquidity provider tokens (LP tokens) from withdrawing their funds from a liquidity pool. This is achieved by sending holders' LP tokens to a time-locked smart contract, usually through a liquidity locking service. The Solana ecosystem is notably lacking a dependable, efficient LP locking protocol, and this void is one that SOLOCKER fills perfectly.\
\
When locking LP, project founders can set specific time durations for unlocking the funds, split locks into smaller locks with different owner addresses and end dates, and transfer ownership of a lock to another wallet address. While the lock is active, the token holder cannot access the tokens.&#x20;

Once the lock expires, the token holder can withdraw their LP tokens using the dashboard on the SOLOCKER app. These LP tokens can then be redeemed for the token pair within the liquidity pool on Raydium.\
\
Liquidity pools are token funds locked into a smart contract that users provide to facilitate trading on a decentralized exchange (DEX), the most popular of which on Solana is Raydium.

### **Advantages of Liquidity Locks**&#x20;

Liquidity lockers can help prevent fraudulent activity (i.e., "rug pulls"), where the primary liquidity provider redeems all their LP tokens, leaving other investors unable to sell. Locking liquidity demonstrates a commitment to responsible and transparent liquidity pool management.\
\
Our platform publishes your lockup details and project information in an easy-to-read display, giving your investors confidence and security.

### Locking tokens on SOLOCKER

After connecting your Solana wallet and navigating to the dApp, begin the LP locking process by clicking on *New Lock.*<br>

<figure><img src="/files/dCMHcOgKN32Y1y3BQWsS" alt=""><figcaption><p>If you have a wallet with a deployed contract that already has LP added, you can choose that token from this menu once your wallet has been connected.</p></figcaption></figure>

Once you have entered in your token address and mint address, you will then be able to select the amount of LP you would like to lock and the duration of the lock, signified by the calendar pop-up menu.

{% hint style="info" %}
**Locking liquidity on SOLOCKER has a base fee of 2 SOL per lock.**
{% endhint %}

<figure><img src="/files/OOjeqSuDbdJAJgWULHq4" alt=""><figcaption></figcaption></figure>

Once you have confirmed the date, you can review the transaction and proceed to payment.

<figure><img src="/files/jSXU8f47QPp9vX524KAD" alt=""><figcaption></figcaption></figure>

Once you have deployed the lock, you will be able to see your locked LP pool in the main menu.<br>

<figure><img src="/files/fRtOvP5NRIfjT4xCYrjd" alt=""><figcaption></figcaption></figure>


---

# 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://solocker.gitbook.io/solocker-spl/services/token-locks/liquidity-locks.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.
