State compression brings down cost of minting 1 million NFTs on Solana to ~$110

by Jon Wong

State compression brings down cost of minting 1 million NFTs on Solana to ~$110

Jon Wong is technical lead on the ecosystem engineering team at the Solana Foundation.

When it comes to building web3 experiences at scale, Solana has been the industry leader thanks to its unparalleled speed, minimal environmental impact, composability, and low gas fees. But now, it’s about to cost even less to build user-first web3 projects.

Introducing state compression, a new way to store data directly on-chain that cuts down on cost by magnitudes of scale. 

This chart is based on a snapshot taken on April 5, 2023 and based on a price of SOL at $21.14, MATIC at $1.14, and ETH at $1,909.45. See footnote.

State compression is already being used by teams across the Solana ecosystem to power large, user-friendly experiences:

  • Dialect, a blockchain-based messaging service, uses state compression for compressed NFTs to cover the minting cost of NFT stickers to thousands of users. Learn more.
  • Crossmint, an NFT and API tooling company, is using state compression to create integrations that power deeper customer loyalty for companies around the world. Learn more.

And that’s just the beginning — projects like user-owned wireless network Helium and on-chain publisher Wordcel are using state compression to bring their scalable, user-first experiences to Solana.

Although state compression can be used to store any sort of data on-chain, the first use of this innovative technology is compressed NFTs. Compressed NFTs are just like regular NFTs, only drastically cheaper — minting 100 million compressed NFTs costs about ◎50 to store on-chain, compared to ◎1.2mm for their uncompressed counterpart. In fact, because every incremental compressed NFT is solely a modification of an existing tree, the cost of an NFT on Solana is now as little as the cost of a single transaction (◎0.000005)! Learn more about how compressed NFTs work here.

A true cross-ecosystem effort — built by developers at Solana Labs and Metaplex, powered by RPC providers and indexers Helius, Triton, and SimpleHash, and with support from Phantom, Solflare, the Solana Foundation, and more — state compression is a novel technology primitive that takes advantage of Merkle trees. This compression-friendly data structure allows developers to store a small bit of data on-chain and updates directly in the Solana ledger, cutting the data storage cost down dramatically while still using the security and decentralization of Solana’s base layer.

State compression makes elegant use of a well-known data structure and brings it to bear at the speed of Solana, once again proving Solana is the best place to build scalable, user-first web3 products. We can’t wait to see what you make.

Learn more from Solana Developers


  1. This estimate assumes an average gas price of 44 Gwei for Ethereum and 77 Gwei for Polygon based on estimates pulled from and on April 5, 2023. As there is no fixed cost for minting NFTs on Ethereum or Polygon as there is for NFT minting on Solana, the calculations were based on 2m gas units for contract deployment and 400k gas units for minting NFTs, based on estimates gathered from multiple NFT projects on those chains, as well as the assumption that there is the ability to mint as many NFTs specified in a single contract.

Hello! Use the editor to add your copy!