Time to read: 1 min
Integrate a Chainlink-Style Price Feed (Mock) on Rootstock (Testnet)
By the end of this tutorial, you will have:
- A
PriceConsumercontract that reads from anAggregatorV3Interface - A local test setup using a mock price feed (no real oracle dependency)
- A deployment flow you can run on Rootstock testnet
Prerequisites
Prerequisites: Follow the Shared Setup Guide before starting.
For background concepts and security review, see Rootstock DeFi 101.
precaución
This guide uses a mock Chainlink price feed for educational purposes only. Chainlink Price Feeds and VRF are not officially supported on Rootstock mainnet at this time – only CCIP is confirmed. Do not deploy price feed or VRF consumers on mainnet without checking official Chainlink documentation.