IPFS

From CryptoCurrency Wiki

(Redirected from IFPS)

Basics

  • Inter Planetary File System
  • Started in 5-2014.
  • Created by Protocol Labs (same company that does Filecoin, libp2p, multiformats & IPLD)
  • Distributed Web
  • A peer-to-peer hypermedia protocol to make the web faster, safer, and more open.
  • Aims to replace HTTP
  • “IFPS brings together a collection of key ideas: distributed hash tables, block exchanges, git, and self-certified file systems. “The contribution of IPFS is simplifying, evolving, and connecting proven techniques into a single cohesive system, greater than the sum of its parts. IPFS presents a new platform for writing and deploying applications, and a new system for distributing and versioning large data. IPFS could even evolve the web itself.”
  • INFURA is trying to provide “secure, stable, fault tolerant, and scalable Ethereum and IPFS nodes.”

History

Audits & Exploits

  • The website does not talk directly about audits, but does have a Github page dedicated to Security (29-7-2021).

Tech

  • Whitepaper can be read here.
  • Code can be found here.

How it works

"Williams [from Arweave] said; “IPFS is just saying: ‘Once you have the link, once you have the content ID [CID], you will always be able to find the data if the data is there.’” IPFS, he said, is “a system of addressing data, but not storing data.”

Ian Darrow, operations lead at Protocol Labs’ Filecoin project, responded to Decrypt, “It's definitely true that this isn't—and nothing is—a magic box that your stuff gets stored there and you never have to think about it again.”

To make the most of IPFS, Filecoin’s Darrow recommends “pinning” data to IPFS. “It's taking that content hash and saying, ‘I'm going to keep storing this file, I'm going to make sure that it's available, anyone that can talk to me on the IPFS network will be able to get this file from me.” Several services do this for you, including Pinata and Infura. IPFS has really moved away from the permanent storage, 'permanent everything’ branding, because it’s just a very hard guarantee to make.”

"Here's what happens when you add a file to IPFS — whether you're storing that file on your own local node or one operated by a pinning service or IPFS-enabled app.

When you add a file to IPFS, your file is split into smaller chunks, cryptographically hashed, and given a unique fingerprint called a content identifier (CID). This CID acts as an permanent record of your file as it exists at that point in time.

When other nodes look up your file, they ask their peer nodes who's storing the content referenced by the file's CID. When they view or download your file, they cache a copy — and become another provider of your content until their cache is cleared.

A node can pin content in order to keep (and provide) it forever, or discard content it hasn't used in a while to save space. This means each node in the network stores only content it is interested in, plus some indexing information that helps figure out which node is storing what.

If you add a new version of your file to IPFS, its cryptographic hash is different, and so it gets a new CID. This means files stored on IPFS are resistant to tampering and censorship — any changes to a file don't overwrite the original, and common chunks across files can be reused in order to minimize storage costs. However, this doesn't mean you need to remember a long string of CIDs — IPFS can find the latest version of your file using the IPNS decentralized naming system, and DNSLink can be used to map CIDs to human-readable DNS names."

Fees

Upgrades

Other

Roadmap

Usage

  • From their 2021 blog (11-1-2022):
  1. NFTs stored on IPFS: 15M+
  2. Unique weekly active IPFS nodes: 230K+
  3. ipfs.io Gateway Users per week: 3.7M+
  4. ipfs.io Gateway Requests per week: 805M+

"IPFS claims to have 2 million unique weekly users, some 200,000 network nodes, and about 125TB worth of gateway traffic per week."

Projects that use or built on it

  • For a full list, check here (29-7-2021).
  • Audius; Using IPFS integrations to store and retrieve data, Audius can ensure that there are no broken links to tracks and that all music is delivered to the user without reliance on centralized servers.
  • Balanc3. Is being used by Balanc3
  • Dash. Will be used in Evolution (Dash) "Your application’s historical state transitions are stored in IPFS, which also propagates your application data to other nodes in our network."
  • Brave; Users are allowed to access content stored on the protocol by resolving IPFS addresses natively (2021).
  • Decentraland. Used by Decentraland; "The platform uses IPFS network to store data and links in the consensus layer to retrieve it."
  • Everipedia. Used by Everipedia.
  • Humanode; From the announcement (4-12-2020):

An IPFS public cluster, which becomes a permissionless public protocol for trusted asset and data transfer maintained by human nodes. It has a cost-based fee model and flexible guaranteed persistence of data."

Team