Install the Interface Package
The official IFÁ Labs interface package gives you the completeIIfaPriceFeed Solidity interface, all struct and event definitions, and the latest ABI — fully typed and ready to import.
- npm
- yarn
- Foundry
Contract Addresses
Use the address that matches your target network. All deployments expose an identical interface — no code changes required when moving between networks.Configure Your Contract
Declare the oracle as an immutable constant. This is the most gas-efficient pattern and prevents the address from being changed after deployment.Interface Overview
Here’s what theIIfaPriceFeed interface exposes:
view — read-only, no gas cost when called externally, and safe to call from any context without side effects.
Environment-Based Address Management
If you’re working across multiple networks, manage addresses cleanly rather than manually swapping constants:- Hardhat
- Foundry
Checklist Before Moving On
Before proceeding to reading prices, confirm the following:1
Interface installed
ifapricefeed-interface is in your package.json dependencies or Foundry libs.2
Correct network address
You’re using the right contract address for your target network — mainnet or testnet.
3
Asset IDs declared as constants
All asset IDs you need are declared as
bytes32 constant in your contract.4
Import confirmed
import "ifapricefeed-interface/IIfaPriceFeed.sol" resolves without errors in your compiler.Next Steps
Read Latest Price
Start reading live stablecoin prices from your contract.
Contract Addresses
Full reference for all deployed addresses across every supported network.

