Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
LABS
Glossary

Compressed NFTs

Compressed NFTs (cNFTs) are a Solana-native token standard that uses state compression and Merkle trees to store ownership proof off-chain, drastically reducing minting and storage costs.
Chainscore © 2026
definition
BLOCKCHAIN GLOSSARY

What are Compressed NFTs?

Compressed NFTs (cNFTs) are a class of non-fungible tokens that drastically reduce on-chain storage costs by using state compression and Merkle trees.

A Compressed NFT (cNFT) is a non-fungible token whose metadata and ownership data are stored off-chain, with only a cryptographic proof—a hash—stored on the blockchain. This architecture, pioneered on Solana using state compression and Merkle trees, reduces minting and storage costs by over 99% compared to traditional, fully on-chain NFTs. The core innovation is that the blockchain acts as a verifiable ledger of proofs, while the actual image and attribute data reside in decentralized storage solutions like Arweave or IPFS.

The technical mechanism relies on a Merkle tree, where each leaf node represents an NFT's compressed data. The root hash of this tree is stored on-chain. When a user interacts with a cNFT—such as transferring or verifying ownership—a proof is generated from the off-chain data and submitted to the blockchain. A lightweight on-chain program, like the Bubblegum program on Solana, verifies this proof against the stored root hash to authenticate the transaction without moving bulk data on-chain.

This model enables previously cost-prohibitive use cases at scale, such as minting millions of NFTs for event tickets, in-game items, or large digital collectible drops. For developers and projects, the primary benefits are extreme cost efficiency and scalability. For users, cNFTs are functionally identical to standard NFTs in wallets and marketplaces that support the compression standard, maintaining compatibility while abstracting away the underlying complexity.

Key ecosystems supporting cNFTs include Solana, via the Metaplex protocol's Compression standard, and Ethereum scaling solutions exploring similar zero-knowledge proof-based compression. It's crucial to distinguish cNFTs from simply storing NFT metadata off-chain (a common practice); the compression refers specifically to the on-chain state footprint being minimized through cryptographic commitments, not the image file compression.

how-it-works
MECHANISM

How Compressed NFTs Work

Compressed NFTs are a Solana-native innovation that drastically reduces the cost of minting and storing non-fungible tokens by using cryptographic proofs instead of storing all data directly on-chain.

A Compressed NFT (cNFT) is a non-fungible token whose metadata and ownership data are stored off-chain, with only a cryptographic commitment (a hash) and a compact proof of ownership stored on the Solana blockchain. This architecture leverages state compression and Merkle trees to batch thousands of NFTs into a single on-chain account, reducing storage costs by over 99% compared to traditional, uncompressed NFTs. The core innovation is the separation of the authoritative data record from its bulky associated metadata.

The system operates through a Merkle tree, where each leaf node represents an individual NFT containing its ownership and metadata hash. The root hash of this tree is stored on-chain. To verify an NFT's existence and ownership, a proof—a small set of hashes tracing a path from the leaf to the root—is provided alongside the leaf's data. This allows RPC providers and indexers to validate authenticity without the blockchain storing the full data, a process managed by the Digital Asset Standard (DAS) API.

Minting a compressed NFT involves creating its metadata, hashing it, and inserting this hash as a new leaf into the off-chain Merkle tree. The tree's root is then updated on-chain. Key participants are the Tree Authority, which authorizes changes, and the Concurrent Merkle Tree, which enables rapid, concurrent updates. This process is facilitated by protocols like Metaplex's Bubblegum program, which handles the minting logic and proof verification.

The primary advantage is radical cost reduction; minting millions of cNFTs can cost a few dollars in SOL instead of thousands. This enables massive-scale use cases previously cost-prohibitive, such as event ticketing, in-game items, and loyalty points. However, it introduces a dependency on off-chain infrastructure; the availability and integrity of the metadata and the indexers providing proofs become critical, creating a different trust model than fully on-chain assets.

