The paperExchangeCrypto WikiWikiAcademycrypto.notitiaplatform.com
Sign in
● LIVE
CAC 408 080,7▼ 0.81%S&P 5007 175,8▼ 2.02%EURO STOXX6 113,9▼ 0.66%BTC/USD61 985▼ 1.11%ETH/USD1 753,8▼ 1.18%EUR/USD1.10▼ 0.05%BRENT89.92▲ 0.54%GOLD3 577▼ 2.94%OAT 10Y5.05%▼ 0.28%VIX28.44▲ 15.80%CAC 408 080,7▼ 0.81%S&P 5007 175,8▼ 2.02%EURO STOXX6 113,9▼ 0.66%BTC/USD61 985▼ 1.11%ETH/USD1 753,8▼ 1.18%EUR/USD1.10▼ 0.05%BRENT89.92▲ 0.54%GOLD3 577▼ 2.94%OAT 10Y5.05%▼ 0.28%VIX28.44▲ 15.80%
 
Europe edition
NotitiaCrypto Wiki
Back
Advanced

Oracles

Bridging chains to real-world data.

A blockchain cannot, on its own, know a market price or a sports result. Oracles (like Chainlink) feed such external data to smart contracts in a decentralised, verifiable way.

They are essential to DeFi (asset prices, liquidations) but are a sensitive point: a corrupted feed can be exploited - ‘oracle risk’.

Key takeaways
  • External data → contracts
  • Critical for DeFi
  • Oracle risk
Seven price sources: the median ignores the manipulated one
2,400 $2,600 $2,800 $3,000 $median $3,000average 2,915 $
Worked example

A manipulated price source

Seven sources report the ETH price. One is manipulated and reports $2,400.

Assumption · 3,001 · 2,999 · 3,002 · 3,000 · 2,998 · 3,003 · 2,400
  1. 01Simple average$2,914.71
  2. 02Median$3,000
  3. 03Gap between average and true price2.84 %
The professional’s reflex

The median ignores the outlier, the average does not: a 2.8% artificial drop is enough to liquidate positions. A pro checks how the oracle aggregates and how many sources would need corrupting.

To watchSelected by the newsroom · loads only when you press play
The oracle problem
Chainlink · in English
Oracles, animated
Whiteboard Crypto · in English

Questions and answers

Why are oracles a target?

If an attacker distorts the price they report, they can over-borrow or trigger liquidations for profit.

How does an oracle protect itself?

By aggregating many sources and many independent nodes, and smoothing prices over time.

Go further in the Wiki
Smart contractDeFi (decentralised finance)
✦ Learn by doing

Test your understanding with a quick interactive quiz.

Go further on the technical side · partnerQuantPadTo go from theory to code: auto-graded exercises in Python, SQL and quantitative finance, backtests and mock interviews for quant, data and M&A roles.Train on QuantPad · quantpad.app ↗For your career · partnerKairosKairos finds the roles that fit you every day, scores your CV against each out of 100 and prepares your application.Find my role on Kairos · trykairos.eu ↗
Related concepts
What is a blockchain?BasicsDecentralisationBasicsConsensus: PoW vs PoSIntermediateKeys & walletsBasics