Overview
Complete overview to compressed tokens core features, setup guide and cookbook.
Compressed tokens provide full SPL token functionality without per-account rent cost.
100 Token Accounts
~ 0.2 SOL
~ 0.00004 SOL
5000x
Compressed token accounts store information about an individual's ownership of a specific token (mint). Different from regular token accounts, they don't require an Associated Token Account (ATA) per token holder.
For example, this simplifies token distribution, since you don't need to allocate a token account per recipient.
Compressed Tokens at a Glance
Rent-free tokens
Create token accounts without upfront rent exempt balance.
SPL Compatibility
Compatible with SPL tokens and Solana programs.
Wallet Support
Supported by leading wallets including Phantom and Backpack.
Start building
Developing with compressed tokens works similar SPL tokens and involves minimal setup:
Install dependencies
npm install --save-dev typescript tsx @types/node && \
npm install --save \
@lightprotocol/stateless.js \
@lightprotocol/compressed-token \
@solana/web3.js \
@solana/spl-token
Set up your developer environment
Get started with our cookbook or advanced guides for implementations
Cookbook
Create new SPL mint with token pool for compression
Difference to regular token accounts
Create new compressed tokens to existing mint
Move compressed tokens between compressed accounts
Convert SPL tokens between regular and compressed format
Compress complete SPL token accounts and reclaim rent afterwards
Consolidate multiple compressed accounts of the same mint into a single compressed account
Create token pool for compression for existing SPL mints
Approve or revoke delegates for compressed token accounts
Advanced Guides
Create an airdrop with or without code
Create and transfer compressed tokens with Token-2022 extensions
Implement compressed token support in your wallet application
Next Steps
Get started with the first cookbook guide.
How to Create and Register a Mint Account for CompressionLast updated