To interact with a cNFT—to view, transfer, or verify it—a client must retrieve the latest Merkle tree proof from a trusted indexer service via the DAS API. The Solana runtime then uses this proof to verify the asset's state against the on-chain root hash. This makes cNFTs fully compatible with Solana wallets and marketplaces that support the standard, though they require these services to integrate the necessary proof-fetching logic.

key-features
TECHNICAL PRIMER

Key Features of Compressed NFTs

Compressed NFTs (cNFTs) are a Solana-native innovation that drastically reduces on-chain storage costs by using state compression and Merkle trees, enabling large-scale digital asset use cases.

01

State Compression via Merkle Trees

cNFTs store ownership and metadata off-chain (e.g., on Arweave or IPFS), while a Merkle root stored on-chain acts as a cryptographic proof of the entire collection's state. This allows thousands of NFTs to be represented by a single, small on-chain hash, compressing storage requirements by over 99% compared to traditional Solana NFTs.

02

Bubblegum Program

The Bubblegum program is the core Solana Program Library (SPL) that manages the creation, minting, and transfer of compressed NFTs. It handles the complex logic of updating the Merkle tree and verifying proofs without requiring the entire tree to be stored on-chain.

03

Concurrent Merkle Trees

This data structure enables parallel processing of cNFT transactions (mints, burns, transfers) by allowing multiple, provably valid updates to the tree to occur simultaneously. It solves the bottleneck of sequential updates, making cNFTs scalable for high-throughput applications.

04

Low-Cost, High-Volume Minting

The primary economic advantage. Minting a traditional Solana NFT costs ~0.02 SOL for storage. Minting a cNFT can cost less than 0.001 SOL, enabling projects to distribute hundreds of thousands or millions of NFTs for a fixed, predictable cost.

05

On-Chain Proof Verification

To prove ownership or verify metadata, a Merkle proof (a small set of hashes) must be provided to the on-chain program. Wallets and indexers fetch this proof from RPC providers, allowing the chain to validate an asset's state without storing its data.

06

Indexer & RPC Dependency

Because data is off-chain, reading cNFTs requires specialized infrastructure. Indexers (like DAS APIs) and RPC providers are essential to fetch Merkle proofs and metadata, making them a critical component of the cNFT ecosystem.

ARCHITECTURE COMPARISON

Compressed NFTs vs. Traditional Solana NFTs

A technical comparison of the core architectural and economic differences between Compressed NFTs (cNFTs) and traditional Solana NFTs.

Feature / MetricCompressed NFT (cNFT)Traditional Solana NFT

Core Data Storage

State Compression on-chain, Merkle tree

Account data on-chain

Primary Mint Cost

< $0.01 per NFT (bulk)

$2 - $5 per NFT

Primary Storage Cost

~0.0008 SOL per 1M NFTs

~0.002 SOL per NFT

Update Authority Model

Centralized (Creator)

Decentralized (Owner)

Royalty Enforcement

Programmable via Bubblegum

Programmable via Token Metadata

RPC Indexing Load

High (requires indexer for proofs)

Standard

Primary Use Case

Mass distribution, loyalty, ticketing

High-value art, collectibles, PFPs

ecosystem-usage
COMPRESSED NFTS

Ecosystem Usage & Protocols

Compressed NFTs (cNFTs) are a Solana-native token standard that drastically reduces on-chain storage costs by storing metadata and ownership data off-chain, using state compression and Merkle trees for verification.

01

State Compression & Merkle Trees

The core innovation enabling cNFTs is state compression, which stores the bulk of NFT data (like image URIs and metadata) off-chain. Ownership and a cryptographic proof of that data are stored on-chain using a Merkle tree. This structure allows the network to verify an NFT's existence and attributes by checking a small, compressed hash (the Merkle root) against the off-chain data, rather than storing all data on-chain.

02

Primary Use Case: Mass Digital Asset Distribution

