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
  • Insert new organization
  • List organizations
  • Insert new reporter
  • List reporters
  • Insert new contract
  • List contracts
  • Insert new function
  • List functions
  • Connect contract with reporter
  • List reporters
  1. Node Operator's Guide
  2. Orakl Network CLI

Delegator

Register organization, reporters, contracts, functions, and connect them together to create your white list rules

Insert new organization

yarn cli delegator organizationInsert \
    --name ${orgName}
  • example

yarn cli delegator organizationInsert --name bisonai

List organizations

yarn cli delegator organizationList

Insert new reporter

yarn cli delegator reporterInsert \
      --address ${address} \
      --organizationId ${organizationId}
  • example

yarn cli delegator reporterInsert --address 0xab --organizationId 10

List reporters

yarn cli delegator reporterList

Insert new contract

yarn cli delegator contractInsert \
      --address ${address}
  • example

yarn cli delegator contractInsert --address 0x23

List contracts

yarn cli delegator contractList

Insert new function

yarn cli delegator functionInsert \
      --name ${functionSignature} \
      --contractId ${contractId}
  • example

yarn cli delegator functionInsert --name "submit(int256,uint256)" --contractId 15

List functions

yarn cli delegator functionList

Connect contract with reporter

yarn cli delegator contractConnect \
      --contractId 1 \
      --reporterId 1

List reporters

yarn cli delegator reporterList
PreviousFetcherNextOrakl Network VRF

Last updated 1 year ago