storage-dapp-service

Service Documentation

LiquidStorage

Contracts

Install

zeus unbox storage-dapp-service

Model Instances

services/storage.json

{
  "name": "storage",
  "port": 13142,
  "contract": "liquidstorag",
  "prettyName": "LiquidStorage",
  "stage": "Alpha",
  "version": "0.5",
  "description": "Distributed storage and hosting",
  "generateStubs": true,
  "commands": {
    "sdummy": {
      "blocking": false,
      "request": {
        "data": "std::vector<char>"
      },
      "callback": {
        "size": "uint32_t",
        "uri": "std::string"
      },
      "signal": {
        "size": "uint32_t",
        "uri": "std::string"
      }
    }
  },
  "api": {
    "upload_public": {
      "authentication": {
        "type": "payer",
        "contract": "authenticato",
        "permission": "active"
      }
    },
    "upload_private": {
      "authentication": {
        "type": "payer",
        "contract": "authenticato",
        "permission": "active"
      }
    },
    "decrypt": {
      "authentication": {
        "type": "custom",
        "contract": "authenticato"
      }
    },
    "unpin": {
      "authentication": {
        "type": "payer",
        "contract": "authenticato",
        "permission": "active"
      }
    },
    "ipfshttpgw": {}
  }
}