Developer guide / Building DApps
Using 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:
- Somnia Price Feeds: spot and mark prices written onchain about once a second, free to read.
- Requesting verifiable randomness from Somnia VRF
- 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.