Skip to main content
Leading Solana Wallets like Phantom and Backpack already support compressed tokens.

Integration Steps

Display Compressed Token Balances

Get Transaction History

Send Compressed Tokens

Advanced Integrations

Use these integrations to let users convert between regular and compressed format as needed.
This example converts compressed tokens to regular SPL format using CompressedTokenProgram.decompress().
This example converts regular SPL tokens to compressed format using CompressedTokenProgram.compress().

Common Errors

If getCompressedTokenBalancesByOwnerV2 returns empty:
  • Ensure the wallet has compressed tokens (not regular SPL tokens)
  • Verify you’re on the correct network (devnet/mainnet)

Next Steps

Create an Airdrop with Compressed Tokens.