cNFTs are designed for scalability, making them ideal for projects minting hundreds of thousands or millions of digital items. Key applications include:

  • Loyalty programs and rewards (e.g., Starbucks Odyssey)
  • Event ticketing and proof of attendance
  • Large-scale PFP (Profile Picture) collections
  • In-game assets for web3 gaming This model shifts the cost from storage to computation, where verifying a proof is cheap, but minting at scale requires significant computational resources.
03

The Bubblegum Program

Bubblegum is the primary Solana Program (smart contract) that manages the creation, minting, and transfer of cNFTs. It interacts directly with the State Compression program to:

  • Create and update the Merkle tree storing cNFT data.
  • Mint new cNFTs by inserting leaves into the tree.
  • Burn (destroy) or transfer cNFTs by modifying tree leaves.
  • Verify proofs of ownership and metadata. All major Solana wallets and indexers integrate with Bubblegum to support cNFTs.
04

Indexing & Wallet Support Challenge

Because cNFT data lives off-chain, traditional RPC calls cannot fetch them. Specialized indexers are required to query the Merkle tree and reconstruct NFT data. Key infrastructure includes:

  • Helius' DAS (Digital Asset Standard) API: The standard API for fetching cNFT data.
  • Solana's ReadAPI: A native RPC method for compressed accounts. Wallets like Phantom and Backpack must integrate these APIs to correctly display cNFT balances and metadata to users.
05

Trade-offs: Cost vs. Composability

cNFTs offer a fundamental trade-off between cost efficiency and native composability.

  • Pros: Minting and storage costs are ~99% cheaper than standard Solana NFTs (v1). Enables previously cost-prohibitive use cases.
  • Cons: They are not native SPL tokens. This means they cannot be directly traded on all standard NFT marketplaces or used as collateral in every DeFi protocol without specific integration that understands the Bubblegum program and indexer APIs.
06

Real-World Example: Starbucks Odyssey

Starbucks Odyssey uses cNFTs (called "Stamps") to power its web3 loyalty program. This implementation highlights the practical advantages:

  • Scale: Ability to mint millions of reward stamps for customers at minimal cost.
  • Accessibility: Low barrier for users to claim digital collectibles without needing crypto for gas fees.
  • Integration: Uses the Crossmint platform to handle wallet creation and cNFT distribution seamlessly for non-crypto-native users, demonstrating a major enterprise adoption path.
technical-details
ARCHITECTURE

Technical Details: Merkle Trees & State Compression

This section explains the core cryptographic and data structure principles that enable the creation of Compressed NFTs, focusing on how Merkle trees drastically reduce on-chain storage requirements.

A Compressed NFT (cNFT) is a non-fungible token on Solana whose ownership and metadata are verified using a Merkle tree stored off-chain, with only a tiny cryptographic proof (a hash) stored on-chain to represent the entire collection. This architecture, pioneered by Metaplex through the Bubblegum program, is a form of state compression that reduces minting and storage costs by over 99% compared to traditional, fully on-chain NFTs. The fundamental innovation is separating the bulky data (images, attributes) from the immutable proof of ownership and authenticity on the blockchain.

The system relies on a Concurrent Merkle Tree, a specific implementation that allows for rapid, concurrent updates without compromising security. Each leaf in the tree represents an individual NFT, containing a hash of its metadata and ownership details. The root hash—a single, compact value at the top of the tree—cryptographically commits to the state of every NFT in the collection. When a cNFT is transferred or its metadata is updated, a proof (a set of sibling hashes along the path to the root) is submitted to the on-chain program. The program verifies this proof against the stored root, updates the leaf, and computes a new root, all with minimal on-chain computation.

This model inverts traditional NFT economics. Instead of paying for full account storage per item, creators pay for the initial allocation of the Merkle tree's size and then incur minimal costs for gas (transaction fees) to modify proofs. The compressed data itself typically resides on decentralized storage networks like Arweave or IPFS. This makes large-scale projects—like digital collectible drops with millions of items—financially feasible, opening use cases in gaming, ticketing, and loyalty programs where high volume and low cost per asset are critical.

