Skip to main content
The mint account itself requires rent (like regular SPL mints), but individual compressed token accounts are rent-free. Create an interface PDA 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 interface PDAs total. During compression/decompression, interface PDAs get write-locked. Use addTokenPools() to create additional PDAs that increase per-block write-lock capacity.

Get Started

1

Create a Mint Account with Interface PDA 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 Interface PDAs for Existing Mints