Home

Using CID Rollups

Combining Encrypted Files

Overview

CID Rollups allow you to group multiple encrypted files into a single hash, simplifying file management, tracking, and resources. This feature is particularly useful for managing collections of files that are frequently accessed together.

Rolling Up Multiple Files

In this section, we will cover the steps required to combine multiple files into a single CID rollup. This process involves bundling files together, generating a single CID, and associating metadata that allows for easier management.

Let's start by identifying what a CID is. A CID, or Content Identifier, is a unique digital fingerprint that acts as the address for your file on IPFS. Just like a house has an address, your file on IPFS has a CID. When you access a CID, you're retrieving the exact file it points to, ensuring you always get the right data.

Use Cases

CID Rollups can be applied in various scenarios:

  • Aggregating related files for a project or task.
  • Improving record management resources based on a single CID.
  • Improving performance by reducing the number of CIDs to manage.

How to Combine CIDs

Follow these steps to perform a CID Rollup in Lockb0x:

  • Collect the CIDs of each file you want to include.
  • Select “Advanced Options” during creation to add all collected CIDs.
  • Add relevant information, select a file, and fill required fields.
  • Complete the Upload by clicking “Encrypt and Upload”.

Best Practices

To maximize the benefits of CID Rollups, consider the following best practices:

  • Group files that are logically related to avoid unnecessary rollups.
  • Ensure that metadata accurately reflects the content of the rollup.
  • Regularly update rollups to include new or updated files as needed.