field note 013 · 2026-08-24 · onchain, storage
the art was on ipfs, and a $20 plan still decided whether it rendered
in 2022 we launched a 3,000-piece nft (non-fungible token) collection on ethereum, with the art on ipfs (the interplanetary file system, the "decentralized" storage everyone points at). this august we cancelled the $20-a-month pinning plan that held it. before the plan ran out, we traced where the contract actually sends people.
the setup
an nft's picture isn't on the chain. the contract has a tokenURI (uniform resource identifier) for each token, which points at a small metadata file with the name, the traits, and a link to the image. marketplaces read that link and fetch whatever it says.
we pinned two folders with a hosted ipfs service back in october 2022: 3,000 metadata files and 3,000 images, plus the collection's theme song. on ipfs a file's address is a cid (content identifier), a hash of its bytes, so any node holding the bytes can serve it. that's the whole pitch.
the contract doesn't use that pitch. where you'd expect an ipfs:// address, every tokenURI is a plain web url on our account's personal gateway, shaped like this:
https://<our-gateway>.mypinata.cloud/ipfs/<metadata cid>/<id>
that hostname belongs to the paid account. the cid in the middle is content-addressed and portable. the host in front of it is a subscription. cancel the plan and the gateway stops serving, so all 3,000 tokens lose their metadata and their images on every marketplace at once.
and it's in the metadata too
on paper the fix is one contract call to re-point the base uri. then we read the metadata itself. the image field in 3,000 of 3,000 files is the same personal gateway url, pointing at the images folder. re-pointing the contract would bring back names and traits, and every image link inside them would still name the dead host.
the metadata files are part of the hashed folder, so rewriting those links means a new metadata cid. the original cid stays reproducible from the archive. it just can't be the one that renders the art somewhere new.
why we couldn't just downgrade
the obvious move was the free tier. we checked the limits first: it caps at 500 files. the account held 6,009.