IPFS - Decentralized Storage

Decentralized file storage and distribution protocol I Applications & Practices

Basic Information

  • Name: IPFS (InterPlanetary File System)
  • Founder/Organization: Juan Benet / Protocol Labs
  • Official Website: https://ipfs.tech/
  • GitHub: https://github.com/ipfs
  • Type: Decentralized file storage and distribution protocol
  • License: MIT/Apache 2.0
  • First Release: 2015

Product Description

IPFS is a peer-to-peer distributed file system protocol that uses content addressing to uniquely identify each file in a global namespace. Unlike traditional HTTP, which relies on location-based addressing, IPFS locates files based on their content hash, meaning identical files are stored only once and can be retrieved from the nearest node. IPFS aims to make the web faster, more secure, and more open.

Core Features/Characteristics

  • Content Addressing: Locate files via content hash (CID) rather than server address
  • Decentralized Distribution: Files are distributed from multiple nodes, eliminating single points of failure
  • Deduplicated Storage: Automatic deduplication of identical content
  • Version Control: Content version management similar to Git
  • P2P Network: Peer-to-peer transmission reduces reliance on central servers
  • IPNS: Mutable naming system for pointing to the latest version of content
  • Gateway Access: Access IPFS content via HTTP gateways

Technical Architecture

  • Distributed Hash Table (DHT): Stores provider information
  • Bitswap: Data exchange protocol
  • Merkle DAG: Data structure organization
  • libp2p: Underlying network communication library
  • Implementations: Kubo (Go), Helia (JavaScript), Iroh (Rust)

Use Cases

  • NFT Storage: Many NFT platforms use IPFS to store metadata and assets
  • DApp Data: Data storage layer for decentralized applications
  • Web Hosting: Decentralized hosting for static websites
  • Archival Storage: Decentralized backup of important data
  • Cloudflare Integration: Cloudflare has used IPFS since 2018 and launched a dedicated gateway in 2022

Business Model

  • The IPFS protocol itself is free and open-source
  • Protocol Labs offers the commercial Filecoin storage network
  • Pinata, web3.storage, and others provide paid IPFS pinning services
  • Enterprise-level hosting and integration services

Challenges and Current Status

  • Brave Browser Removes Support: In 2024, Brave removed native IPFS node and ipfs:// protocol support due to low usage
  • Persistence Issues: Data needs to be actively "pinned" by nodes to persist
  • Performance: Initial access to content can be slow
  • Adoption Rate: Mainstream adoption remains limited
  • Complementary with Filecoin: IPFS handles addressing and transmission, while Filecoin incentivizes storage

Competitive Landscape

  • Arweave: Permanent storage with a one-time payment
  • Filecoin: Incentivized storage network based on IPFS
  • Swarm (Ethereum): Decentralized storage within the Ethereum ecosystem
  • BitTorrent/BTFS: Traditional P2P file sharing
  • Traditional CDNs: Cloudflare, AWS CloudFront, etc.

Relationship with OpenClaw

OpenClaw can utilize IPFS to store and distribute its skill packs, configuration files, and other resources, enabling decentralized resource distribution. This aligns with OpenClaw's privacy-first and decentralized philosophy.

Sources

External References

Learn more from these authoritative sources: