Developer Center

Developer Center

  • Getting Started
  • Built-in Features
  • REST API Endpoints
  • Guides
  • Cheat Sheet

›Storage

Getting Started

  • What is Sirius Chain
  • Setting up your workstation
  • Writing your first application

Built-in Features

  • Account
  • Mosaic (SDA)
  • Namespace
  • Transfer Transaction
  • Aggregate Transaction
  • Multisig Account
  • Metadata
  • Account Restriction
  • Cross-Chain Swaps
  • Exchange Market
  • Decentralized Exchange Market
  • Liquidity Provider
  • Storage

Protocol

  • Node
  • Block
  • Cryptography
  • Transaction
  • Validating
  • Consensus Algorithms
  • Receipt
  • Inflation

REST API

  • Overview
  • Tools
  • Serialization
  • Websockets
  • Status Errors

SDKs

  • Overview
  • Architecture
  • Languages
  • Extending Sirius Chain Capabilities
  • SDK Development
  • SDK Documentation

Wallets & Explorers

  • Wallets & Explorers

Cheat Sheet

  • Sirius Chain Cheat Sheet

Guides

  • Overview
  • External Guides
  • Account

    • Creating and opening an account
    • Getting account information
    • Getting the amount of XPX sent to an account
    • Reading transactions from an account

    Account Restriction

    • Preventing spam attacks with account restrictions

    Aggregate Transaction

    • Sending payouts with aggregate-complete transaction
    • Creating an escrow with aggregate bonded transaction
    • Asking for mosaics with aggregate-bonded transaction
    • Signing announced aggregate-bonded transactions

    Block

    • Listening to New Blocks
    • Getting block by height

    Cross Chain Swaps

    • Atomic cross-chain swap between Sirius public and private chains

    Metadata

    • Account Metadata
    • Mosaic Metadata
    • Namespace Metadata
    • Account Metadata (Deprecated since 0.7.0 Sirius Chain release)
    • Mosaic Metadata (Deprecated since 0.7.0 Sirius Chain release)
    • Namespace Metadata (Deprecated since 0.7.0 Sirius Chain release)

    Monitoring

    • Monitor transaction

    Mosaic

    • Creating a mosaic (SDA)
    • Getting the mosaic information
    • Getting the asset identifier behind a namespace with receipts

    Mosaic Levy

    • Modifying Mosaic Supply

    Multisig Account

    • Converting an account to multisig
    • Modifying a multisig account
    • Creating a multi-level multisig-account
    • Sending a multisig transaction

    Namespace

    • Registering a namespace
    • Registering a subnamespace
    • Getting the Namespace information
    • Linking a namespace to a mosaic
    • Linking namespace to account

    Transfer Transaction

    • Transfer transaction
    • Sending an encrypted message

    Storage

    • Data Modification Cancel
    • Data Modification
    • Download Channel
    • Download Payment
    • Drive Closure
    • Finish Download Channel
    • Prepare Bc Drive
    • Replicator Offboarding
    • Replicator Onboarding
    • Storage Payment
    • Verification Payment

Storage

  • Overview
  • Participate
  • External Economy
  • Roles
  • Verification
  • Challenge
  • Rewards
  • Transaction Schemas
  • Built-In Features

    • Drive
    • Replicator
    • Verifier
    • Supercontracts

    Protocols

    • Cross-Block Protocol
    • Fair Streaming

    Storage User Application

    • Overview
    • Getting Started
    • Managing Drives
    • Managing Drive Files
    • Downloading Data

The Roles within the Sirius Storage

Director Node

The Storage Director Node, or Drive Owner, is a role that initiates files storage in the network. It is essentially a client that accepts files and pushes them to Replicators. When initiating a Drive, a virtual drive is created for the customers to manage their files and directories. Before creating a new Drive, the Owner must prepare and create a new Drive account.

In an autonomous storage network, customers usually access their acquired storage via an easy to use interface. The inner workings of this interface is programmatically designed to accept files or even directories from the customer. The role of the Drive Owner is to provide an easy way for their customers to access the storage they provided.

