Common Use Cases
Overview
This section describes the common operations that users can perform.
Upload File
Uploading a file consists of the following steps:
- The user creates or updates a subscription through the Iagon client application.
- The user specifies their requirements, such as security, GDPR compliance, redundancy, latency, and encryption.
- Fermato calculates the price (in stablecoins) the storage consumer needs to pay.
- The user makes the payment.
- Depending on whether the user wishes to upload a new file or update an existing one, Fermato mints or updates an access NFT.
- The user uploads the file.
- The protocol encrypts the file.
- 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:
- The user requests a file through the Iagon client application.
- The protocol identifies the storage providers hosting the shards, and relays the request to them.
- The protocol combines the shards and sends the file back to the client application.
- The client application decrypts the file.
- The user can now read the file.
Remove
Removing a file consists of the following steps:
- The protocol identifies all the resource providers hosting the file shards.
- The protocol sends a
remove
command to all the resource providers identified in the previous step. - 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.