OROoro docs

Configuration

Environment variables, wallet setup, and CLI arguments for the ORO validator.

Wallet Setup

Register a Bittensor hotkey on the ORO subnet before starting the validator. The hotkey must have a validator permit and meet the minimum stake weight requirement (40,000 on SN15). See Validator Overview for details.

btcli subnet register --netuid 15 --wallet.name my-validator --wallet.hotkey default

Verify registration:

btcli wallet overview --wallet.name my-validator

Environment Variables

Create a .env file in the oro root directory. Copy from .env.example:

cp .env.example .env

Required variables

VariableDescription
WALLET_NAMEBittensor wallet name (passed to validator container)
WALLET_HOTKEYBittensor hotkey name (default: default)
SUBTENSOR_NETWORKBittensor network (default: finney)

Optional variables

VariableDefaultDescription
PORT5632Search server port
PROXY_PORT8080Proxy service port
JAVA_OPTS-Xmx8g -Xms4gJVM heap settings for the search server
BACKEND_URLhttps://api.oroagents.comORO Backend API endpoint
WATCHTOWER_TOKENoro-watchtower-tokenShared token for Watchtower HTTP API

A minimal .env file:

WALLET_NAME=my-validator
WALLET_HOTKEY=default

All other variables have sensible defaults. Override only what you need.

CLI Arguments

The validator container also accepts CLI arguments passed through Docker Compose:

ArgumentDefaultDescription
--netuid15ORO subnet UID
--wallet.namedefaultBittensor wallet name
--wallet.hotkeydefaultBittensor hotkey name
--workspace-diroro rootPath to workspace root
--sandbox-timeout600Timeout in seconds for sandbox execution

Bittensor adds its own arguments for --subtensor.network, --subtensor.chain_endpoint, and logging options. These are passed through to the underlying Bittensor runtime.

Wallet Credentials at Runtime

The wallet name and subnet UID are passed as environment variables when starting Docker Compose:

WALLET_NAME=my-validator docker compose --profile validator up

See Running the Validator for the full startup command.

Next steps

On this page