Skip to main content

Common Operations

Overview

This section describes the common operations that users can perform.

Upload File

Uploading a file consists of the following steps:

  1. The user creates or updates a subscription through the Iagon client application.
  2. The user specifies their requirements, such as security, GDPR compliance, redundancy, latency, and encryption.
  3. Fermato calculates the price (in stablecoins) the storage consumer needs to pay.
  4. The user makes the payment.
  5. Depending on whether the user wishes to upload a new file or update an existing one, Fermato mints or updates an access NFT.
  6. The user uploads the file.
  7. The protocol encrypts the file.
  8. The protocol distributes the shards to the storage providers that satisfy the requirements specified in step #2.

Retrieve a File

Retrieving a file consists of the following steps:

  1. The user requests a file through the Iagon client application.
  2. The protocol identifies the storage providers hosting the shards, and relays the request to them.
  3. The protocol combines the shards and sends the file back to the client application.
  4. The client application decrypts the file.
  5. The user can now read the file.

Remove

Removing a file consists of the following steps:

  1. The protocol identifies all the resource providers hosting the file shards.
  2. The protocol sends a remove command to all the resource providers identified in the previous step.
  3. Resource providers remove their shards.

Check

Checking a file allows storage consumers to verify that the file is accessible and the network meets the GDPR requirements. When a user issues this command, the Iagon network retrieves the number and location of their shards.