What Is Oracles
In This article We are going to talk about What is Oracles In Blockchain, Oracles are entities that connect blockchains to external systems. Based on the real-world input/output, oracles enable smart contract execution. Oracles provide a way for the Web3 ecosystem to access: existing data sources, legacy systems, advanced computations
Decentralized oracle networks (DONs)
They enable the creation of hybrid smart contracts. On-chain code and off-chain infrastructure are combined to support DApps that react to real-world events and interoperate with traditional systems.
Smart contract problem
Smart contracts have a problem: They can't inherently interact with data/ systems outside their native blockchain environment. Data stored on the blockchain is considered on-chain, and everything else is considered off-chain.
An Oracle is a bridge
Blockchains are isolated from external systems, and this is good. They have:
- strong consensus on transactions' validity.
- prevention of double-spending attacks.
- mitigation of network downtime.
But they need an Oracle to operate with off-chain systems.
Oracles + Smart Contracts
Industries benefit from combining: Oracles + Smart Contracts.
Oracles offer a gateway to off-chain resources but still uphold valuable security properties of blockchains. Oracles expand the types of digital agreements that blockchains can support.
The Critical Point
So now we are at a critical point: the data delivered by oracles to blockchains directly determines the outcomes of smart contracts. So it's critically important that the oracle mechanism is correct if the agreement is to execute exactly as expected.
Decentralized Oracles
The only way to prevent (again) a centralized point of failure and establish a real end-to-end decentralization, is using Decentralized Oracle Networks that combine: oracle node operators + reliable data sources.
Oracles types
- Input Oracles: fetch data from the real world to the blockchain.
- Output Oracles: send commands from Smart Contracts to real-world.
- Cross-Chain Oracles: read/write info between different blockchains.
- Compute-Enabled Oracles: provide decentralized services.
Oracle Reputation
Reputation in blockchain oracle systems gives users the ability to monitor/filter between oracles based on different parameters.
The oracles sign and deliver their data onto a public blockchain ledger, so the performance history can be analyzed/presented. Reputation in blockchain oracle systems gives users the ability to monitor/filter between oracles based on different parameters.
The oracles sign and deliver their data onto a public blockchain ledger, so the performance history can be analyzed/presented.
Reputation frameworks
They provide transparency for the accuracy/reliability of each oracle network and single node operator.
Users can then decide on their oracles. Oracle service providers can leverage their reputation to provide users more guarantees of their reliability.
Examples:
Oracles examples:
- Chainlink
- Universal Market Access (UMA)
- WINklink (WIN)
- Band Protocol (Band)
- iExec Cloud Platform (RLC)
Conclusion
The internet has produced a significant change in the way information is exchanged. Oracle-based hybrid smart contracts are redefining the way the company exchanges value/enforces contractual arrangements, extending the blockchain's capabilities. src: Chainlink docs