Real-time prices via Pyth Network. Verifiable randomness via ORAO + Switchboard. Sub-400ms feeds, deterministic outcomes.
Status: 📋 PLANNED
Real-time prices via Pyth Network. Verifiable randomness via ORAO + Switchboard. Sub-400ms feeds, deterministic outcomes.
Wraps Pyth and ORAO/Switchboard behind a single, ergonomic interface. Other modules (Casino, Trader) consume this — they shouldn't need to know the difference between three vendor APIs.
- Typed Pyth feed wrapper with automatic staleness checks
- ORAO VRF wrapper with retry + fallback to Switchboard
- Caching layer for repeated reads in same slot
- CLI:
avot oracle price SOL/USD
Spec / upstream: https://docs.pyth.network/
This module will depend on:
@pythnetwork/client@orao-network/solana-vrf
This package is PLANNED. The directory exists so contributors know it's on the roadmap. No implementation yet.
If you want to take a stab at it, open an issue tagged module:oracle to claim a sub-task.
MIT