security-considerations
COMPRESSED NFTS

Security & Trust Considerations

Compressed NFTs (cNFTs) trade traditional on-chain storage for off-chain data models, introducing unique security and trust trade-offs distinct from standard NFTs.

01

Data Availability & Integrity

The core security model shifts from on-chain immutability to reliance on off-chain data providers. Trust is placed in the indexer or RPC provider to correctly fetch and serve the state data (e.g., Merkle tree proofs) from the off-chain source. If this data becomes unavailable or is tampered with, the NFT's existence and ownership cannot be verified. This contrasts with standard Solana NFTs where all data is stored directly on-chain.

02

Concentrated Trust in Indexers

The canonical state of a compressed NFT collection is typically maintained by a single authoritative indexer (e.g., the original creator's chosen provider). This creates a centralization risk and a single point of failure. Users and applications must trust that this indexer is honest, available, and correctly implements the state-conversion protocol (like Bubblegum). Malicious or faulty indexers could present an incorrect view of ownership or metadata.

03

Verification & Proof Requirements

To transact with a cNFT (transfer, burn, delegate), a user must obtain a valid Merkle proof from an indexer. This proof cryptographically verifies the NFT's inclusion in the off-chain state tree. The security of this process depends on:

  • The cryptographic soundness of the Merkle tree implementation.
  • The authenticity of the proof source (is it from the trusted indexer?).
  • The wallet's ability to correctly verify the proof on-chain before executing the transaction.
04

RPC Provider Trust Assumptions

Wallets and dApps interact with cNFTs through RPC providers that have enhanced APIs for querying compressed data. Users must trust that their RPC provider:

  • Is querying the correct, authoritative indexer.
  • Is not censoring or manipulating query results.
  • Is providing up-to-date state information. Using a non-compliant or malicious RPC endpoint could lead to displaying incorrect balances or enabling invalid transactions.
05

Creator & Minter Privileges

The creator of a compressed NFT collection retains significant control through the merkle tree authority. This key can:

  • Verify creator signatures for proofs.
  • In some implementations, update metadata for all items in the tree.
  • Close the tree, preventing future minting. Users must audit the collection's deployment parameters to understand the level of ongoing control the creator maintains, which impacts the NFT's decentralization and permanence.
06

Long-Term Permanence Risks

Standard NFTs derive permanence from the Solana ledger's persistence. cNFTs face a long-term data availability challenge. The security model assumes the off-chain data (the Merkle tree state) will be maintained indefinitely. Risks include:

  • Indexer service discontinuation.
  • Loss of the canonical state data.
  • Protocol upgrades that orphan old state formats. Solutions like state archiving or decentralized data networks (e.g., Shadow Drive) are emerging to mitigate this, but they add another layer of trust dependency.
COMPRESSED NFTS

Frequently Asked Questions (FAQ)

Essential questions and answers about the technology, use cases, and mechanics of compressed NFTs on Solana.

A Compressed NFT (cNFT) is a non-fungible token on the Solana blockchain that stores its metadata off-chain, using cryptographic proofs to verify ownership on-chain, drastically reducing minting and storage costs. It works by leveraging state compression and Merkle trees. The core NFT data (image, attributes) is stored in a decentralized storage solution, while a compact cryptographic hash (a proof) representing that data is stored on-chain. The on-chain program maintains a Merkle tree where each leaf node corresponds to an NFT. To verify ownership or transfer the asset, a user must provide a Merkle proof that validates their NFT's data against the root hash stored on-chain.

ENQUIRY

Get In Touch
today.

Our experts will offer a free quote and a 30min call to discuss your project.

NDA Protected
24h Response
Directly to Engineering Team
10+
Protocols Shipped
$20M+
TVL Overall
NDA Protected Directly to Engineering Team
Compressed NFTs: Definition & How They Work on Solana | ChainScore Glossary