FAQ
General Questions
What is IXFI Protocol?
IXFI is a cross-chain infrastructure protocol that enables seamless token transfers, DEX aggregation, and gasless transactions across multiple blockchain networks. It uses a 1:1 XFI-backed token system and supports 37+ DEX protocols across 7 chains.
How does IXFI differ from other cross-chain protocols?
Key Differentiators:
β DEX Aggregation: Built-in support for 37+ DEX protocols
β Gasless Transactions: IXFI-based gas credit system
β 1:1 Backing: Fully collateralized by native XFI tokens
β Unified Interface: Single SDK for all supported chains
β MEV Protection: Advanced routing algorithms
Which networks does IXFI support?
Currently Supported:
Ethereum (Chain ID: 1)
BSC (Chain ID: 56)
Polygon (Chain ID: 137)
Avalanche (Chain ID: 43114)
Arbitrum (Chain ID: 42161)
Optimism (Chain ID: 10)
Base (Chain ID: 8453)
Coming Soon:
Solana
Cosmos ecosystem
Additional EVM chains
Is IXFI safe to use?
Security Measures:
β Multiple security audits
β Formal verification for critical functions
β Bug bounty program
β Gradual deployment strategy
β Emergency pause mechanisms
β Decentralized relayer network
Technical Questions
How does the 1:1 XFI backing work?
IXFI tokens are minted when users deposit native XFI on the CrossFi chain and burned when they withdraw. This ensures:
Full Collateralization: Every IXFI token is backed by 1 XFI
Transparency: All reserves are verifiable on-chain
Stability: No inflation or arbitrary token creation
Redemption: Always redeemable for underlying XFI
What DEX protocols are supported?
V2 AMM Protocols (Traditional):
Uniswap V2, SushiSwap V2, PancakeSwap V2, QuickSwap, TraderJoe V1
V3 Concentrated Liquidity:
Uniswap V3, SushiSwap V3, PancakeSwap V3, Algebra
Solidly Forks (ve(3,3)):
Velodrome (Optimism), Aerodrome (Base), Thena (BSC), Ramses (Arbitrum)
Stableswap Protocols:
Curve Finance, Ellipsis Finance, Belt Finance
Specialized DEXes:
Balancer V2, 1inch, DODO, WooFi, Platypus
See Supported DEXes for complete list.
How does cross-chain routing work?
Cross-chain swaps follow this pattern:
Source Chain: Token A β IXFI (using best DEX)
Bridge: IXFI transferred via relayer network
Destination Chain: IXFI β Token B (using best DEX)
How are gas fees handled?
Regular Transactions:
Users pay gas in native tokens (ETH, BNB, MATIC, etc.)
Gas optimization through batch operations
Gasless Transactions:
Users pre-deposit IXFI tokens as gas credits
Relayers pay gas and deduct from credits
Dynamic pricing based on network conditions
What about MEV protection?
Protection Mechanisms:
Private mempool submission through relayers
Sandwich attack detection and prevention
Price impact monitoring and circuit breakers
Optimal routing to minimize extractable value
Usage Questions
How do I get started with IXFI?
Install the SDK:
npm install @ixfi/sdk
Initialize Provider: Connect to your Web3 wallet
Configure Networks: Set up supported chains
Start Trading: Use aggregated swaps
See our Quick Start Guide for detailed steps.
How do I perform a token swap?
Basic Swap (Same Chain):
const quote = await aggregator.getOptimalQuote(tokenIn, tokenOut, amountIn);
const tx = await aggregator.executeSwap({
tokenIn,
tokenOut,
amountIn,
minAmountOut: quote.bestAmount * 0.995, // 0.5% slippage
routerType: quote.bestRouter
});
Cross-Chain Swap:
const tx = await ixfi.crossChainSwap({
sourceChain: 'ethereum',
destinationChain: 'bsc',
tokenIn: USDC_ADDRESS,
tokenOut: BNB_ADDRESS,
amountIn: ethers.utils.parseUnits('100', 6),
slippage: 50 // 0.5%
});
How do I enable gasless transactions?
Deposit Gas Credits:
await ixfi.depositGasCredits(ethers.utils.parseEther('10')); // 10 IXFI
Check Balance:
const balance = await ixfi.getGasCredits();
console.log(`Credits: $${balance.balance}`);
Execute Gasless Transaction:
await ixfi.executeGaslessTransaction({
to: contractAddress,
data: encodedFunctionCall,
value: '0'
});
How long do cross-chain operations take?
Typical Times:
Ethereum β BSC: 2-3 minutes
Ethereum β Polygon: 3-5 minutes
BSC β Polygon: 2-4 minutes
L2 networks: 1-2 minutes
Factors Affecting Speed:
Network congestion
Number of block confirmations required
Relayer response time
Destination chain gas prices
What are the fees?
Cross-Chain Operations:
Bridge fee: 0.1% of transferred amount
Relayer fee: Dynamic based on gas costs
Protocol fee: 0.05% to treasury
DEX Aggregation:
Routing fee: 0.05% on optimal path
Gas savings typically offset fees
No fee for quote comparisons
Meta-Transactions:
Gas cost + 10% relayer premium
Paid in IXFI tokens
Dynamic pricing based on congestion
Troubleshooting
My transaction failed. What happened?
Common Causes:
Slippage Exceeded: Price moved unfavorably
Expired Deadline: Transaction took too long
Insufficient Balance: Not enough tokens/gas
Network Congestion: High gas prices
Router Issues: DEX protocol temporarily unavailable
Solutions:
Increase slippage tolerance
Use longer deadlines
Check token balances
Retry during lower congestion
Try different DEX protocols
Why is my cross-chain swap taking so long?
Potential Issues:
Network congestion on source/destination chains
Relayer temporarily offline
Insufficient confirmations
High gas prices causing delays
Check Status:
const status = await ixfi.getCrossChainStatus(txHash);
console.log(`Status: ${status.stage}`); // 'pending', 'bridging', 'completing', 'completed'
Gasless transactions aren't working?
Checklist:
β Sufficient gas credits deposited
β Valid signature format (EIP-712)
β Relayer service operational
β Transaction within gas limits
β Correct nonce usage
I'm getting "Router call failed" errors?
Debugging Steps:
Verify token approvals
Check router contract addresses
Validate swap parameters
Test with smaller amounts
Try alternative router types
Development Questions
How do I integrate IXFI into my DApp?
Frontend Integration:
import { IXFIProvider, CrossChainAggregator } from '@ixfi/sdk';
const ixfi = new IXFIProvider({
network: 'mainnet',
provider: window.ethereum
});
Smart Contract Integration:
import "./IXFIExecutable.sol";
contract MyDApp is IXFIExecutable {
constructor(address gateway) IXFIExecutable(gateway) {}
function _execute(string calldata sourceChain, string calldata sourceAddress, bytes calldata payload) internal override {
// Handle cross-chain messages
}
}
Are there testnet deployments?
Testnet Addresses:
Sepolia:
0x...
BSC Testnet:
0x...
Mumbai (Polygon):
0x...
Fuji (Avalanche):
0x...
See Configuration Guide for complete addresses.
How do I run local tests?
# Clone repository
git clone https://github.com/DINetworks/IXFI-Contracts.git
# Install dependencies
npm install
# Run tests
npx hardhat test
# Run with forking
FORKING=true npx hardhat test
Can I add support for new DEX protocols?
Yes! IXFI is designed to be extensible:
Implement Quote Function in QuoteLibrary
Add Router Configuration in deployment scripts
Test Integration thoroughly
Submit Pull Request with documentation
See Contributing Guide for details.
Economics & Governance
How is IXFI governed?
Current Phase: Foundation governance with community input Future Phase: Token-based DAO governance
Governance Scope:
Protocol parameter updates
New chain integrations
Emergency responses
Treasury management
What's the business model?
Revenue Sources:
Cross-chain bridge fees (0.1%)
DEX aggregation fees (0.05%)
Meta-transaction premiums (10%)
Protocol-owned liquidity returns
Value Accrual:
Fee sharing with token holders (future)
Treasury diversification
Ecosystem development funding
Is there a token distribution/airdrop?
IXFI tokens are only created through XFI deposits - there is no pre-mining, ICO, or traditional token distribution. Tokens are earned by:
Providing liquidity to XFI/IXFI pools
Participating in governance (future)
Using the protocol (potential rewards)
Contributing to development
Getting Help
Where can I get support?
Community:
π¬ Discord - Real-time chat
π¦ Twitter - Updates and announcements
π Documentation - Comprehensive guides
Technical:
π GitHub Issues - Bug reports
π§ Email Support - Direct assistance
π» Developer Portal - Technical resources
How do I report bugs or suggest features?
Check Existing Issues on GitHub
Use Templates for bug reports or feature requests
Provide Details: Network, transaction hashes, error messages
Include Screenshots if relevant
Can I contribute to the project?
Absolutely! We welcome contributions:
Code: Smart contracts, SDK improvements, bug fixes
Documentation: Guides, examples, translations
Testing: QA, security reviews, integration testing
Community: Support, content creation, evangelism
See Contributing Guide for how to get started.
Don't see your question? Join our Discord or create an issue on GitHub!
Last updated