The mint account itself requires rent (like regular SPL mints), but individual compressed token accounts are rent-free.
createTokenPool() or use createMint() to create a new one from scratch.
Full Code Example
1
Prerequisites
Make sure you have dependencies and developer environment set up!Prerequisites & Setup
Prerequisites & Setup
DependenciesDeveloper Environment
- npm
- yarn
- pnpm
- Localnet
- Devnet
By default, all guides use Localnet.
- npm
- yarn
- pnpm
2
Create SPL Mint with Token Pool for Compression
Run this script to create a mint account with token pool for compression.create-mint.ts