Filecoin Docs
BasicsStorage providersNodesNetworksSmart contractsReference
  • Welcome to Filecoin Docs
  • Basics
    • What is Filecoin
      • Crypto-economics
      • Blockchain
      • Storage model
      • Storage market
      • Retrieval market
      • Programming on Filecoin
      • Networks
    • The blockchain
      • Actors
      • Addresses
      • Blocks and tipsets
      • Consensus
      • Drand
      • Proofs
    • Assets
      • The FIL token
      • Wallets
      • Metamask setup
      • Get FIL
      • Transfer FIL
    • Interplanetary consensus
    • How storage works
      • Filecoin plus
      • Storage onramps
      • Filecoin and IPFS
    • How retrieval works
      • Basic retrieval
      • Serving retrievals
      • Saturn
    • Project and community
      • Forums and FIPs
      • Filecoin compared to
      • Filecoin FAQs
      • Related projects
      • Social media
      • The Filecoin project
      • Ways to contribute
  • Storage providers
    • Basics
      • Quickstart guide
    • Filecoin economics
      • Storage proving
      • FIL collateral
      • Block rewards
      • Slashing
      • Committed capacity
    • Filecoin deals
      • Storage deals
      • Verified deals
      • Filecoin programs and tools
      • Snap deals
      • Charging for data
      • Auxiliary services
      • Return-on-investment
    • Architecture
      • Software components
      • Storage provider automation
      • Sealing pipeline
      • Sealing rate
      • Sealing-as-a-service
      • Network indexer
    • Infrastructure
      • Storage
      • Network
      • Backup and disaster recovery
      • Reference architectures
    • Skills
      • Linux
      • Network
      • Security
      • Storage
      • Sales
      • Industry
    • PDP
      • Prerequisites
      • Install & Run Lotus
      • Install & Run YugabyteDB
      • Install & Run Curio
      • Enable PDP
      • Use PDP
  • Nodes
    • Implementations
      • Lotus
      • Venus
    • Full-nodes
      • Pre-requisites
      • Basic setup
      • Node providers
    • Lite-nodes
      • Spin up a lite-node
  • Smart contracts
    • Fundamentals
      • The Filecoin Virtual Machine
      • Filecoin EVM runtime
      • ERC-20 quickstart
      • Roadmap
      • Support
      • FAQs
    • Filecoin EVM-runtime
      • Actor types
      • Address types
      • FILForwarder
      • Difference with Ethereum
      • How gas works
      • Precompiles
    • Programmatic storage
      • Aggregated deal-making
      • Direct deal-making
      • Cross-Chain Data Bridge(CCDB)
      • Data replication, renewal and repair (RaaS)
      • RaaS interfaces
    • Developing contracts
      • Get test tokens
      • Remix
      • Hardhat
      • Foundry
      • Solidity libraries
      • Call built-in actors
      • Filecoin.sol
      • Direct deal-making with Client contract
      • Using RaaS
      • Verify a contract
      • Best practices
    • Advanced
      • Wrapped FIL
      • Oracles
      • Multicall
      • Multisig
      • FEVM Indexers
      • Cross-chain bridges
      • Aggregated deal-making
      • Contract automation
      • Relay
  • Networks
    • Mainnet
      • Explorers
      • RPCs
      • Network performance
    • Calibration
      • Explorers
      • RPCs
    • Local testnet
      • Get test tokens
    • Deprecated networks
  • Reference
    • General
      • Glossary
      • Specifications
      • Tools
    • Exchanges
      • Exchange integration
    • Built-in actors
      • Protocol API
      • Filecoin.sol
    • JSON-RPC
      • Auth
      • Chain
      • Client
      • Create
      • Eth
      • Gas
      • I
      • Log
      • Market
      • Miner
      • Mpool
      • Msig
      • Net
      • Node
      • Paych
      • Raft
      • Start
      • State
      • Sync
      • Wallet
      • Web3
  • Builder Cookbook
    • Overview
    • Table of Contents
    • Data Storage
      • Store Data
      • Retrieve Data
      • Privacy & Access Control
    • dApps
      • Chain-Data Query
      • Oracles
      • Cross-Chain Bridges
      • Decentralized Database
