How to Lock Liquidity on SunSwap
The trust signal that proves you can’t rug your holders - what LP locking is and how to do it right.
Updated
When you add liquidity for your TRC-20 token on SunSwap, you receive LP (liquidity provider) tokens that represent your share of the pool - and the right to withdraw it. Locking those LP tokens means you give up the ability to pull that liquidity for a fixed period. For a new TRON token, that single action is the most powerful trust signal you can give holders: it proves you can’t suddenly drain the pool and leave them with worthless tokens. This guide explains what locking is, why it matters, and how to do it safely.
What is a liquidity lock?
A liquidity pool pairs your token with another asset (usually TRX) so people can trade. Whoever holds the LP tokens for that pool can remove the underlying liquidity at any time. A liquidity lock places those LP tokens in a smart contract that won’t release them until a chosen date - so the liquidity is provably stuck in place until then. It directly addresses the most common rug-pull: a creator adding liquidity, letting buyers in, then yanking the liquidity back out.
Why locking matters
- It’s the headline trust signal. Experienced TRON buyers check for a liquidity lock before they touch a new token. No lock is an instant red flag.
- It protects your own credibility. A visible, verifiable lock lets you point sceptics to on-chain proof instead of just asking them to trust you.
- It pairs with renouncing. A locked pool plus a renounced contract covers the two biggest fears holders have: changing the rules and pulling the funds.
How to lock liquidity, step by step
- Add liquidity first. Create your SunSwap pool by pairing your token with TRX. You’ll receive LP tokens in your wallet representing that position. See how to list on SunSwap.
- Choose a reputable locker. Use a well-known, audited liquidity-locking service that supports TRON LP tokens. Stick to established tools with a track record - the locker holds your LP tokens, so its trustworthiness matters.
- Connect your wallet to the locker with TronLink and select the LP token for your pool.
- Set the amount and unlock date. Lock a meaningful share of your LP for a meaningful period. A short lock on a tiny fraction fools no one; longer locks on the bulk of liquidity signal real commitment.
- Confirm and save the proof. Approve the transaction, then copy the lock’s public URL or contract address. Publish it in your token’s channels and pin it - the whole point is that anyone can verify it.
How long should you lock for?
There’s no single right answer, but the principle is simple: the lock should outlast the period in which a rug-pull would do the most damage. Many projects lock for months to years. Be transparent about the duration and the percentage locked - a lock of 90% of liquidity for a year reads very differently from 5% for a week.
| Signal | Reads as |
|---|---|
| Large % of liquidity, long lock | Serious, committed project |
| Small % or very short lock | Caution - limited downside protection |
| No lock at all | Major red flag for buyers |
Where this fits in your launch
Locking liquidity comes right after you open trading and before you push hard on marketing. The natural order is: create your token → add a SunSwap pool → lock the LP → verify the contract on Tronscan → promote. If you’re launching a community token or memecoin, locking is non-negotiable.
Frequently asked questions
Can I get my liquidity back after locking it?
Only when the lock period ends. That’s the entire point - until the unlock date, neither you nor anyone else can withdraw the locked LP tokens.
Does locking liquidity cost anything?
You pay a small TRON network fee for the lock transaction, and some lockers charge a modest service fee. It’s minor compared to the trust it buys.
Is locking the same as renouncing ownership?
No. Renouncing makes the token contract immutable; locking secures the liquidity pool. They solve different problems, and strong projects often do both. See what renouncing means.
Do I need to lock liquidity if I renounce ownership?
Yes - they’re independent. A renounced contract can still have unlocked liquidity that gets pulled. Lock the liquidity regardless.
Prefer not to touch Solidity at all? You can create a TRON token without code and have a verified contract live in about two minutes.
The TronTokenGenerator team
Independent TRON tooling developers
We build and run TronTokenGenerator: no-code TRC-20 deployment from your own wallet, and the source of every token contract verified on Tronscan. These guides come from deploying tokens on TRON ourselves and from the questions users send us.