Oracle
An oracle is a service that passes information from outside a blockchain to smart contracts on it. This lets smart contracts respond to current data, such as a crypto price or the weather.
What is an oracle?
A blockchain is a digital ledger that stores data. It can’t access websites, price sources, or weather reports on its own. An oracle connects it to the outside world.
An oracle collects data, checks it, and sends it to a smart contract. A smart contract is a program on the blockchain that automatically carries out an agreed action. So, the oracle isn’t the source of the information itself.
An example of an oracle
Imagine a smart contract that needs to pay out money automatically after a storm. The contract can’t check for itself whether there was a storm.
An oracle collects data from weather sources and checks it. Only then does the oracle pass along the result. The smart contract can then automatically carry out the agreed action.
Why are oracles important in crypto?
Oracles make applications that need current information possible. For example, a DeFi platform, a service for financial applications on the blockchain, can use price data for loans backed by crypto.
In crypto news, oracles may come up in connection with new applications, price feeds, or data problems. A price feed is a continuous stream of price information. If that information is wrong or manipulated, a smart contract could also take the wrong action.
That’s why reliable data checks matter. Multiple sources or multiple oracles can help reduce errors, but there’s no such thing as complete certainty.