Storage DFMS

Storage DFMS

  • Getting Started
  • CLI
  • Guides
  • API Endpoints
  • Help

›SuperContract

Getting Started

  • What is Distributed File Management System (DFMS)?
  • The External Economy
  • Participate

Roles

  • Storage Director Node
  • Storage Replicator Node
  • Supercontract Executor

Built-In Features

    Drive

    • Overview
    • Lifecycle
    • State

    Replicator

    • Overview

    Verifier

    • Overview

    SuperContract

    • Overview
    • Lifecycle
    • State
    • SC files
    • WasmVM

    Challenge

    • Overview

    Rewards

    • Overview

Protocols

  • Cross-block protocol
  • Fair streaming

Algorithms

  • Verification
  • Consensus

Supercontracts

Supercontract (SC) is a file generated by Supercontract SDK that contains a user algorithm which should be executed by executors. Every new SC is a new multisig account created by the client while deploying a new SC. All executors perform SC operations on VM.

Function (func) - some function that is contained in a SC and invoked by name.

Operation is is called any one action. A function can consist of many operations. For example, one function can include two operations: create a file and move it to some dir.

Every "super file" is uploaded by the ordinary way on an earlier created Drive and stored by Storage Replicator Nodes as an ordinary file. The main difference is that the file must have the *.wat extension. When SC starts all Storage Replicator Nodes become executors. Each of them has a virtual machine (VM) that executes the SCs.

Properties

Drive

Every SC should be attached to the Drive where it is stored and where it is executed.

FileHash

Since the SC is the ordinary file it has a hash. To deploy a new SC, you should indicate this file hash.

VM Version

When the client deploys a new SC he should pass a version of VM to the deploy transaction. It is needed when some of executors have not actual VM version and they cannot execute the SC. In this case, this executor will not sign the deploy transaction.

← OverviewLifecycle →
  • Properties
    • Drive
    • FileHash
    • VM Version
Storage DFMS
Roles
SDNSRNVerifierSC Executor
Built-in Features
DriveSuperContractChallengeRewards
Protocols
Cross-block protocolFair streaming
Algorithms
VerificationConsensus
CLI
dfms-clientdfms-replicatorsupercontracts
Giudes
ContractDriveSupercontractsNetwork
Copyright © 2021 ProximaX