Ukiyo NetworkDeveloper Docs
Developer Guides

Configuration

Configuration is environment-driven. Never put signing keys in model context or client bundles.

Shared network

VariableExamplePurpose
ARB_RPC_URLhttps://arb1.arbitrum.io/rpcArbitrum JSON-RPC
ETH_RPC_URLL1 RPCRoot anchoring / finality checks
CHAIN_ID42161EIP-712 domain
SCORE_REGISTRY0x…On-chain score publication
POLICY_ENGINE0x…Agency gatekeeper
ORDER_NFT0x…SPOOL order NFT

Oracle

VariablePurpose
KAFKA_BROKERSStreaming backbone
ORACLE_SIGNER_KEYAttestation signer (HSM/MPC in prod)
FRESHNESS_WINDOW_SECMax age consumers should accept
MODEL_PATHCalibrated score model artifact
L1_ANCHOR_INTERVALHow often to post Merkle roots

Agency

VariablePurpose
AGENT_ADDRESSOn-chain agent identity
SIM_FORK_URLRPC used for vm.createFork simulations
ESCALATION_MULTISIGHigh-impact destination
MAX_VALUE_WEIPer-call value ceiling (also enforced on-chain)
SEQUENCER_STALL_SECDefault 30s before degraded mode
Secrets

Keep attestation and execution keys in HSM/MPC. The model receives observations and outputs proposals only — never private keys, seed phrases, or API credentials in prompts.