SOLSTACKDocs

Tools

LP Token Locker

Lock LP tokens in a program-owned vault until a public unlock date, so anyone can check the liquidity can't be pulled before then. Devnet only, not on mainnet yet.

Open LP Token Locker ↗Solana LP Token Locker overview

Step by step

  1. Step 1Connect walletDevnet only for now.
  2. Step 2Pick the LP tokenAny standard SPL token with a balance in your wallet — usually the LP token you got for adding liquidity.
  3. Step 3Amount and unlock dateMax fills your whole balance. The date can be pushed later, never earlier.
  4. Step 4Review and signOne transaction moves the tokens into a vault only the program controls and records the date.
  5. Step 5LockedThe lock is listed under Your locks, and in the LP Lock Verifier for anyone to check.

Why lock LP

When you add liquidity to a pool, the pool gives you LP tokens that can redeem it. While they sit in your wallet you can pull the liquidity at any moment — which is exactly what a rug pull is. Locking them in a program's vault until a public date proves you can't. Scanners such as the Token Inspector check who holds a pool's LP tokens before they score a token.

Lock or burn?

Burning LP tokens removes the liquidity forever: nobody can ever withdraw it. Locking keeps it withdrawable by you after the unlock date. Lock when you'll want the liquidity back — to migrate, rebalance or wind down. Burn when you never will.

Managing a lock

Push outMove the unlock date later. It can never be brought closer.
WithdrawAfter the unlock date, return the whole locked amount to your wallet. The lock closes and its rent comes back.

Only the wallet that created a lock can extend or withdraw it. You can hold several locks on the same LP token, each with its own date.

Which tokens work

Any standard SPL token, including Raydium and Orca LP tokens. Token-2022 mints aren't supported yet. To lock tokens for someone else, or release them gradually, use the Token Locker.

What you sign

Creating a lock: one transaction that creates the lock and its vault, moves the tokens in and pays the 0.02 SOL Solstack fee. Pushing out and withdrawing: one transaction each, with no Solstack fee.

What it costs

0.02 SOL to create a lock, plus the network fee and the rent for the lock and its vault, which is refunded when you withdraw. Pushing out and withdrawing are free.

Unaudited and deployed on devnet only. Don't rely on it for mainnet liquidity yet.

Troubleshooting

"No SPL tokens with a balance found"The wallet holds no standard SPL tokens on devnet. Token-2022 balances aren't listed.
"Unlock date must be in the future"Pick a date and time after now.
Withdraw is greyed outThe unlock date hasn't passed yet.
A yellow devnet-only warningSwitch the top-bar toggle to Devnet.

FAQ

What does it cost?

A 0.02 SOL Solstack fee plus rent and the network fee. Extending and withdrawing are free.

Is it audited?

No. Devnet only.

Who can withdraw?

The creator, after the unlock date.

Can I shorten a lock?

No. Only extend.

What about the rent?

Refunded on withdrawal.

NextLP Lock Verifier →