▸STATE COMPRESSION UTILS
Concurrent Merkle tree (cMT) cost calculator and inspector. Used by Bubblegum / compressed NFTs and any custom compression program.
TREE COST CALCULATOR
0 — fewer proof nodes to pass to mint/transfer instructions (14 proof nodes per tx)
Max leaves (NFTs)
16,384
Account size
30.69 KB (31,426 bytes)
Rent (one-time)
—
Cost per NFT (amortised)
—
Tip: higher canopy = much cheaper transfers (fewer proof nodes) but bigger upfront rent. For minting-heavy use cases keep canopy low; for transfer-heavy use cases bump canopy to depth − 3.
TREE ACCOUNT INSPECTOR
The owner of a valid tree account is typically
cmtDvXumGCrqC1Age74AVPhSRVXJMd8PJS91L8KbNCK (spl-account-compression). Bubblegum trees have an additional Bubblegum-owned tree-config PDA next to it.POPULAR CONFIGURATIONS
| Use case | Depth | Buffer | Canopy | Max leaves | Size | Action |
|---|---|---|---|---|---|---|
| Small cNFT drop | 14 | 64 | 0 | 16,384 | 30.69 KB | |
| Medium drop (transfer-friendly) | 14 | 64 | 11 | 16,384 | 158.63 KB | |
| Large cNFT collection | 20 | 64 | 10 | 1,048,576 | 106.63 KB | |
| High-throughput trading | 20 | 256 | 11 | 1,048,576 | 298.13 KB | |
| Massive scale (16M leaves) | 24 | 64 | 14 | 16,777,216 | 1.05 MB |