Oracles
Oracles are data feeds that enable smart contracts on the blockchain to access off-chain data sources. This functionality is crucial, as Ethereum-based smart contracts are inherently unable to access information stored outside the blockchain network by default. For further information, you can explore Ethereum's Oracle documentation.
There are already oracle services available on Conflux eSpace.
Pyth
Pyth is a renowned oracle service in the industry, offering Smarter Data for Smarter Contracts. It ensures the security of your smart contracts by providing reliable, low-latency market data sourced from institutional-grade providers. Developers can build applications utilizing high-fidelity oracle feeds, specifically designed for mission-critical systems.
Pyth is already integrated in Conflux eSpace, you can use it directly. Check it's documentation for how to use it in your smart contracts.
Wit/Oracle
The Wit/Oracle is a public, permissionless, and fully decentralized Proof-of-Stake blockchain that is powered by its own cryptocurrency, the $WIT coin.
By means of the Wit/Oracle Bridging Framework (a set of verified and counter-factual smart contracts deployed by the Witnet Foundation), all data that is publicly accessible on the Internet using HTTP/GET, HTTP/POST or even HTTP/HEAD requests, can be attested, aggregated and brought right into your smart contracts, truthful to the data sources being referred.
The most versatile, seamless and trustworthy oracle solution for your smart contracts:
- Versatile
- Access to data of any type, not just price feeds.
- Build your own custom and parameterized data feeds.
- Rely on any combination of public sources and APIs on the Internet.
- Fetch fully unpredictable and unbiased randomness.
- Link contracts across multiple chains via CCDRs (i.e. Cross Chain Data Requests).
- Seamless
- Pull data updates straight from your smart contracts.
- Pay queries to the Wit/Oracle in plain $CFX currency.
- No need to pre-fund your contracts with third-party ERC-20 tokens.
- No need to undergo off-chain subscriptions, nor KYC workflows.
- No need to run your own nodes, nor any other sort of infrastructure.
- Trustworthy
- Improve data reliability by relying on multiple data sources.
- Settle the size of witnessing committees depending on your security concerns.
- Witnessing committee members get randomnly selected upon every data update.
- Formally verify data sources, off-chain computations and sampling timestamps.
You can check start building now for the introduction of the Witnet solidity package and contracts framework as well as the tutorial of how to build and pull your own custom data feeds. .
FAQs
Does chainlink support Conflux?
Currently Chainlink is not integrated in Conflux eSpace, we are working on it.