Live crypto and forex prices fetched from public APIs, verified by 5 independent AI validators on GenLayer, and stored on-chain for any dApp to read.
https://price-oracle-delta.vercel.app
- Address:
0x3bfa3494C7AEB35489436A5325DD0D8F51BE5E0B(Bradbury Testnet) - File:
contracts/price_oracle.py
Crypto — Binance API
- BTCUSDT, ETHUSDT, SOLUSDT, BNBUSDT
Forex — ExchangeRate API (African)
- USD/NGN, USD/GHS, USD/KES
Forex — Frankfurter/ECB (Major)
- USD/EUR, USD/GBP
oracle = gl.contract.get_at(Address("0x3bfa3494C7AEB35489436A5325DD0D8F51BE5E0B"))
price = json.loads(oracle.get_price("BTCUSDT"))["price"]update_crypto_price(symbol)— fetch and store from Binanceupdate_forex_rate(base, quote)— fetch and store forex rateget_price(symbol)— read latest price with timestampget_all_prices()— read all 9 tracked pairsget_stats()— total symbols and updates
- GenLayer Bradbury Testnet (Python Intelligent Contract)
- Binance Public API · Frankfurter/ECB · ExchangeRate API
- Next.js 16 · Vercel