Understanding Oracles
Blockchains are great at storing information. However, they are limited in that they cannot access information outside of the blockchain. For simple payment networks, this may not be an issue. Smart contract platforms are much more than simple payment networks though.
External Information
Smart contracts can be used for many things and are programmed to execute when certain conditions are met (just like a real contract). However, the inability to use external information (outside of the blockchain) quickly becomes an issue.
Take prediction markets as an example. Perhaps there’s a sports bet on a World Series game. In this simple model assume there are just two people making a bet. A smart contract will be created and both parties will send money to it (in the form of cryptocurrency).
The smart contract will then hold the money until the end of the game and send the money to the winner of the bet. However, the smart contract doesn’t know who won, it can’t go to ESPN.com and see which team won the game. This is the problem that oracles solve.
Oracles
Oracles are the source of external information for smart contracts. The oracle gathers the required information and feeds it to the smart contract. For the example above, the oracle would provide the winner of the game to the smart contract. The smart contract would then execute and send the money to the winner.
One issue for oracles is trust. Oracles act as an authority and require trust by those who use them. One proposed solution to this has been to decentralize the oracle. Some projects are attempting this by taking information from many sources and thereby having multiple responses to each piece of information requested. This can be a good way to eliminate reliance on one source but also comes with new challenges, such as having conflicting information.
There’s no easy way to solve the trust problem of oracles, however, oracles will certainly be an important piece in the adoption of smart contract platforms.
Stably is a venture-backed FinTech from Seattle, Washington. We provide regulatory-compliant stablecoin and onramp infrastructure for emerging blockchains, Web3 applications, and financial institutions, enabling their users in 170+ countries/regions to easily buy, sell, or swap digital assets at competitive rates across multiple blockchain networks with stablecoins and fiat payments. Our mission is to power the next billion Web3 users with a superior fiat & stablecoin onramp.
For all inquiries, feel free to contact us.
Follow Stably: Twitter | Linkedin | Facebook | Discord Community
RISK DISCLAIMER: Digital assets involve significant risks, including (but not limited to) market volatility, cybercrime, regulatory changes, and technological challenges. Past performance is not indicative of future results. Digital assets are not insured by any government agency and holding digital assets could result in loss of value, including principal. Please conduct your own thorough research and understand potential risks before purchasing/holding digital assets. Nothing herein shall be considered legal or financial advice. For more information about the risks and considerations when using our services, please view our full disclaimer.