Oracles
Oracles act as a bridge between the Filecoin network and external data sources. Secure oracles allow smart contracts on the FVM to access and use external data sources.
In the Filecoin network, on-chain data and the state of smart contracts are isolated from external data sources. They cannot access real-world information without breaking the deterministic attributes of the network. Since smart contracts cannot access information outside the Filecoin network, oracles are used as trusted entities to provide external data to the network.
Oracles are an essential component of many blockchain applications, as they enable the blockchain to interact with the real world and provide more functionality to blockchain-based systems. Oracles can retrieve data from external sources, verify the data, and submit it to the blockchain for use by smart contracts and decentralized applications (dapps).
Oracles enable builders to integrate the following features into their projects:
Price feeds: DeFi protocols like cross-chain lending rely on oracles for various token or token pair prices.
Cross-chain storage deal verification: enable applications running on any blockchains to use the Filecoin decentralized storage and allow them to verify deal status and proofs.
Perpetual storage: enable automated deal renewal and repair with the oracle providing deal status off-chain.
Available oracles
There are several oracle-protocols built upon the FVM. Builders can integrate these oracles into their applications today.
Pyth data is sourced directly from financial institutions across both traditional finance and the cryptocurrency industry.
Pyth publishes both the price feed and a confidence interval for each product. Learn more about Pyth confidence intervals.
Pyth smart contracts
Pyth’s smart contracts are live on the Filecoin Mainnet and Calibration testnet.
Name | Address | Mainnet | Calibration |
---|---|---|---|
| ✔️ | ||
| ✔️ |
Pyth x Filecoin Price Feed IDs
Price Feed IDs for FIL are also available on various chains. These can be found at Pyth - Price Feed IDs and search for 'FIL'.
Further Pyth resources
Tellor is an optimistic oracle. Builders should not accept instant price quotes and should wait a few minutes before locking in details.
Tellor supports a price feed oracle and a data oracle for the Filecoin network. The data oracle can provide Filecoin-specific data, such as the reputation of storage providers, which helps lending protocols determine interest rates for SPs.
Tellor smart contracts
Tellor’s smart contracts are live on the Filecoin Mainnet and Calibration testnet.
Name | Address | Mainnet | Calibration |
---|---|---|---|
Bridged TRB |
| ✔️ | |
Playground/TRB |
| ✔️ | |
Oracle |
| ✔️ | ✔️ |
Governance |
| ✔️ | ✔️ |
Autopay |
| ✔️ | ✔️ |
TellorFlex |
| ✔️ | ✔️ |
QueryDataStorage |
| ✔️ | ✔️ |
Multisig |
| ✔️ | ✔️ |
Further Tellor resources
Getting Tellor Data for any use case - FVM Dataverse Hackathon
eOracle extends Ethereum's trust to connect decentralized applications with off-chain data as the largest restaking protocol backed by over $5B of stake ETH through 120,000 stakers and over 110 validators distributed around the globe. eOracle provides reliable and secure on-chain price feeds, as well as custom data feeds.
eOracle Smart Contracts
eOracle's smart contracts are live on the Filecoin Calibration testnet.
Name | Address | Mainnet | Calibration |
---|---|---|---|
EOFeedManager |
| ✔️ | |
EOFeedAdapter - AUD/USD |
| ✔️ | |
EOFeedAdapter - BTC/USD |
| ✔️ | |
EOFeedAdapter - ETH/USD |
| ✔️ | |
EOFeedAdapter - EUR/USD |
| ✔️ | |
EOFeedAdapter - FIL/USD |
| ✔️ | |
EOFeedAdapter - GBP/USD |
| ✔️ | |
EOFeedAdapter - LINK/USD |
| ✔️ | |
EOFeedAdapter - SOL/USD |
| ✔️ | |
EOFeedAdapter - USDT/USD |
| ✔️ | |
EOFeedAdapter - XAU/USD |
| ✔️ | |
EOFeedAdapter - sFRAX/FRAX |
| ✔️ | |
EOFeedAdapter - sfrxETH/frxETH |
| ✔️ | |
EOFeedAdapter - stETH/ETH |
| ✔️ |
Further eOracle resources
Last updated