Get the weekly summary of crypto market analysis, news, and forecasts! This Week’s Summary The crypto market ends the week at a total market capitalization of $2,17 trillion. Bitcoin continues to trade at around $62,300. Ethereum experiences no changes and stagnates at around $2,400. XRP is down by 2%, Solana by 1%, and Dogecoin by 3%. Almost all altcoins are trading in the red, with very few exceptions. The DeFi sector decreased the total value of protocols (TVL) to around…
What are Oracles and Why Do Smart Contracts Need Them?

“An oracle is a person or agency considered to provide wise and insightful counsel or prophetic predictions or precognition of the future, inspired by the gods” – this is the literal definition of an oracle. When moving to the software world, the word keeps much of what it used to mean, with a few tweaks here and there.
Leaving aside predictions and Godly figures, Oracles are, in a strict software sense, external data feeds used by software engineers and developers to embed applications that collect real-time data. Oracles are entirely based on the needs of the application. An Oracle is usually a third-party service that responds to queries and answers questions. It is, in essence, a data provider.
In common practice, the data provided by Oracles is manually and periodically updated by a third party, which is trusted to provide accurate and fair information. In addition, oracles retrieve and verify external data for all forms of applications and software through methods such as web APIs or market data feeds.
Say Yahoo Finance needs to show the price of Gold at a particular time. Its back-end API is assigned an oracle service, to which it will contact and receive the current price. Big enterprises and data providers like Yahoo Finance, Facebook, Google, etc., cannot depend on just one oracle for propagating information as it might be prone to manipulation. In such cases, a consensus-based oracle is used, which takes in data from numerous sources and projects all means.
Where do Oracles Fit in on the Blockchain?
Blockchain oracles are third-party services that provide smart contracts with external information. They serve as bridges between blockchains and the outside world. Blockchains and smart contracts cannot access off-chain data (data outside of the network). However, it is vital for many contractual agreements to have relevant information from the outside world to execute certain agreements.
This is where blockchain oracles come into play, as they provide a link between off-chain and on-chain data. Oracles are vital within the blockchain ecosystem because they broaden the scope in which smart contracts can operate. Without blockchain oracles, smart contracts would have minimal use as they would only have access to data from within their networks.
Smart Contracts and Their Reliance on Oracles
Ever since the advent of Ethereum, Smart Contracts have been the buzz within the community. Hundreds, if not thousands, of prospective use cases have been developed, some even finding their usefulness in real-world use cases. Among others, IBM, Microsoft, and Ethereum have already successfully developed applications that rely heavily on Smart Contracts.
Smart contracts are just pieces of code that bind two or more parties together in a virtual agreement. The agreement that binds the parties may be simple or have third-party reliance clauses. There may be contracts that need data fed to them to make the necessary decisions. This is where a Blockchain, specifically Smart Contracts, stretches a hand into the outside world. Oracles solve the problem of third-party reliance.
The reliance is justified because Smart Contracts are the first usable and scalable medium on the internet that can execute pre-specified arrangements without the fear of hindrance. One can make a smart contract and have it executed on a blockchain with complete confidence that it will be fulfilled, given the conditions are met, and no party will hinder its outcome.
But, as the saying goes, every cloud has a silver lining. Unfortunately, people often forget that a silver lining has a cloud in return. On paper, smart contracts seem to be the ultimate solution to the immutable agreement problem on the internet. Still, one faces difficulties that could not have been foreseen when developing.
Is Third-Party Reliance Justified on a Blockchain?
Since smart contracts execute decisions based on oracles’ data, they are critical to a healthy blockchain ecosystem. The main challenge with designing oracles is that if the oracle is compromised, the smart contract relying on it is also compromised. This is often referred to as The Oracle Problem.
For Smart Contracts to rightly execute as per the agreement, they have to rely on outside information providers, which in most cases are oracles. For instance, say I get into a bet with my friend that my favorite team will win the world cup, and he says otherwise. So we decide to enforce the same on a smart contract and tag it on a particular blockchain, ensuring the execution.
Since a Smart Contract is not Smart, it has to rely on other entities information to execute itself. Considering the locked amount in a Smart Contract is sufficiently large enough to motivate either party to hinder the outcome, one of us can manipulate the Oracle provider to propagate wrong information, thus profiting without fulfilling the agreement. Oracles, being outside the blockchain, are subject to influence, just like any centralized entity.
Oracles are not part of the leading blockchain consensus. Furthermore, they are, unfortunately, not part of the security mechanisms that public blockchains can provide. As a result, the trust conflict between third-party oracles and the trustless execution of smart contracts remains a primarily unsolved issue.
And thus, the debate arises: what can be done to solve the censorship problem? Is it still legit to call a blockchain immutable and censorship-resistant when something as novel as oracles can be manipulated to change the outcome? What can bridge the gap between the blockchain’s virtual immutability and the apparent problem of information propagating Oracles?
The Concept of Decentralized Oracles, i.e., consensus-based Oracles, is often a possible solution to the infamous Oracle Problem. Projects like Chainlink spearhead this idea by developing tools to distribute trust among oracles. We will look further into the concept in the future.
WMA: Bitcoin price drops after failing to conquer the $10k barrier
On-Chain Metrics Suggest Bitcoin Is About To Drop To $7,000
Written by
More author posts
Publish your own article
Guest post article. Guaranteed publishing with just a few clicks
START PUBLISHING ADVERTISE WITH US