Oracle / Decentralized Oracle
InfrastructureBlockchains are powerful but isolated by design.
Blockchains are powerful but isolated by design. A smart contract running on Ethereum has no built-in ability to look up the current price of Bitcoin, check today’s weather, or verify the outcome of a sports game. By themselves, blockchains can only see and process data that already exists on-chain. An oracle is the bridge that connects a blockchain to the outside world, feeding it real-world data so that smart contracts can react to events that happen off-chain.
In practice, an oracle is a service — or a network of services — that fetches external data, formats it, and submits it to a blockchain in a trustworthy way. This might be price feeds for DeFi protocols that need to know the current exchange rate between two assets, flight delay information for insurance contracts, or the result of an election for a prediction market. A decentralized oracle, most famously Chainlink, aggregates data from many independent sources, uses economic incentives to punish bad actors who submit incorrect data, and delivers a trustworthy result that no single party controls. The quality and reliability of the oracle is just as important as the security of the smart contract itself.
Example: Think of a smart contract like a vending machine with special rules — it will only dispense the item if certain conditions are met. But the machine has no windows and cannot see the outside world. An oracle is like a trusted messenger who knocks on the machine and says, “Hey, the condition has been met — here is the proof.” A decentralized oracle is like having fifty independent messengers all report the same fact before the machine accepts it as truth.