Answers to the questions developers and protocol teams ask most often. If your question is not covered here, reach out via any support channel.Documentation Index
Fetch the complete documentation index at: https://docs.ifalabs.com/llms.txt
Use this file to discover all available pages before exploring further.
General
What is IFÁ Labs?
What is IFÁ Labs?
How is IFÁ Labs different from Chainlink or Pyth?
How is IFÁ Labs different from Chainlink or Pyth?
- Local stablecoin coverage. cNGN, ZARP, and BRZ have no reliable dedicated feeds on Chainlink or Pyth. IFÁ Labs is currently the only oracle providing trustless on-chain pricing for these assets.
- Aggregation logic tuned for stablecoins. General-purpose deviation thresholds are calibrated for volatile assets. IFÁ Labs uses tight, peg-aware thresholds that catch meaningful stablecoin moves without noise.
- Regional data sources. Accurate pricing for emerging market stablecoins requires data from local exchanges and forex providers. IFÁ Labs integrates these directly.
- Fully on-chain reads. Price reads require no transaction, no gas, and no off-chain request — a single
viewcall returns the current price.
Is IFÁ Labs fully on-chain?
Is IFÁ Labs fully on-chain?
view functions. There is no off-chain API, no middleware, and no centralized component in the read path.Price reads cost no gas when called externally. Any address can read any feed at any time without permission, API keys, or fees.Which chains does IFÁ Labs support?
Which chains does IFÁ Labs support?
- Base Mainnet — primary production deployment
- Base Sepolia — recommended testnet
- AssetChain Testnet — RWA-focused ecosystem
Which stablecoins does IFÁ Labs support?
Which stablecoins does IFÁ Labs support?
| Asset | Symbol | Category |
|---|---|---|
| Tether | USDT/USD | Global |
| USD Coin | USDC/USD | Global |
| Nigerian Naira Stablecoin | CNGN/USD | Emerging Market |
| South African Rand Stablecoin | ZARP/USD | Emerging Market |
| Brazilian Real Stablecoin | BRZ/USD | Emerging Market |
| Ethereum | ETH/USD | Reference Asset |
Is IFÁ Labs free to use?
Is IFÁ Labs free to use?
view calls — they cost no gas and require no subscription, API key, or fee payment.The only cost is standard network gas if you deploy your own contract that consumes IFÁ Labs feeds and writes data to your own contract’s storage.Integration
How do I read a price from IFÁ Labs in Solidity?
How do I read a price from IFÁ Labs in Solidity?
getAssetInfo on the oracle contract with the asset’s bytes32 ID:What are asset IDs and how are they generated?
What are asset IDs and how are they generated?
bytes32 identifiers generated by hashing the asset symbol string with keccak256:"SYMBOL/USD". The same asset ID works on every IFÁ Labs deployment — no remapping between networks.You can independently verify any asset ID by computing the hash yourself and comparing against the published value. See Working with Asset IDs for full details.How do I convert the raw price to a human-readable value?
How do I convert the raw price to a human-readable value?
info.price by 10^(-info.decimal). All current feeds return decimal = -18, so divide by 1e18:decimal dynamically rather than hardcoding 18 — future assets may use different precision. See Decimal Precision & Formatting for full conversion guidance and edge cases.What staleness threshold should I use?
What staleness threshold should I use?
MAX_PRICE_AGE to at least 1.5× the heartbeat interval for each asset:| Asset | Heartbeat | Minimum MAX_PRICE_AGE |
|---|---|---|
| USDT/USD | 1 hour | 5,400s (90 min) |
| USDC/USD | 1 hour | 5,400s (90 min) |
| CNGN/USD | 2 hours | 10,800s (3 hrs) |
| ZARP/USD | 2 hours | 10,800s (3 hrs) |
| BRZ/USD | 2 hours | 10,800s (3 hrs) |
| ETH/USD | 1 hour | 5,400s (90 min) |
Can I get prices for multiple assets in one call?
Can I get prices for multiple assets in one call?
getAssetsInfo with an array of asset IDs:getAssetInfo calls. Always use batch reads when you need more than one price in the same transaction. See Gas Optimization Tips.How do I price CNGN against USDT — or any asset against another?
How do I price CNGN against USDT — or any asset against another?
Do I need a wallet or ETH to read prices?
Do I need a wallet or ETH to read prices?
view calls — they require no wallet, no ETH, and no transaction. You can read prices directly from a script, a frontend, or a block explorer with no signing or gas.You only need ETH if you are deploying your own contract to a network where gas costs apply.Can I use IFÁ Labs from JavaScript without writing Solidity?
Can I use IFÁ Labs from JavaScript without writing Solidity?
Security
Have the IFÁ Labs contracts been audited?
Have the IFÁ Labs contracts been audited?
Can IFÁ Labs modify or pause price feeds?
Can IFÁ Labs modify or pause price feeds?
What happens if a relayer submits a wrong price?
What happens if a relayer submits a wrong price?
- Prices are aggregated from multiple independent sources before submission — no single source determines the output
- Outlier detection filters anomalous data points before consensus calculation
- A weighted median algorithm makes the final price resistant to minority manipulation
- Zero-price and peg bounds validation reject obviously wrong values before on-chain submission
- Decentralized relayers independently verify the aggregated price before signing
How do I verify IFÁ Labs prices independently?
How do I verify IFÁ Labs prices independently?
- Read the current on-chain price and compare against external market sources
- Independently compute any asset ID using
keccak256and verify it matches the published value - Query historical
PriceUpdatedevents and verify update cadence and price progression - Compare prices across chains to verify cross-chain consistency
- Clone the audited commit and compare compiled bytecode against the deployed contract
How do I report a security vulnerability?
How do I report a security vulnerability?
MCP Server
What is the IFÁ Labs MCP Server?
What is the IFÁ Labs MCP Server?
How do I install the MCP server?
How do I install the MCP server?
Which MCP clients does IFÁ Labs support?
Which MCP clients does IFÁ Labs support?
- Claude Desktop
- Cursor
- Windsurf
- TRAE
- Zed
- Continue
- LangChain, CrewAI, AutoGen (programmatic)
Does the MCP server cost anything to use?
Does the MCP server cost anything to use?
Assets and Feeds
How do I request a new stablecoin feed?
How do I request a new stablecoin feed?
- Token contract address on all relevant chains
- Backing mechanism and reserve proof or documentation
- Current daily trading volume across all venues
- The protocol or use case driving the request
Why is my price feed showing as stale?
Why is my price feed showing as stale?
MAX_PRICE_AGE threshold is tighter than the asset’s natural update cadence.During stable market conditions, IFÁ Labs feeds update only when the price moves beyond the deviation threshold — not continuously. A feed that appears stale by your threshold may be accurate and working correctly.Set MAX_PRICE_AGE to at least 1.5× the heartbeat interval for the asset. Then run the cadence analysis script in Price Appears Stale to calibrate from real on-chain data.If the feed age significantly exceeds the heartbeat interval across all assets simultaneously, a relayer issue may be affecting the deployment. Check the Telegram for incident announcements.Are asset IDs the same across all networks?
Are asset IDs the same across all networks?
keccak256 — a deterministic computation that produces the same output regardless of which chain you are on. The bytes32 identifier for USDT/USD on Base Mainnet is identical on Base Sepolia and AssetChain Testnet.The only thing that changes between networks is the oracle contract address. See Contract Addresses for the address per network.What is ETH/USD doing in a stablecoin oracle?
What is ETH/USD doing in a stablecoin oracle?
Community and Contribution
How do I stay updated on new deployments and assets?
How do I stay updated on new deployments and assets?
- X: @ifalabs — deployment announcements, new assets, ecosystem news
- Telegram: t.me/ifalabs — real-time updates and incident announcements
- GitHub: Watch the repository — contract changes and releases
Can I contribute to IFÁ Labs?
Can I contribute to IFÁ Labs?
Is there a bug bounty program?
Is there a bug bounty program?

