Overview of Light Compressed Token SDK
mainThe Light Compressed Token SDK is a low-level SDK designed for performing compressed token operations on Light Protocol. It provides the fundamental building blocks for managing compressed token accounts, including instruction builders for minting, transferring, and compressing/decompressing accounts.
Compressed Token Accounts
- Location: Reside on Solana mainnet.
- Nature: They are compressed accounts.
- Supported Tokens: Can hold both Light Mint and SPL Mint tokens.
- Cost: Creation costs 5,000 lamports.
- Best Use Case: Highly efficient for airdrops and large-scale reward distributions due to their low cost.
When to use Compressed Tokens vs. Light-Tokens
- Use Compressed Tokens when you need rent-free storage or high-volume distribution (e.g., airdrops). Light Token uses compressed accounts under the hood for rent-free storage of inactive tokens.
- Use Light-Tokens for standard token use cases like launchpads, DeFi, and payments. Light-Tokens are standard Solana accounts with sponsored rent-exemption and support Light Mint, SPL, or Token 22 mints.