Skip to main content
The mint account itself requires rent (like regular SPL mints), but individual compressed token accounts are rent-free. Create a token pool for an existing SPL mint with createTokenPool() or use createMint() to create a new one from scratch.
Best Practice: Each mint supports a maximum of 4 token pools total. During compression/decompression, token pools get write-locked. Use addTokenPools() to create additional pools that increase per-block write-lock capacity.

Get Started

1

Create a Mint Account with Token Pool for Compression

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

Advanced Configuration

Customize who can mint new compressed tokens.
Customize who can freeze/thaw compressed token accounts.

Next Steps

How to Add Token Pools for Existing Mints