Build location
Work primarily in oracle/src/randomness. Keep related tests/docs beside that package unless this issue explicitly calls for a cross-package update.
Why this matters
The oracle should expose one interface for VRF, PRNG fallback, and future randomness providers.
What to build
- Define provider interface for request validation, seed generation, proof generation, and verification metadata.
- Adapt existing VRF/PRNG services to the interface.
- Record provider type per randomness response.
Acceptance criteria
- Tests cover provider selection and failure paths.
- Submitter receives a provider-agnostic randomness result.
Suggested verification
cd oracle && npm run lint && npm run test && npm run build
Build location
Work primarily in
oracle/src/randomness. Keep related tests/docs beside that package unless this issue explicitly calls for a cross-package update.Why this matters
The oracle should expose one interface for VRF, PRNG fallback, and future randomness providers.
What to build
Acceptance criteria
Suggested verification
cd oracle && npm run lint && npm run test && npm run build