Powered by GitBook
LogoLogo

Basics

  • Overview
  • Crypto-economics
  • Storage model
  • Reference

Developers

  • The FVM
  • EVM-runtime
  • Quickstart
  • Transfer FIL

Contact

  • GitHub
  • Slack
  • Twitter
On this page
  • Available oracles
  • Pyth
  • Tellor
  • eOracle

Was this helpful?

Edit on GitHub
Export as PDF
  1. Smart contracts
  2. Advanced

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.

PreviousWrapped FILNextMulticall

Last updated 4 months ago

Was this helpful?

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 smart contracts

Pyth’s smart contracts are live on the Filecoin Mainnet and Calibration testnet.

Name
Address
Mainnet
Calibration

0xA2aa501b19aff244D90cc15a4Cf739D2725B5729

✔️

0xA2aa501b19aff244D90cc15a4Cf739D2725B5729

✔️

Pyth x Filecoin Price Feed IDs

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

0x045CE60839d108B43dF9e703d4b25402a6a28a0d

✔️

Playground/TRB

0x15e6Cc0D69A162151Cadfba035aa10b82b12b970

✔️

Oracle

0xb2CB696fE5244fB9004877e58dcB680cB86Ba444

✔️

✔️

Governance

0xb55bB55f7D8b4F26Bd18198088C96488D95cab39

✔️

✔️

Autopay

0x60cBf3991F05a0671250e673Aa166e9D1A0C662E

✔️

✔️

TellorFlex

0xb2CB696fE5244fB9004877e58dcB680cB86Ba444

✔️

✔️

QueryDataStorage

0xf44166ca8bdB612268a4D401e4c5147968E5a190

✔️

✔️

Multisig

0x34Fae97547E990ef0E05e05286c51E4645bf1A85

✔️

✔️

Further Tellor resources

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

0x4BCafd5f3fB32221BaEAF6B986d1449772885D1E

✔️

EOFeedAdapter - AUD/USD

0x6243357B9241Fe9C3BAfbA79DeD3300a855113FA

✔️

EOFeedAdapter - BTC/USD

0x705256d9B37950628F97A1a8De7Ab557345a0A80

✔️

EOFeedAdapter - ETH/USD

0x2bada837140A310f4A1d9D0e7fab114da6b87031

✔️

EOFeedAdapter - EUR/USD

0x7C01e105B9c3772Bc72ef55F450b9B96f81EDE82

✔️

EOFeedAdapter - FIL/USD

0x335C47CF754cf7f5d6DF78EF9fAb065aa5988D89

✔️

EOFeedAdapter - GBP/USD

0x2Af9bb239936aC3e5a35CC804CD09a8CF3B589e7

✔️

EOFeedAdapter - LINK/USD

0x7E8326Fd75aCa5A7dF43E999A1119c392EDFC93a

✔️

EOFeedAdapter - SOL/USD

0x7E3e2953d69890f6B7E5831144986113E9199593

✔️

EOFeedAdapter - USDT/USD

0x30f43F80279b7BB1b9206896DB90Aabf69494c16

✔️

EOFeedAdapter - XAU/USD

0x8609B3087D473cD2B6bc7674dD54FF13c909027f

✔️

EOFeedAdapter - sFRAX/FRAX

0xd56f6CC400f3bFC77faeC4bBb1e0400c6A26A925

✔️

EOFeedAdapter - sfrxETH/frxETH

0x626A1Cb309289Eb542710D6093C6341562769983

✔️

EOFeedAdapter - stETH/ETH

0x0834Bb4baf2758a3642636C89D18F97ED6672D1C

✔️

Further eOracle resources

Price Feed IDs for FIL are also available on various chains. These can be found at and search for 'FIL'.

- FVM Dataverse Hackathon

Pyth
Pyth confidence intervals
Pyth - Price Feed IDs
Pyth docs
Pyth - Best Practices
Pyth Benchmarks - historical price feeds
Tellor
Tellor docs
Filecoin Storage Insurance Contract
Getting Tellor Data for any use case
eOracle
eOracle docs
eOracle GitHub
eOracle Price Feed Integration Guide
Was this page helpful?
Pyth - Mainnet
Pyth - Calibration