Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

@avotronom/oracle — Module 05

Real-time prices via Pyth Network. Verifiable randomness via ORAO + Switchboard. Sub-400ms feeds, deterministic outcomes.

Status: 📋 PLANNED

What it does

Real-time prices via Pyth Network. Verifiable randomness via ORAO + Switchboard. Sub-400ms feeds, deterministic outcomes.

Why this exists

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.

Plans

  • 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

Reference

Spec / upstream: https://docs.pyth.network/

Dependencies

This module will depend on:

  • @pythnetwork/client
  • @orao-network/solana-vrf

Status

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.

License

MIT