ERC-721A and Compressed NFTs
How gas-optimised NFT standards like ERC-721A made batch mints affordable, and how Solana state compression takes the same idea further by storing NFT data in Merkle trees off-chain.
The NFT Gas Problem
The original NFT standard (ERC-721) was elegant but inefficient. Minting 10,000 NFTs in a single collection meant ~10,000 separate storage operations — gas costs in the thousands of dollars for the collection deployer and end users alike. During the 2021 NFT boom, gas wars where mints would cost $200-500 in fees per NFT became a major friction point. Standards evolved to solve this in two distinct ways: ERC-721A for cheaper Ethereum mints, and Solana state compression for radically different storage architecture.
ERC-721A — Batch-Minting Optimisation
ERC-721A, introduced by Azuki's team in early 2022, is a backwards-compatible reimplementation of ERC-721. The key insight: instead of recording each minted NFT's owner separately, ERC-721A records ownership for ranges of consecutive token IDs. When Alice mints tokens 1-5 in one transaction, only one ownership record is created. The downside: transferring token 3 later requires checking which range it falls in. The net effect: mint gas drops dramatically; transfer gas slightly increases. For most collections this is the right trade because mints are once-per-token, transfers are usually rare.
Compressed NFTs — Solana's Approach
Solana's state compression goes much further. Instead of storing each NFT's metadata on-chain, compressed NFTs (cNFTs) store all the data in a Merkle tree off-chain, with only the root hash on-chain. Owners can prove they own a specific NFT by providing the Merkle proof. The cost of minting 1 million cNFTs is roughly the cost of minting 1 regular NFT on Ethereum. This enables use cases (loyalty programs, in-game items, ticketing) that wouldn't be economically viable with traditional NFT storage.
- ERC-721A: batch-minting gas optimisation, backwards-compatible with ERC-721
- cNFTs: Solana's compressed NFTs store data off-chain in Merkle trees
- ERC-721A: better mints, slightly worse transfers
- cNFTs: dramatically cheaper for high-volume use cases
Key Takeaways
- NFT gas costs drove the development of cheaper minting standards
- ERC-721A optimises batch mints by recording ranges instead of individual tokens
- Compressed NFTs (Solana) store data in off-chain Merkle trees with on-chain root
- Use case determines the right approach — small collections vs millions of items
Related Content
Related Coins
Related Topics
Key Terms
More Topics
Browse all 179 topicsCosmWasm and Cosmos Smart Contracts
How CosmWasm enables smart contracts on Cosmos chains via WebAssembly, what makes the developer experience distinct from EVM, and why Cosmos's sovereign-chain architecture is a different bet from rollup-style scaling.
Cardano Plutus and EUTxO Contracts
How Cardano's Extended UTXO (EUTxO) model differs fundamentally from Ethereum's account model, what writing Plutus contracts actually involves, and why concurrency on Cardano works differently.
NEAR Contract Model
How NEAR's sharded execution, async cross-contract calls, and storage staking model differ from Ethereum and Solana — and what writing production NEAR contracts looks like.
ICP Canister Model
How Internet Computer (ICP)'s canisters fundamentally differ from Ethereum-style smart contracts — combining compute, storage, and HTTP-server-like functionality in a single on-chain primitive.
ERC-6551 Token-Bound Accounts
How ERC-6551 lets NFTs own smart contract wallets that can in turn own other assets — enabling 'NFTs that own NFTs,' character-bound inventories, and new composability patterns.
Ordinals, Inscriptions, and BRC-20
How Casey Rodarmor's 2023 Ordinals protocol brought NFTs and tokens to Bitcoin via inscriptions, what BRC-20 means in practice, and how Runes evolved the model.
Algorithmic Stablecoin Failures — Deep Catalogue
How Terra UST, Iron Finance, USDR, and various other algorithmic stablecoins failed — the specific mechanisms in each case, and why all unbacked algorithmic stablecoins face the same structural risk.
Delta-Neutral Stablecoins (Ethena sUSDe)
How Ethena's sUSDe captures perpetual funding rates by hedging spot crypto with short perpetuals, what makes it different from algorithmic stablecoins, and the structural risks beneath the surface.
References & further reading
- primary
- secondary