Chapter 6
Pinning Services
Pinning means telling an IPFS node to keep a CID and refuse garbage collection. Without pins, content propagates while someone cares but drifts offline as nodes reboot or prune cache. Pinning services are the practical persistence layer most dApps actually depend on.
Pinning is not backup by itself. Replicate important CIDs across two providers or combine IPFS pins with an Arweave transaction for high-value assets. Document which wallet or API key owns each pin so a departed contractor does not take your collection offline.
Monitor gateway health and CID resolution in CI. A green mint page means nothing if the metadata CID 404s six months later. Automated checks that fetch every tokenURI and verify image hashes catch broken pins before collectors do.