Skip to main content

xApp

CrossFi xAPP is a decentralized application (DApp) in the CrossFi ecosystem, combining core DeFi features on a single, convenient platform. Users can swap tokens, provide liquidity to pools and receive LP tokens, stake them, and earn rewards — all through an intuitive interface.

CrosssFi xAPP icon

CrosssFi xAPP

A multi-purpose DeFi application for the CrossFi ecosystem.

xapp.ms

Advantages​

CrossFi xAPP acts as an omni-DeFi platform, bundling all essential tools for managing crypto assets. This all-in-one approach saves time and eliminates the need to switch between different applications. The high-speed transaction engine of CrossFi Chain ensures near-instant execution, which is especially useful for arbitrage and fast portfolio rebalancing.

Interactive Demo​

Security​

User and fund security is a top priority for CrossFi xAPP. The app doesn't require a separate account: authentication is handled via your own wallet (by signing transactions), so your private keys always remain with you. All transmitted data is encrypted using modern protocols (SSL/TLS), securing your browser's connection to the service.

Wallet Support​

To use xAPP, you need an EVM-compatible wallet. The application is natively compatible with MetaMask, Trust Wallet, and others via WalletConnect. Connecting a wallet unlocks access to all xAPP features and ensures secure transaction execution on behalf of the user. Future updates will expand wallet support, so users can choose their preferred storage for digital assets.

The xAPP interface is divided into several core sections, accessible via the sidebar:

  • Dashboard: The main page showing balances of your tokens and LP tokens, along with your transaction history.
  • Swap: A built-in decentralized exchange for token swaps.
  • LP Tokens: A section for adding liquidity to pools and receiving LP tokens.
  • Staking: A page to stake LP tokens and earn rewards.
  • Rewards: A section to view and claim accumulated rewards.
  • Escrow: Manage the vesting of your escrowed XFI

Complete LP Journey: From Liquidity to Compound Rewards​

This end-to-end scenario demonstrates the full lifecycle of liquidity provision in xApp, showing how to maximize your returns through strategic reinvestment and compounding.

The LP Lifecycle Overview​

5-Step Journey: Add Liquidity → Stake LP → Earn Rewards → Vest esXFI → Reinvest

This cycle creates a powerful compounding effect where your rewards continuously generate more rewards.

Step-by-Step: Complete LP Journey​

1
Add Liquidity & Get LP Tokens
2
Stake LP Tokens
3
Claim WETH & esXFI Rewards
4
Vest esXFI to Unlock Liquid XFI
5
Reinvest & Compound Rewards
Step 1 of 5

Add Liquidity & Get LP Tokens

Location: LP Tokens → Get LP

Action:

  • Choose your pool: lpXFI (XFI/xUSD) for high volume or lpUSD (USDC/xUSD) for stability
  • Prepare equal value (50/50) of both tokens in the pair
  • Approve token spending (one-time per token)
  • Add liquidity and receive LP tokens representing your pool share

Result: You now hold LP tokens and start earning trading fees automatically (1% of all swaps in your pool).

Pro Tip: If you lack the correct ratio, use the Swap section first to balance your holdings.

Location: Staking → Select Pool

Action:

  • Navigate to Staking section and select your LP pool
  • Click Stake and enter amount (or use Max)
  • Confirm transaction in your wallet

Result: Your staked LP tokens begin earning:

  • lpXFI: esXFI + WETH + Bonus Points (BP)
  • lpUSD: XFI + Bonus Points (BP)

Bonus Points Mechanic: Earn ~100 BP per 1 LP token per year, permanently boosting your reward share.

Pro Tip: Never fully unstake unless necessary—BP reset to zero on full withdrawal.

Location: Rewards → Select Pool

Action:

  • Check your accumulated rewards in the Rewards section
  • lpXFI stakers: Claim WETH (from LayerZero bridge fees + trading activity)
  • lpUSD stakers: Claim XFI (received as esXFI initially)
  • Click Claim and approve transaction

Result: Rewards are transferred to your wallet and ready for reinvestment or vesting.

Claiming Strategy:

  • Weekly: Optimal for active compounders maximizing growth
  • Monthly: Balanced approach reducing gas costs
  • As Needed: For liquidity-focused strategies

Location: Escrow → Vesting Tab

Action:

  • Navigate to Escrow section and view your esXFI balance
  • Decide how much to vest (partial or full amount)
  • Click Begin Vesting and confirm transaction
  • esXFI converts to liquid XFI linearly over ~6 months

Important Trade-off: Vested esXFI stops earning additional rewards but provides future liquidity.

Strategic Options:

  • Conservative: Vest all esXFI immediately for guaranteed future liquidity
  • Aggressive: Keep esXFI earning to maximize BP and compound growth
  • Balanced: Vest 30-50% for liquidity while maintaining earning capacity

Claiming Unlocked XFI: Switch to Escrow → Claim XFI tab and withdraw fully vested tokens anytime.

Location: Multiple Sections (Full Cycle)

Compounding Path A - WETH Rewards (lpXFI):

  1. Swap → Convert claimed WETH to XFI + xUSD (50/50 value)
  2. LP Tokens → Add liquidity with converted tokens
  3. Staking → Stake new LP tokens to increase position

