Token & Liquidity Locking
Lock tokens for vesting schedules or lock LP tokens to prove liquidity commitment. Time-based release.
Overview
ChainPortal provides two types of locking:
- Token Locking -- Lock tokens with a time-based release schedule (vesting)
- Liquidity Locking -- Lock LP (Liquidity Pool) tokens to prove commitment
Token Locking
What Is Token Locking?
Token locking puts tokens into a smart contract that releases them only after a specified date. This is commonly used for:
- Team vesting -- Lock team tokens for 6-12 months
- Investor vesting -- Gradual release over time
- Trust building -- Show the community tokens are locked
How to Lock Tokens
Select token to lock
Choose from your deployed tokens or enter any token contract address.
Set lock amount
Enter the number of tokens to lock.
Set unlock date
Choose when the tokens should become available for withdrawal.
Approve & Lock
Approve the locker contract to spend your tokens, then confirm the lock transaction.
After Locking
- View your active locks on the management dashboard
- Tokens cannot be withdrawn until the unlock date
- Once unlocked, you can withdraw to your wallet
Revocable Vesting
A vesting lock can be created as revocable. Only the lock's creator can revoke it, and only once. Revoking never takes tokens that have already vested from the beneficiary. On contracts deployed from the current ("Wave 1") build (older deployments may differ):
- EVM, Aptos, NEAR and Cosmos: revoking pays the creator only the unvested part. The vested part (including anything vested but not yet claimed) stays in the lock, and the beneficiary claims it with the normal Claim action. This way a beneficiary address that cannot receive the token cannot block the creator's revoke. On NEAR, if the transfer to the creator fails, the amount is kept for the creator to withdraw later, and a lock that is already fully vested cannot be revoked.
- Solana and SUI: revoking sends the vested-but-unclaimed part to the beneficiary and the unvested part back to the creator in the same transaction, and closes the lock.
Liquidity Locking
Why Lock Liquidity?
When you create a trading pair on a DEX (like Uniswap), you receive LP tokens representing your share of the pool. Locking these LP tokens proves to your community that:
- You will not remove liquidity ("rug pull")
- The trading pair will remain active
- Your project has long-term commitment
Irreversible: Once LP tokens are locked, they cannot be withdrawn until the lock period ends — even by you. Choose your unlock date carefully.
How to Lock LP Tokens
Add liquidity on a DEX
First, add liquidity on Uniswap, PancakeSwap, Raydium, or another DEX. You'll receive LP tokens.
Navigate to Liquidity Locking
Go to the Liquidity Lock page in ChainPortal.
Select LP token
Enter your LP token contract address.
Set lock duration
Choose how long to lock (30 days, 90 days, 1 year, etc.).
Lock
Approve and lock your LP tokens.
Chain-Specific Rules for LP Locks
These apply to liquidity lockers deployed from the current ("Wave 1") build; older deployments may differ.
- SUI -- two ways to lock. Which one is used depends on the coin type, and the app picks it for
you:
- Coins registered in SUI's coin registry are locked with their registry entry. Regulated coins (whose issuer can freeze addresses through a deny list) and legacy-migrated coins are rejected, because a freeze could stop you from ever unlocking. Native SUI is always accepted.
- Coins with no registry entry (most DEX LP coins) use a separate lock path that first proves the coin is not in the registry. If the coin is registered, use the first path instead.
- NEAR: both standard fungible-token LP tokens and Ref Finance multi-token LP shares can be locked. The locker checks the amount it actually received; if a token takes a transfer fee, the deposit is rejected and what arrived is refunded, instead of creating a lock that holds less than it claims.
Supported Ecosystems
Locking Features
| Feature | EVM | Solana | Cosmos | Aptos | SUI | NEAR |
|---|---|---|---|---|---|---|
| Token Locking | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| LP Locking | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Multiple Locks | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Partial Unlock | ✕ | ✕ | ✕ | ✕ | ✕ | ✕ |