What is an oracle network?
- Author
- CRYPTO PORT Editorial
- Published
- Updated
- Reading time
- 5 min
In short
An oracle network has several independent reporters gather off-chain data, reconcile it, and only then write it on-chain. Relying on a single reporter means one lie breaks everything downstream. Distributing the reporters helps, but if they all read the same upstream source they can still be wrong together.
Key points
- Many reporters' values are aggregated into one
- The aim is to remove dependence on a single source
- Shared upstream sources can still fail together
- Update frequency and deviation thresholds are specified
Definition
A system in which many nodes independently fetch off-chain information such as prices or weather, aggregate their reports, and record the result where contracts can read it — a decentralized form of a single oracle.
A smart contract cannot see outside its chain. Valuing collateral or settling a position needs an external price, so somebody has to write it in. Delegate that to one party and a single bad value breaks every contract that reads it.
An oracle network splits the job among many nodes. Each fetches a value independently, reports it, and the reports are reduced to one figure — often a median — before being recorded. Most designs penalise false reports by seizing a stake; Chainlink is a well-known example of this approach.
How updates are triggered matters too. Typically a feed refreshes after a set interval or once the value moves beyond a threshold, and until then the previous figure stands. That is why a liquidation during a sharp move can execute against a price from minutes earlier.
Watch out for
- · Distributed nodes still fail together if they all read the same exchange
- · Between updates the stale value stands, which affects liquidations in fast markets
- · Thin markets can be pushed with small trades, and that pushed price gets written in