Compounding Path B - XFI Rewards (lpUSD or Vested):

  1. Escrow → Claim unlocked XFI from vesting
  2. Swap → Convert to matching pairs (XFI + xUSD or USDC + xUSD)
  3. LP Tokens → Add liquidity to increase LP holdings
  4. Staking → Stake new LP to amplify future rewards

Exponential Effect: Each compounding cycle increases:

  • Your LP token count → higher base rewards
  • Your Bonus Points accumulation → larger reward share
  • Your position weight (LP + BP + ST) → exponentially growing returns

Pro Strategy: Reinvest at least 70-80% of rewards weekly/monthly to maximize compound effect.

Reward Calculation: Understanding Your Share​

Your share of pool rewards is determined by your Position Weight relative to all participants:

Weighti=LPi+BPi+STiWeight_i = LP_i + BP_i + ST_i

Sharei=Weighti∑LP+∑BP+∑STShare_i = \frac{Weight_i}{\sum LP + \sum BP + \sum ST}

Where:

  • LP₍ᵢ₎ = your staked LP tokens
  • BP₍ᵢ₎ = your accumulated Bonus Points (~100 BP per LP per year)
  • ST₍ᵢ₎ = your current esXFI balance (also counts as weight)
Maximize Your Weight

The longer you stay staked and the more you compound, the larger your weight becomes—creating a snowball effect where your rewards accelerate over time! 🚀

Real-World Compounding Example​

Starting Position:

  • 1,000 lpXFI staked
  • Initial Weight: 1,000

After 1 Month:

  • Earned: 0.6 WETH + 15 esXFI
  • BP Accumulated: ~8 BP
  • Current Weight: 1,000 LP + 8 BP + 15 ST = 1,023

Compound Action:

  • Swap 0.6 WETH → ~30 XFI + xUSD
  • Add Liquidity → ~25 new lpXFI
  • Stake new LP tokens

After Compounding:

  • Total Staked: 1,025 lpXFI
  • Total Weight: 1,025 LP + 8 BP + 15 ST = 1,048 (+4.8% increase)
  • Future rewards now calculated on higher weight

After 6 Months (with monthly compounding):

  • Total LP: ~1,200+ (from 6 reinvestments)
  • BP Accumulated: ~50 BP
  • esXFI Balance: ~90 ST
  • Total Weight: 1,340+ (+34% growth from initial position)
Success Formula

Weekly/Monthly Compounding can increase your effective yield by 30-50% annually compared to simple holding, thanks to the multiplicative effect of LP growth + BP accumulation + esXFI weight! 💎

Optimization Strategies by Goal​

🎯 Maximum Growth

  • Pool: lpXFI (higher volume)
  • Vesting: Minimal (keep esXFI earning)
  • Compounding: Weekly reinvestment
  • Timeframe: 12+ months
  • Expected APY: 40-80% (variable)

⚖️ Balanced Approach

  • Pool: 60% lpXFI + 40% lpUSD
  • Vesting: Partial (30-50%)
  • Compounding: Monthly cycles
  • Timeframe: 6-12 months
  • Expected APY: 25-45%

🛡️ Conservative Strategy

  • Pool: lpUSD (stablecoin)
  • Vesting: Immediate full vest
  • Compounding: Quarterly
  • Timeframe: 3-6 months
  • Expected APY: 15-30%

🔥 Aggressive Maximizer

  • Pool: 100% lpXFI
  • Vesting: Zero (pure earning mode)
  • Compounding: Every reward claim
  • Timeframe: 24+ months
  • Expected APY: 60-120%+ (high risk)

Common Pitfalls to Avoid​

MistakeImpactSolution
Full unstakingBP reset to zero—lose accumulated multiplierUse partial unstaking to preserve BP
No compoundingMiss 30-50% potential yield growthReinvest at least monthly
Ignoring impermanent lossLosses on volatile pools during price swingsMonitor price ratios; consider lpUSD for stability
Vesting all esXFI immediatelyLose earning capacity on vested amountKeep 50-70% earning, vest only when needed
Infrequent BP accumulationLower weight → smaller reward shareStay staked continuously for maximum BP growth

Summary: Your Path to DeFi Success​

By following this complete LP journey, you create a self-reinforcing wealth engine:

Core Benefits:

  • ✅ Multiple income streams: Trading fees + staking rewards + Bonus Points
  • ✅ Exponential growth: Compounding accelerates returns over time
  • ✅ Flexible strategies: Adjust approach based on risk tolerance and goals
  • ✅ Full control: Claim, vest, and reinvest on your own schedule

Key Success Factors:

  • ⏰ Time in market: Longer staking = more BP = bigger share
  • 🔄 Regular compounding: Weekly/monthly reinvestment maximizes growth
  • 📊 Strategic balance: Diversify between pools based on risk appetite
  • 🎯 Patience: The snowball effect takes 3-6 months to fully materialize
Ready to Start Your Journey?

Begin with Step 1 in the LP Tokens section and unlock the full potential of CrossFi's DeFi ecosystem! 🚀


To enhance transparency, xAPP also integrates price oracles and cross-network bridge services, ensuring accurate asset valuation and secure multi-chain operations.