Price and Token Economy

Drive Owners as storage providers accept payments from the Drive customers. These payments, in turn, are used to pay for Replicators on the network. A Drive must have enough XPX before it can push files to Replicators. Exchange protocol kicks in that will convert XPX to Service Units, which will then be accepted by Replicators.

Drive Owner Responsibilities

  • The Owner creates a Drive account and prepares it with desired properties. When the Drive is prepared, the Owner must transfer XPX to the Drive balance that must be enough to pay for at least one billing period.

  • The Owner can upload, remove, rename, move, and download files and directories to and from the Drive. Every action has its price and must be paid by the Owner.

  • The Owner makes payments to the Drive account. When there is not enough XPX on the Drive balance to pay for the next billing period, the Drive will be automatically closed.

Replicator Node

The Storage Replicator and the Verifier are the same node with different roles. This node stores the Storage Director's data (and gets paid for this), and also verifies other Replicators.

Replicator Responsibilities

  1. Replicator nodes search for and join active Drives. When a Replicator wants to join a Drive, that Replicator makes a deposit equal to the size of the Drive.

  2. Replicator nodes store the Storage Director's files. When new data should be stored, the Storage Director sends this data to the Replicator nodes, and they store it until the Drive's contract is expired or the Drive itself is closed.

  3. Replicator nodes confirm that they actually store the files. Verifiers regularly check that the Replicators store correct and undamaged files. To do this, Verifiers use the Challenge. Verified Replicator nodes, called Provers, must generate and send a response according to the verification protocol that is formed using the stored data. Replicators that fail the verification are removed from the Drive.

Verifier Responsibilities

The Verifier is a node that checks that data stored by Storage Replicator nodes is untouched and safe. It uses the Challenge to control Replicators and to prevent corruption and loss of the Storage Director's data. The Verifier begins verifications automatically on specific blocks, depending on the hash of the block, the key of the Drive, and a special constant that is set in the network configuration and which regulates the frequency of the verifications.

According to the verification algorithm, a Verifier that fails verification loses its deposit. That deposit will be divided between Replicators of that Drive. Since the main goal of any Storage Replicator node is to make profit, it is interested in verifications.

Supercontract Executor

One key role of a Sirius Storage node is being a Supercontract Executor. In Supercontracts, all contract files are stored on Sirius Storage, when a contract code is called upon for execution, the group of replicators who handles or stores the contract code becomes executors. The execution run through a consensus and in the end, the replicator who accepts to sign the execution will be the one assigned to execute the digital contract code.

Here are the steps in contract execution:

  1. A Drive owner uses the command line interface or the availabe tools to deploy SC.
  2. Any DFMS user that is interested in the SC function execution publishes to Blockchain the execute transaction.
  3. Executors get this transaction and automatically start the SC execution.
  4. When the function is finished all Drive participants sign the execution result.

Executors are motivated to perform SCs by rewards. They get rewards if they sign a transaction with the SC results. It provides the consensus and clarity of the results obtaining mechanism during the execution of SC.

Storage Executor Responsibilities

Bases on previous steps any executor has next obligations:

  1. Execute the particular function of the SC
  2. Sign all obtained results from Blockchain that are connected with SC.
← External EconomyVerification →
  • Price and Token Economy
  • Drive Owner Responsibilities
  • Replicator Responsibilities
  • Verifier Responsibilities
  • Storage Executor Responsibilities
  • Follow our profile
  • Ask development questions
  • Join our Discord channel
  • Explore our Youtube channel
  • Explore Github
Protocol
BlockConsensus AlgorithmsCryptographyInflationNodeReceiptTransactionValidating
Built-in Features
AccountAggregate TransactionCross-Chain SwapsExchange MarketDecentralized Exchange MarketMetadataMosaicMultisig AccountNamespaceTransfer TransactionStorageLiquidity Provider
References
REST APISDKsCheat Sheet
Includes Documentation Forked from NEM
Copyright © 2025 Sirius Chain