If you're launching a token on Solana, locking your liquidity is one of the most important things you can do to build trust. If you're a trader, checking whether liquidity is locked is one of the first things you should verify before buying.
Unlocked liquidity means the creator can pull all the SOL from the trading pool at any time, crashing the token price to zero. This is the classic "rug pull" — and it's one of the most common scams in crypto.
This guide explains how liquidity locks work on Solana, compares the tools available for locking and vesting, and walks through the process step by step.
What Is a Liquidity Lock?
When someone creates a trading pool on a DEX like Raydium or Meteora, they deposit paired tokens (e.g., TOKEN + SOL) to create the pool. In return, they receive LP tokens representing their share of the pool's liquidity.
Whoever holds these LP tokens can withdraw the liquidity at any time — draining the pool and taking all the SOL. A liquidity lock sends these LP tokens to a smart contract that holds them for a specified period, making withdrawal impossible until the lock expires.
Why Liquidity Locks Matter
For token creators:
- Demonstrates commitment to the project
- Builds buyer confidence
- Signals legitimacy to token scanners and verification tools
- Required by many listing platforms and communities
For traders/buyers:
- Locked liquidity means the creator can't pull the rug (at least until the lock expires)
- Lock duration indicates the creator's time horizon
- Verifiable on-chain — you don't have to trust the creator's word
What a Lock Does NOT Protect Against
Liquidity locks prevent one specific attack: pulling LP tokens to drain the pool. They do NOT prevent:
- Creator selling their token holdings: If the creator holds a large supply of tokens (separate from LP), they can still dump and crash the price
- Mint authority abuse: If the token's mint authority isn't revoked, the creator can mint unlimited new tokens and sell them
- Freeze authority abuse: The creator could freeze token accounts
- Price manipulation: Market manipulation through coordinated trading
This is why checking liquidity locks is necessary but not sufficient. Use RugCheck to verify the full picture — mint authority, freeze authority, top holder concentration, and more.
These terms are related but different:
Liquidity locking: LP tokens are locked in a smart contract for a set duration. The liquidity cannot be withdrawn until the lock expires. Typically used for DEX pool liquidity.
Token vesting: Tokens are released gradually over time according to a schedule (e.g., 10% per month for 10 months). Used for team allocations, advisor tokens, and investor distributions.
Both use time-lock smart contracts, but they serve different purposes. This guide covers both.
Liquidity Lock Tools on Solana
Streamflow is Solana's most established token vesting and lock platform. It supports both liquidity locks and token vesting schedules.
Features:
- Lock any SPL token (including LP tokens from Raydium and Meteora)
- Custom lock duration (days, months, years)
- Vesting schedules with cliff periods and linear/custom release
- Multi-recipient vesting (for team allocations)
- On-chain verification — anyone can check the lock status
- Cancel-proof locks (optional — prevents even the creator from canceling)
How to Lock Liquidity on Streamflow:
- Create your token and liquidity pool on Raydium or Meteora
- Go to streamflow.finance and connect your Phantom wallet
- Select "Token Locks" or "Vesting"
- Choose the LP token you want to lock
- Set the lock duration (common choices: 6 months, 1 year, 2 years)
- Optionally make it cancel-proof (recommended for maximum trust)
- Confirm the transaction
Pricing: Streamflow charges a small fee per lock creation. The fee varies but is typically under 0.5 SOL.
Verification: Once locked, share the Streamflow lock URL. Anyone can verify the lock amount, duration, and whether it's cancel-proof.
Raydium Built-in Lock
Raydium offers liquidity locking directly within its platform for pools created on Raydium.
Features:
- Lock LP tokens for Raydium CPMM and AMM pools
- Built into the Raydium interface — no third-party tool needed
- Verifiable on-chain
How to Lock on Raydium:
- Create a pool on Raydium and receive LP tokens
- Navigate to the pool management section
- Select "Lock Liquidity"
- Choose the lock duration
- Confirm
Advantage: No third-party dependency. The lock is native to the same platform as the pool.
Limitation: Only works for Raydium pools. If your liquidity is on Meteora or another DEX, you need a different tool.
Pump.fun Graduated Tokens
Tokens launched through Pump.fun that graduate have their liquidity automatically handled:
- Upon graduation, Pump.fun creates a DEX pool and burns the LP tokens
- Burned LP = permanently locked liquidity (no one can ever withdraw it)
- This is the strongest possible liquidity guarantee
If you're buying a token that graduated from Pump.fun, check on DexScreener or Birdeye — burned LP is typically indicated clearly.
Tool Comparison
| Feature | Streamflow | Raydium Lock | Pump.fun (burn) |
|---|
| Lock type | Time-locked | Time-locked | Permanent (burn) |
| Supported DEXes | Any (Raydium, Meteora, Orca) | Raydium only | Raydium/Meteora |
| Vesting schedules | Yes (linear, cliff, custom) | No | No |
| Cancel-proof option | Yes | N/A | N/A (permanent) |
| Multi-recipient | Yes | No | No |
| Verification | Streamflow URL + on-chain | On-chain | On-chain (burned) |
| Cost | Small fee | Free | Automatic |
| Best for | Custom projects, team vesting | Simple Raydium pool locks | Pump.fun launches |
How to Set Up Token Vesting
Token vesting is critical for projects with team allocations, advisor tokens, or investor distributions. It prevents insiders from dumping all their tokens at once.
Vesting Schedule Design
A typical vesting schedule includes:
Cliff period: A waiting period before any tokens are released. Common: 3-12 months.
Vesting duration: The total time over which tokens are gradually released. Common: 12-36 months.
Release frequency: How often tokens unlock. Options: daily, weekly, monthly, or at specific milestones.
Example schedule:
- 1,000,000 tokens for the team
- 6-month cliff (no tokens released for 6 months)
- 24-month linear vesting after cliff
- Monthly releases of ~41,667 tokens
Setting Up Vesting on Streamflow
- Go to Streamflow and connect your wallet
- Select "Create Vesting Contract"
- Configure:
- Token: Select your SPL token
- Recipient: The wallet address receiving vested tokens
- Total amount: Number of tokens to vest
- Cliff: Duration before first release
- Vesting period: Total release duration
- Release frequency: How often tokens unlock
- Review and confirm
- Share the vesting contract URL with your community for transparency
Vesting Best Practices
Make it cancel-proof. If the creator can cancel the vesting contract and reclaim all tokens, the vesting is meaningless. Cancel-proof contracts are more trustworthy.
Vest team tokens for at least 12 months. Anything shorter signals that the team plans to exit quickly.
Include a cliff. A cliff ensures the team must wait a minimum period before receiving any tokens, aligning incentives with long-term success.
Publish the vesting schedule. Share Streamflow links or on-chain addresses so anyone can verify the vesting terms.
How to Verify Locks as a Trader
Before buying a token, verify its liquidity status:
DexScreener and Birdeye show pool information including whether LP tokens are burned or locked. Look for:
- "LP burned" or "100% locked" indicators
- The lock duration if time-locked
- The percentage of LP that's locked (partial locks are less protective)
RugCheck provides a comprehensive safety analysis:
- LP lock status and duration
- Mint authority status (revoked = good)
- Freeze authority status (revoked = good)
- Top holder concentration
- Overall risk score
Step 3: Verify On-Chain
For Streamflow locks, check the lock contract directly. For Raydium locks, verify through the pool's on-chain data. For burned LP, check the burn transaction.
Red Flags
- No liquidity lock at all: High rug pull risk
- Very short lock (under 30 days): Creator may be planning a delayed rug
- Partial lock (under 80% of LP): Creator can still withdraw a significant portion
- Cancelable lock: The lock can be undone at any time — essentially meaningless
- Lock expiring soon: Check when the lock expires and be cautious as it approaches
Green Flags
- Burned LP: Permanently locked — strongest guarantee
- Long-duration lock (1+ years): Signals long-term commitment
- Cancel-proof lock: Cannot be undone
- 100% of LP locked: No unlocked portion to withdraw
- Verifiable on Streamflow or similar: Transparent and auditable
Common Questions
How long should I lock liquidity?
For a serious project: minimum 1 year, ideally 2+. For memecoins: minimum 6 months. Anything shorter raises red flags.
Can I extend a lock?
On Streamflow, yes — you can extend the lock duration. You cannot shorten it.
What happens when a lock expires?
The LP tokens become withdrawable by whoever locked them. If the project is still active, they should re-lock or the community should be aware of the upcoming unlock.
Is burning LP better than locking?
Burning is permanent and irreversible — the strongest guarantee. But it also means the creator can never recover that liquidity, even for legitimate reasons (adding to a new pool, migrating to a different DEX). Locking offers a balance between trust and flexibility.
Do I need to lock if I launched on Pump.fun?
Pump.fun burns LP automatically on graduation, so you don't need to do anything extra. The liquidity is permanently locked by default.
Disclaimer: Liquidity locks and token vesting reduce certain risks but do not eliminate all risks associated with token investments. Always conduct thorough due diligence beyond checking lock status. This guide is for educational purposes only and should not be considered financial advice.