Oracles
Learn how to use oracle smart contracts to access external data sources when building an FVM dApp.
Obtain Price Feeds with the Tellor Oracle
Tellor is an Oracle solution that enables price and Filecoin network data feeds for FVM dApps. To see important disclaimers about the use of Tellor, please review the Tellor Documentation, the Tellor Contract Reference, and this tutorial.
Ingredients
UsingTellor package
Instructions
Inherit the UsingTellor contract in your code. An example, pulled from the sample project for UsingTellor, is shown just below.
Pass the Tellor address as a constructor argument.
Oracle contract address (on both Calibration Testnet and Mainnet): 0xb2CB696fE5244fB9004877e58dcB680cB86Ba444
To see additional addresses for Tellor Oracles, please see this doc.
Last updated