Hub
HUMAN Website
  • HUMAN Protocol Document Hub
  • HUMAN Tech Docs
    • Architecture
      • Components
        • Smart Contracts
          • Escrow.sol
          • EscrowFactory.sol
          • Contract Addresses
        • Dashboard
        • Job Launcher
          • Standard
          • HUMAN Job Launcher
        • Exchange Oracle
          • Standard
        • Recording Oracle
          • Standard
        • Reputation Oracle
          • Standard
          • HUMAN Reputation Oracle
        • HUMAN App
        • Annotation Tools
          • CVAT
          • hCaptcha
          • Fortune (test)
      • Protocol Features
        • Routing Protocol
        • Abuse System
        • Qualifications System
        • Governance
    • SDK
    • Tutorials
      • Job Requesters
        • Signup
        • Launch Jobs
          • Fortune
      • Workers
        • Sign Up
        • KYC Verification
        • Wallet address registration
      • Operators
        • Sign Up
      • HMToken
        • Bridge
          • Ethereum <--> Polygon
          • Ethereum <--> Binance Smart Chain
    • Developer
      • Initial setup
      • Running HUMAN Protocol with CVAT
        • Getting started
        • Running CVAT
        • Running HUMAN Protocol
          • Reputation Oracle
          • HUMAN App
          • Job Launcher
          • CVAT oracles
        • Setting up Oracles
        • Setting up Worker user
        • Launch simple CVAT job
      • FAQ
  • Routing Protocol Tokenomics
    • Status
    • Premise
    • Token design
    • Proposition for a governance minimization model
    • Liquidity provision /market making
    • Alternate Conviction voting model
    • Voting model
    • The HUMAN-RP Magistrate
    • Voting process
    • Security
    • Policies
    • Slashing and Soft-freezing
    • Staking for tool vendors
  • Grants Program
    • Introduction and Program Overview
    • Application Process
      • Application Process of the HUMAN Grants Program
    • Funded Projects
    • Community
    • Help & FAQs
    • Terms and condition
  • Guide to the HUMAN Protocol SDK's
Powered by GitBook
LogoLogo

© 2023 HPF. HUMAN Protocol® is a registered trademark

On this page
  • Starting the services
  • On chain setup

Was this helpful?

  1. HUMAN Tech Docs
  2. Developer
  3. Running HUMAN Protocol with CVAT
  4. Running HUMAN Protocol

Reputation Oracle

Starting the services

When running for the first time, an extra step needed in order to run migrations. Run container with special entrypoint:

docker compose -f docker-compose.local.yml \
    --env-file .env.compose.local \
    run --name=rep_o_migration \
    --entrypoint="yarn migration:run" \
    reputation-oracle \
    && docker rm rep_o_migration > /dev/null

After that you can run Reputation Oracle service in detached mode:

docker compose -f docker-compose.local.yml \
    --env-file .env.compose.local \
    up reputation-oracle -d

On chain setup

Once you have Reputation Oracle up and running - you will need to update its KVStore with proper values. You can either write your own script using our SDK, or use existing one. For the latter - jump into Reputation Oracle container:

docker exec -it reputation-oracle bash

and run next command:


SUPPORTED_JOB_TYPES=image_boxes,image_boxes_from_points,image_points,image_polygons,image_skeletons_from_boxes \
    RPC_URL=$RPC_URL_POLYGON_AMOY \
    SERVER_URL="http://reputation-oracle:$PORT" \
    FEE=1 \
    npx ts-node ./scripts/setup-kv-store.ts

SUPPORTED_JOB_TYPES in the command above are those that supported by CVAT oracles.

PreviousRunning HUMAN ProtocolNextHUMAN App

Last updated 3 months ago

Was this helpful?