Independent discussion of crypto, wallets, cards and markets
Forum Home > NFTs & Digital Culture > NFT Basics > NFT storage: on-chain, IPFS and the pins that disappear
NFT storage: on-chain, IPFS and the pins that disappear32 replies · 2,292 views
Thread ToolsShow Printable Version · Subscribe to this Thread · Search Thread
Where to open an account: Open a Trustee account.

NFT storage: on-chain, IPFS and the pins that disappear

Where NFT files actually live

The token is a record; the file is separate. An NFT's contract stores a token URI - a pointer - and that pointer resolves to metadata JSON, which resolves to the image or media file. The chain holds the ownership record and the pointer; the file itself lives in storage chosen at mint time: a centralized server, a decentralized storage network, or inside the contract itself. The distinction decides everything about the token's durability: the ownership record is permanent by construction, but the file behind the pointer is only as permanent as its storage and its maintenance. Most broken NFT images in history are storage failures, not chain failures - the token exists, the record is intact, and the thing the record points at is gone.

How IPFS works and what pinning means

  • Content addressing: IPFS identifies files by content hash - the same file always has the same identifier, and the identifier is a cryptographic digest of the bytes. The addressing model is why IPFS links are content-verified: if the content changes, the identifier changes, and a pointer to the old identifier resolves to the old content or nothing.
  • The network is not a hard drive: IPFS is a peer-to-peer network where files exist only on the nodes that store them. A file is not "on IPFS" because it was uploaded once - it is on IPFS only while at least one node keeps a copy. The upload that creates the identifier does not guarantee persistence; the network's storage is voluntary and ephemeral by design.
  • Pinning is the persistence layer: a pin is a commitment - a node, or a paid pinning service, stores the content and keeps it available. Services market permanent pinning, but the permanence is a business agreement backed by redundancy, not a protocol guarantee. When a pinning service fails, changes terms, or shuts down, the content it alone held becomes unreachable - the identifier remains valid in theory and dead in practice.

What happens when a pin fails

  • The dangling pointer: the token's metadata points at an identifier no node serves - the image fails to load, the marketplace shows a placeholder, and the token's presentation collapses while its ownership record is untouched. Buyers see a broken image; the chain sees nothing wrong.
  • The cascade: metadata JSON hosted on the same fragile storage fails with the image, and collections that stored metadata separately from tokens lose the attribute data that rarity tools read - the token exists, its traits are unreadable, and its rarity score becomes stale or wrong.
  • The discovery problem: unpinned content is hard to find even when it exists - IPFS gateways and node coverage vary, and a file that one node holds may be invisible to most readers. Persistence and availability are different properties, and pinning failures often break availability before they break existence.

The storage decision matrix

  • Centralized servers: the cheapest and most fragile option - a URL that works until the server, the domain, or the budget stops. Suitable for experiments and prototypes; a liability for anything meant to last.

The takeaway

NFT storage splits into two durability classes: the token record, which is permanent by construction, and the file behind the pointer, which is permanent only if its storage and maintenance are permanent. IPFS provides content addressing and decentralized availability, but only while nodes pin the content - unpinned files vanish while their identifiers stay valid, and the tokens pointing at them display broken images over intact ownership records. On-chain SVG trades cost and flexibility for total permanence; permanent storage networks trade upfront money for hands-off durability; centralized servers trade everything for convenience. Reading NFT storage claims correctly means asking where the file lives, who pins it, and what happens when that changes - because the token's future is decided by its storage's future, and storage has a future only as long as someone is paying for it. The record is forever; the picture is a rental.

Thread Statistics32 replies · 2,292 views