Build location
Work primarily in oracle/src/config. Keep related tests/docs beside that package unless this issue explicitly calls for a cross-package update.
Why this matters
Oracle configuration spans keys, subscribers, submitters, queues, and network settings and needs one typed validation boundary.
What to build
- Add or consolidate config schema for Stellar RPC/Horizon, contract IDs, key providers, queue settings, VRF thresholds, and rescue flags.
- Replace direct process.env reads.
- Document required env vars.
Acceptance criteria
- Tests cover missing secrets, invalid network, and invalid threshold values.
- Startup fails fast with actionable config errors.
Suggested verification
cd oracle && npm run lint && npm run test && npm run build
Build location
Work primarily in
oracle/src/config. Keep related tests/docs beside that package unless this issue explicitly calls for a cross-package update.Why this matters
Oracle configuration spans keys, subscribers, submitters, queues, and network settings and needs one typed validation boundary.
What to build
Acceptance criteria
Suggested verification
cd oracle && npm run lint && npm run test && npm run build