Skip to main content
Create a token for compression fo an existing SPL mint. createTokenPool() requires only fee_payer and has no mint authority constraint.
The token pool account itself requires rent, but individual compressed token accounts are rent-free.
Best Practice: Each mint supports a maximum of 4 token pools total. During compression/decompression operations, token pools get write-locked. Use addTokenPools() to create additional pools that increase per-block write-lock capacity.

Get Started

1

Create Token Pool

Install packages in your working directory:
Install the CLI globally:
In the code examples, use createRpc() without arguments for localnet.

Troubleshooting

You’re trying to access a token pool that doesn’t exist.

Advanced Configuration

Create pools for multiple mints:
Create token pools for Token-2022 mints:

Next Steps

How to Merge Compressed Token Accounts