Lighthouse
  • 👋Introduction
  • Quick Start
  • How To
    • 🔑Create an API Key
    • 🔼Upload Data
      • 📁File
      • 🔤Text/JSON
      • 🔀Buffer
    • 🔒Upload Encrypted Data
      • 📁File
      • 🔤Text/JSON
      • 🔐Encryption Authentication
        • 📝Method 1: Signed Message
        • ⚕️Method 2: JWT
        • 📲Method 3: Passkey
    • Encryption Features
      • 👯Share File
      • ❌Revoke Access
      • 🔑Check Access Conditions
      • 🚪Token Gating
      • Chains Supported
      • 📃Access Control Conditions
      • 🔓Decrypt File
        • 🌐Browser Decrypt File
        • 💻NodeJS Decrypt File
      • 🚪Access control with zkTLS
      • 👬Account Delegation Tutorial
    • 📂List Files
    • 💁File Info
    • 💰Get Balance
    • 🔁Retrieve File
    • 💾Check for Filecoin Deals
    • 🔄IPNS - Handle Mutable Data
    • 📦Migrate Files
    • 📌Pin CID
    • 💸Pay per use
    • Resize Image
    • 💻Use CLI Tools
  • zkTLS
  • 🤝Account Delegation
  • 💾Filecoin First
    • Usage
    • 💰Pay Per Deal
  • Tutorials
    • 💸Pay to View Application
    • Use Python SDK
    • 📝Update Content with Lighthouse IPNS
    • 📹Add Video Player in UI
    • ✅Document Verification with PoDSI
    • 🎨Minting NFTs on EVM Chains
    • 🪙Minting NFTs on Solana
    • 👩‍💻Programmable Storage with Lighthouse SDK and Filecoin
    • 🔐Secure File Sharing
    • Upload Encrypted Files
    • 📄Token Gating and Custom Contract
    • 🔑Token Gating NFTs
    • 🏖️Pushing File Metadata Onchain
    • Use Radix Wallet on Lighthouse Filesdapp
  • Concepts
    • Glossary
    • IPFS CID Transition to v1
  • Support
    • 📞Contact
Powered by GitBook
On this page
  • What is IPFS CID?
  • CID v0 and v1
  • Why is the switch from CID v0 to CID v1 necessary?
  • What about my old files with CID v0
  • How will the transition affect users?
  • Additional Resources
  • Contact Information
  • Conclusion

Was this helpful?

Edit on GitHub
  1. Concepts

IPFS CID Transition to v1

PreviousGlossaryNextContact

Last updated 10 months ago

Was this helpful?

What is IPFS CID?

A Content Identifier (CID) in the InterPlanetary File System (IPFS) is a unique identifier used to point to content stored on the IPFS network. CIDs are generated based on the content itself, ensuring that each piece of content has a unique identifier. This enables efficient and reliable content addressing.

CID v0 and v1

CID v0 starts looks like this

QmNXczfQCr2qgDHYBUyyugF91KNTYEt1ccNMjt1138XYYF

while CID v1 looks like

bafybeififl7roehkjj7zt5lgngnzvtgbwzgot4iflatwrxjhiloriudse4P

Files will still be accessed at {CID} for both new and old files. Though, for new files we will now return CID v1

Why is the switch from CID v0 to CID v1 necessary?

The switch to CID v1 is necessary to stay updated with IPFS's current standards. CID v1 offers enhanced flexibility, better readability, and supports a wider range of hash functions, making it more future proof.

What about my old files with CID v0

Existing files with CID v0 will continue to work, but any new content added to the system will be assigned CID v1 by default. This ensures backward compatibility while taking advantage of the improvements offered by CID v1.

How will the transition affect users?

For the most part, users should experience little to no disruption.

Additional Resources

Contact Information

For any issues or questions related to the CID transition, please reach out to:

Conclusion

Adopting CID v1 is a strategic upgrade for Lighthouse, ensuring better integration, improved performance, and alignment with the latest IPFS capabilities. By preparing and undertaking this transition, Lighthouse reiterates its commitment to innovation and reliability.

Thank you for your cooperation and understanding as we work to improve our services.

Last Published: 13th June 2024

https://gateway.lighthouse.storage/ipfs/
IPFS CID Documentation
Support on Telegram
Support on Discord