IPFS, Filecoin and the Long-Term Risks of Storing NFTs (2024)

As NFTs continue their march into the mainstream, it’s important to know how these supposedly permanent digital assets stay that way – or not. IPFS (or the InterPlanetary File System) is a protocol that many NFTs (or non-fungible tokens) point to as their underlying asset. It’s part of the backbone of this new digital economy.

NFTs are sold on the idea that a blockchain token that corresponds to another digital file – be they MP3s audio files, JPEGs of digital art or PDFs of mortgage certificates – can have monetary value if it is provably unique. But that non-fungible token, which will live as long as Ethereum or Solana or some such platform exist, isn’t the data it’s pegged to. To make these other files last, many NFT minters have turned to distributed file-sharing systems developed by Protocol Labs – one of the industry’s blue chips.

Chris Dupres is the editor of the Chia Plot, where a version of this article first published, and experienced IT professional.

Most people feel that this means every part of an NFT is hosted on a blockchain and immutable. Nothing could be farther from the truth.

I don’t want to get too deep into how IPFS works, but it needs an overview. IPFS is a distributed file system similar to a BitTorrent swarm but with no central tracker, just a distributed hash table (DHT) hosted by nodes that maintains a sort of data ledger. Git, the open-source software management tool, also uses Merkle trees to form blocks that identify the files, which might be where the confusion with traditional blockchains comes from, but it is not a blockchain. Git uses Merkle trees to organize releases and ensure that different versions don’t accidentally get switched and to maintain integrity up and down the tree.

To get onto the IPFS network you can put up a node, using instructions here, and begin hosting files. When you put a file onto IPFS you create its content ID, or CID, which is a complicated set of hashes based on where the file is located and related metadata. That file can then stay hosted on your node alone, or it can be distributed among many nodes. This is where it is like BitTorrent. Just because a file is available “on BitTorrent” doesn’t mean there are any seeders or that it’s there forever. IPFS is like this. The address/CID is permanent, to a degree as it gets passed around the DHT, but the underlying asset, or file, that the IPFS address points to can be lost as easily as any file on any random web server. CoinDesk could run an IPFS node to store its article archive, and it wouldn’t make them any more permanent than they are now.

Filecoin, a sister project, picks up where IPFS left off. It purports to use “blockchain technology” to ensure persistence of data, by actually writing and distributing files across a cryptocurrency network and incentivizing participants to host that data on IPFS for as long as possible by paying out FIL tokens.

This is probably more robust than a random web server run by some random software project hosted in AWS, but it is by no means permanent. Lots of blockchains have gone defunct in the past, and there is no reason to think that Filecoin is an exception.

Many NFT projects use Filecoin to give their buyers the feeling of permanence. Even more use IPFS addresses to give the sense of reliability, as IPFS has won accolades by some of tech’s biggest names.

Read more: IPFS' Juan Benet: From Idea to Action

However, using IPFS broadly obfuscates the real permanence of NFT-secured assets. It’s an open secret that many NFT projects simply use random web file storage to host their images, and that those could go away at any time. The solution for “savvy” NFTs buyers is to only consider projects where the “art” is hosted on IPFS.

But often an IPFS link just points to that same website you didn’t trust the project creators to maintain. Filecoin hosted storage might be an easier way to provide some reliability for NFT storage, but it is far from perfect.

Honestly, IPFS might as well be a .torrent file that points to a reliable IP address hosting the DHT table for the files you want to host. It’s a little bit more elegant than that, but it really does boil down to the same thing.

No matter what you do with the storage, someone has to host it physically somewhere. There might be layers of incentives provided to ensure that the storage stays up, but it still needs to be on a hard drive somewhere connected to the internet.

Even when a file is hosted on Filecoin you are reliant on the Filecoin nodes it’s hosted on not to go dark during a bear market for the Filecoin team to not introduce a catastrophic error ever. and for the IPFS gateways that are used to access your files stay up.

There are a lot of centralized points of failure here for a decentralized file storage system.

From what I can tell, there is no easy way to determine how a file on IPFS is being hosted without running your own IPFS node and using that software to do a lookup of the hash.

Once you have a node up you can use the following code to find who has certain chunks stored:

ipfs dht findprovs $CHUNK_HASH

It is not foolproof as it will only list what nodes are hosting the file that your node can find. However, these files do not distribute automatically and hosting a file is an active process as is pushing it to new nodes. To do this you need to know exactly what file you are looking for and its hash.

Each NFT marketplace should show you the address where an NFT is located. To see where it is on OpenSea, the biggest NFT marketplace right now, you can follow this guide. Amusingly, if you follow this process for the current top NFT project, Mutant Ape Yacht Club, you will find it doesn’t even use IPFS but a centralized web server relying on centralized DNS and a centralized TLS certificate.

Read more: It's an NFT Boom. Do You Know Where Your Digital Art Lives?

Even if you are storing your data on Filecoin you aren’t really accessing it from there when reading the NFT. While a file might be “backed” on Filecoin, transacting with that network requires fees and apparently unsealing a file to read can take hours. To get around this, Protocol Labs developed the FileCoin Pinning Services that hosts files like IPFS. It’s basically just IPFS nodes that grab stuff off Filecoin and host it for a price.

This is all starting to feel like centralized storage with extra expensive and complicated steps. The worst part is that people are putting huge amounts of money into NFTs thinking they’ll last a lifetime, when they are simply files on a file server somewhere that someone (not you) ultimately controls. NFT marketplaces sometimes even have a business incentive to remove your file from the directory.

Basically, NFTs are no more permanent than any other part of the web. They use fancy, useful technology to obfuscate the fact that unless you are hosting the file that your NFT represents yourself you are beholden to others.

Right now, an NFT hosted using Filecoin has as good a chance as anything of sticking around. But, like everything else in this world, it comes down to trust. Do you trust that the entity that created your NFT has put the effort in to ensure reliable access? Do you trust that Filecoin won’t shut down?

These are questions you need to ask yourself when buying into an NFT project. The space is new right now, and don’t be fooled by an IPFS address into thinking that means your asset is permanently ensconced in an immutable blockchain.

IPFS, Filecoin and the Long-Term Risks of Storing NFTs (2024)

FAQs

What is the difference between IPFS and Filecoin? ›

To reiterate, IPFS operates on a model where data is pinned by nodes that choose to store it, with no built-in economic incentives. Filecoin adds a layer of financial incentives over IPFS, creating a marketplace for storage where users pay for their data to be stored over time.

Is IPFS storage permanent? ›

Unlike a blockchain, in which every piece of data is permanent by default (whether you want it to be or not), files on the IPFS network are stored as long as they are pinned. Pinning a file with a storage node is how you tell that node that the file should not be removed.

Why are NFTs stored on IPFS? ›

The digital world is abuzz with NFTs, tokens that authenticate and ensure the uniqueness of digital assets. Central to the value and function of an NFT is its metadata. As the NFT realm expands, safeguarding this metadata becomes imperative. This is where the InterPlanetary File System (IPFS) steps in.

Does IPFS require Filecoin? ›

No, IPFS (InterPlanetary File System) doesn't require Filecoin, but they can complement each other for decentralized storage and content distribution.

What are the disadvantages of IPFS blockchain? ›

Availability Issues:
  • Problem: If a file isn't popular or frequently accessed on IPFS, fewer nodes (computers in the network) might store it. This can make it difficult to access that file when needed.
  • Impact: Essential data might become inaccessible if not stored or replicated by enough nodes in the network.
Dec 7, 2023

Is Filecoin a long term investment? ›

Spotlight Wire Filecoin is another top-ranked altcoin worth investing in for long-term gains. The decentralised peer-to-peer storage infrastructure is gaining traction due to its connection with AI. As the AI sector trends, investors realise these companies need somewhere to store their vast datasets.

How safe is IPFS? ›

Decentralization: IPFS is a decentralized file storage system, which means that there is no central authority controlling the system. This makes it more secure than traditional centralized file storage systems.

Can data be lost on IPFS? ›

Long-term storage

If that one sponsor stops paying for that pinning, the content may be lost entirely. While IPFS guarantees that any content on the network is discoverable, it doesn't guarantee that any content is persistently available.

Can you keep the NFT forever? ›

The good news is that the NFT itself (i.e. the token or certificate of ownership) can never cease to exist. However the file which it is associated with (e.g. digital art, etc.)

What are the disadvantages of FIlecoin? ›

The main disadvantages of FIlecoin are the technical and financial barriers to mining it, and the way in which it has been disbursed.

Is everything on IPFS public? ›

All traffic on IPFS is public, including the contents of files themselves, unless they're encrypted.

Are all NFTs stored on IPFS? ›

IPFS (or the InterPlanetary File System) is a protocol that many NFTs (or non-fungible tokens) point to as their underlying asset.

Is Filecoin safe? ›

The decentralized peer-to-peer nature of Filecoin makes it censorship resistance. Decentralized networks have no single point of failure. Additionally, there are no gatekeepers and all the data on the Filecoin network is encrypted to the highest standards.

Is Filecoin reliable? ›

The Filecoin network relies on a combination of cryptographic proofs, including Proof of Replication (PoRep) and Proof of Spacetime (PoSt), to ensure the integrity and reliability of stored data. These proofs provide a way for network participants to demonstrate they are storing the data they claim to be storing.

Is IPFS really decentralized? ›

IPFS enables secure, decentralized data storage by breaking files into blocks distributed across nodes, minimizing vulnerabilities. Its content addressing ensures integrity through unique cryptographic hashes. Users can encrypt data before storage, enhancing security.

What is the relationship between Filecoin and IPFS? ›

In short: IPFS addresses and moves content, while Filecoin is an incentive layer to persist data. These components are separable - you can use one without the other, and IPFS already supports more self-organized or altruistic forms of data persistence via tools like IPFS Cluster .

How are Filecoin and IPFS related? ›

While Filecoin and IPFS are complementary protocols, they are separate and be implemented independently of one another. IPFS allows peers to transfer data files between each other, and Filecoin is provides a system of persistent data storage.

How does Filecoin use IPFS? ›

Filecoin is built on top of the IPFS, which serves as the Filecoin Network's distributed data storage and sharing layer. It is a blockchain-based system that allows users to buy and sell storage on the network, providing a market-based solution for decentralized file storage.

How is IPFS different from blockchain? ›

While blockchain is excellent at timestamping data, it struggles with large amounts of data. IPFS, on the other hand, efficiently stores large amounts of data but doesn't offer timestamping.

Top Articles
Latest Posts
Article information

Author: Gov. Deandrea McKenzie

Last Updated:

Views: 6262

Rating: 4.6 / 5 (66 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Gov. Deandrea McKenzie

Birthday: 2001-01-17

Address: Suite 769 2454 Marsha Coves, Debbieton, MS 95002

Phone: +813077629322

Job: Real-Estate Executive

Hobby: Archery, Metal detecting, Kitesurfing, Genealogy, Kitesurfing, Calligraphy, Roller skating

Introduction: My name is Gov. Deandrea McKenzie, I am a spotless, clean, glamorous, sparkling, adventurous, nice, brainy person who loves writing and wants to share my knowledge and understanding with you.