| Creation | Regular SPL Token | Compressed Token | Cost Reduction |
|---|---|---|---|
| 100 Token Accounts | ~ 0.2 SOL | ~ 0.00004 SOL | 5000x |
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:1
Install dependencies
2
Set up your developer environment
Setup Developer Environment
Setup Developer Environment
By default, all guides use Localnet.Alternative: Using DevnetReplace
<your-api-key> with your actual API key. Get your API key here, if you don’t have one yet.3
Get started with our cookbook or advanced guides for implementations
Guides
| Guide | Description |
|---|---|
| Create and Register a Mint Account for Compression | Create new SPL mint with token pool for compression |
| Create Compressed Token Accounts | Create compressed and learn difference to regular token accounts |
| Mint Compressed Tokens | Create new compressed tokens to existing mint |
| Transfer Compressed Tokens | Move compressed tokens between compressed accounts |
| Decompress and Compress Tokens | Convert SPL tokens between regular and compressed format |
| Compress Complete SPL Token Accounts | Compress complete SPL token accounts and reclaim rent afterwards |
| Merge Compressed Accounts | Consolidate multiple compressed accounts of the same mint into one |
| Create Token Pools for Mint Accounts | Create token pool for compression for existing SPL mints |
| Approve and Revoke Delegate Authority | Approve or revoke delegates for compressed token accounts |
Advanced Guides
| Guide | Description |
|---|---|
| Add Wallet Support for Compressed Tokens | Add compressed token support in your wallet application |
| Use Token-2022 with Compression | Create compressed Token-2022 mints with metadata and other extensions |
| Create an Airdrop without Claim | Create an airdrop that appears directly in recipients’ wallets (with or without code) |
| Example Airdrop with Claim | Demo for time-locked airdrop with compressed tokens |
| Example Web Client | Demonstrates how to use @lightprotocol/stateless.js in a browser environment to interact with ZK Compression |
| Example Node.js Client | Script to execute basic compression/decompression/transfers |