Freeze and Mint Authority on Solana: A Developer Guide
Two authorities define how much control a token creator retains: the mint authority and the freeze authority. Managing them correctly is central to trust and security.
Mint Authority
The mint authority can create new tokens. While it's active, supply can increase. Revoking it (setting it to null) locks the supply permanently — a common requirement for credible tokens and exchange listings.
Freeze Authority
The freeze authority can freeze any token account, preventing transfers. Some regulated tokens need this; most community tokens revoke it to guarantee censorship resistance.
Revoking with SetAuthority
Use the SetAuthority instruction with the appropriate authority type (MintTokens or FreezeAccount) and a new authority of null. The current authority must sign.
When to Keep an Authority
- Keep mint authority if your model requires ongoing emissions (e.g., staking rewards) — but be transparent.
- Keep freeze authority only if you have a clear compliance reason.
Order of Operations
Mint your full intended supply first, then revoke the mint authority. Once revoked, it can never be restored.
FAQ
Can I revoke authority after launch?
Yes, at any time, as long as you still hold the authority.
Does revoking cost much?
Only a tiny transaction fee.
🚀 Ready to Create Your Solana Token?
Deploy your SPL token in under 2 minutes. No coding required.
Launch My Token — 0.05 SOL