Orakl Network
  • Developer's Guide
    • Introduction
    • Verifiable Randomness Function (VRF)
    • Request-Response
    • Data Feed
    • Proof of Reserve
    • Prepayment
    • L2 Services
    • Data Availability Layer API (DAL)
    • Example Projects
      • Binary Option Example
      • Flipcoin Example
      • Mystery Box Example
  • Node Operator's Guide
    • Introduction
    • Orakl Network API
    • Orakl Network CLI
      • Chain
      • Service
      • Listener
      • VRF Keys
      • Reporter
      • Fetcher
      • Delegator
    • Orakl Network VRF
    • Orakl Network Request-Response
    • Orakl Network Data Feed
    • Orakl Network Delegator
    • Orakl Network Proof of Reserve
  • Other Resources
    • Audit
    • White paper
    • Social Media
    • Terms of Use
Powered by GitBook
On this page
  • List all services
  • Insert New Service
  • Remove Service Specified By id
  1. Node Operator's Guide
  2. Orakl Network CLI

Service

List, Insert And Remove Orakl Network Services

PreviousChainNextListener

Last updated 1 year ago

The Orakl Network offers several solutions, and each of them has its own specific configuration (e.g. listener setting). Service configuration in the Orakl Network CLI, allows to define an arbitrary services that can be associated with higher level solution configuration.

The Orakl Network CLI provides commands to

List all services

To list all serviced registered in the Orakl Network state, run the command below.

orakl-cli service list

The example output after listing all services can be seen in the listing below. In this case, there are three services: VRF, DATA_FEED and REQUEST_RESPONSE.

[
  { "id": 1, "name": "VRF" },
  { "id": 2, "name": "DATA_FEED" },
  { "id": 3, "name": "REQUEST_RESPONSE" }
]

Insert New Service

A new service can be registered to the Orakl Network state with service insert command.

orakl-cli service insert \
    --name ${name}
  • example

orakl-cli service insert --name VRF

Remove Service Specified By id

Services that are not associated with any other configuration can be deleted given the service id.

orakl-cli service remove \
    --id ${id}
  • example

orakl-cli service remove --id 15
List Services
Insert New Service
Remove Service Specified By id