ZK & Compressionstate-compression
State Compression
State Compression is Solana's technique for storing the cryptographic fingerprint (root hash) of a Merkle tree on-chain while keeping the actual leaf data off-chain in the Solana ledger's account data logs, reducing the cost of storing large datasets by orders of magnitude. A compressed NFT collection of 1 million items costs roughly 50 SOL to mint versus ~12,000 SOL with standard SPL accounts, because only a single Concurrent Merkle Tree account occupies on-chain storage. Any data change requires updating the root hash and supplying a Merkle proof to the on-chain program, which verifies inclusion without reading the full dataset.
Related terms
3ZK & Compression
Concurrent Merkle Tree
A Concurrent Merkle Tree (CMT) is a specialized on-chain Solana data structure that allows multiple state updates to the...
Tokens
Compressed NFT (cNFT)
An NFT stored as a leaf in an on-chain Merkle tree via State Compression, reducing minting cost by ~1,000-5,000x. Only t...
ZK & Compression
ZK Compression
ZK Compression, pioneered by Light Protocol, extends Solana's state compression model beyond NFTs to general-purpose com...