In April, the Solana Foundation announced state compression, an ecosystem-wide experiment with a new approach to reduce costs for decentralized apps by magnitudes. State compression is a data structure that builds upon the blockchain fundamental of Merkle trees to allow decentralized apps to store hashed smart contract data on-chain that updates directly onto the Solana ledger. It cuts data storage and execution costs down dramatically, while maintaining the security and decentralization of Solana’s base layer.
State compression is a blockchain game-changer for scale and cost that’s already bearing fruit throughout the Solana ecosystem. Minting NFTs on Solana with compression is much cheaper than minting NFTs without it — even more so when compared to the cost of minting on other blockchains.
Now, seven months after the announcement of compressed NFTs, the Solana Foundation has conclusive data on the actual cost of using compression. As of Dec. 20, 2023, any project can use cNFTs to mint one million NFTs for $247.80 (compared to the initial estimates of $113.42 in April 2023) — significantly less than more than $6 million it would cost to mint one million NFTs on Ethereum, or the more than $98,000 it would cost on Polygon.
DRiP and sending NFTs at scale
While state compression has major implications for any Solana platform that uses smart contracts, the first sector in which state compression has proven its use case is NFTs. In the months since state compression became available, a number of high profile projects have incorporated it into their NFT products.
One of the first projects to show the state compression for NFTs is DRiP, an NFT platform that drops free collectibles and assets every week. As of Nov. 14, 2023, the platform crossed the threshold of 68 million NFTs minted with creators across the spectrum of culture. That is 18,000 NFTs per minute to a user base of 750,000. The total cost to DRiP was around $12,000 total.
Upgrading to compressed NFTs has been a catalytic tech unlock and vital boost for DRiP. “We're sending 3 million NFTs a week now,” explains Drip founder Vibhu Norby. “If we were doing this on the old Solana spec, we would be spending $300K weekly. We’re a startup. The fact that we can do this for a couple hundred bucks enables our business completely.”
The unlocking of scale in NFTs is more than a technical upgrade. “State compression allows us to think past the scarcity model of NFTs, which was driving the market over the last few years,” explains Norby. “It allows us to see the true potential for NFTs: composable assets at scale. It allows for this Cambrian explosion of new ideas that weren't possible before.”
A number of other ecosystem teams have also incorporated compression:
- Social messaging app Dialect allows users to collect and trade compressed NFT stickers.
- Underdog offers an API for integrating compressed NFTs into any product or workflow.
- Crossmint has released a minting API for users.
- Helius’ minting API aims to reduce the complexity of compression for developers.
- Decentralized wireless pioneer Helium uses NFT compression to manage its global network of hardware wireless hotspots.
The future of cNFTs
While the first phase of NFT development was driven by digital assets defined by scarcity, exclusivity, and pursuant speculation, compressed NFTs rewrite the value model by making NFTs available and affordable, instead defined by abundance, inclusivity, and utility. Compressed NFTs lower the barrier for entry and the barrier for access to NFTs for startups, enterprise, and users alike. “It’s not about one person with a million NFTs,” explains Jon Wong, technical lead of the Ecosystem Engineering team at the Solana Foundation. “It’s about a million people with one NFT.”
Lowering costs and increasing availability presents the first clear path towards mass NFT use cases like access, identity, membership, loyalty programs, governance, and in-game assets. For example, enterprises — primarily concerned that the cost of transacting on blockchain is not viable at enterprise scale — can offer membership, rewards, or loyalty programs to millions of customers without spending millions of dollars. In games, compressed NFTs mean unshackling digital assets from sluggish usability, stifled efficiency, and limitations due to cost.
“State compression is generic. That means you can do it with any kind of chain state. NFTs just happen to be the first use case,” explains Wong. “I envision a whole host of other use cases whereby basically any state that you want to use in the context of a smart contract can be injected into Solana and used in a smart contract.”
It’s important to note that state compression does add complexity to the backend of web3 platforms making use of it, particularly in regards to communication between RPC providers and app developers. Additionally, the lower bar to entry for minting NFTs will come with new challenges in regards to spam for marketplaces and wallets. The ecosystem-wide effort to develop state compression — which incorporated the Helius, Triton, SimpleHash, Phantom, and Solflare teams with support from the Solana Foundation — shows that tackling these challenges and generally improving the technology will be a group effort.
Compressed NFTs are the first example of what looks to be a new phase of blockchain development. Or, as Norby explains: “We’ve assumed that blockchains are about decentralized money, but compression allows us to think about decentralized everything.”
Join the new art world.
Hear about the latest news, tools, and events for creatives using Solana.