Build / Building DApps
Oracles
Oracles bridge the gap between onchain and offchain worlds. They bring external data like prices, randomness, and real-world events directly into your smart contracts.
In this section, you’ll explore:
- How to integrate DIA price feeds on Somnia
- How to implement Protofire Price Feeds
- How to implement Verifiable Randomness (VRF) via Protofire + Chainlink
- Use cases for oracles in DeFi, gaming, prediction markets, and more
If your dApp depends on real-world data, randomness, or secure external inputs — this is where to start.
Copied from docs.somnia.network (somnia-main-docs) by scripts/import-gitbook.mts, until it finds a home in a product's docs.Edit this page