Skip to main content

Staking

Staking in xApp is the voluntary locking of LP tokens (lpXFI, lpUSD) in the rewards contract. While your LP tokens remain in the pool earning swap fees, the contract distributes additional rewards and accumulates Bonus Points to boost your share.

Staking Interface CrossFi xApp Staking - Lock LP tokens to earn additional rewards

Snowball effect: the longer you stay staked, the more BP you earn and the larger your share of WETH & XFI/esXFI distributions.

Staking Rewards by Poolโ€‹

LP TokenRewardsDetails
lpXFIesXFI + WETH + BPMain XFI/xUSD pool with maximum trading volume
lpUSDXFI + BPStable USDC/xUSD pool for conservative strategies
Reward Distribution
  • esXFI โ€” escrowed XFI that vests linearly over time
  • WETH โ€” ETH from LayerZero bridge and trading fees
  • XFI โ€” direct liquid XFI for lpUSD stakers
  • BP โ€” Bonus Points that permanently boost your reward share

How Your Share Is Calculatedโ€‹

Your reward share depends on your Position Weight relative to all other participants:

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

Where:

  • LPโ‚แตขโ‚Ž = your staked LP tokens
  • BPโ‚แตขโ‚Ž = your accumulated Bonus Points
  • STโ‚แตขโ‚Ž = your current esXFI balance (also counts as weight)

Sharei=Weightiโˆ‘LP+โˆ‘BP+โˆ‘STShare_i = \frac{Weight_i}{\sum LP + \sum BP + \sum ST}

Unstaking Effects
  • Partial unstake: reduces LPโ‚แตขโ‚Ž, preserves remaining BPโ‚แตขโ‚Ž
  • Full unstake: resets BPโ‚แตขโ‚Ž to zero immediately

Understanding esXFI Mechanicsโ€‹

Earning & Vesting Processโ€‹

  • Earning: Each distribution allocates your share of new XFI as esXFI (for lpXFI)
  • Vesting: esXFI matures linearly over ~6 months protocol vesting period
  • Rate Control: Unstaked LP slows vesting; re-staking accelerates it

Bonus Points (BP) Systemโ€‹

Continuous Accumulation

  • Earn +1 BP for every ~0.01 LP per day
  • ~100 BP โ‰ˆ 1 LP staked for full year (100% APR boost)
  • BP permanently increase your share of all future distributions

BP Management

  • Partial unstake: BP decrease proportionally to withdrawn share
  • Full unstake: All BP reset to 0 immediately
  • Transfer: BP are non-transferable and bound to your staking position

Step-by-Step Staking Guideโ€‹

1
Check LP Balance
2
Open Staking Page
3
Select Pool
4
Enter Amount
5
Confirm & Stake
Step 1 of 5

Check LP Balance

Ensure you have LP tokens available. If needed, acquire them in LP Tokens โ†’ Get LP section first.

Flexible Unstaking

You can unstake anytime:

  • Partial: Preserves remaining BP and continues earning on remaining stake
  • Full: Resets BP to 0 and stops new esXFI vesting

Real-World Examplesโ€‹

Example 1: Compounding Strategyโ€‹

  1. Initial Stake: 1,000 lpXFI
  2. After 1 Month: Earn 0.6 WETH + esXFI
  3. Reinvestment: Swap WETH โ†’ XFI + xUSD โ†’ Add Liquidity โ†’ ~30 new lpXFI
  4. Compound Effect: Stake new LP โ†’ higher weight โ†’ more BP โ†’ increased future rewards

Example 2: Long-Term Hold (lpUSD)โ€‹

  • Stake: 500 lpUSD for 365 days
  • Accumulation: Earn ~500 BP + steady XFI rewards
  • Total Weight: 500 LP + 500 BP = 1,000
  • Share: If total pool weight = 10,000, you get 10% of every XFI distribution

Optimal Strategiesโ€‹

GoalRecommended Action
Maximize APYStay staked โ‰ฅ 90-180 days; reinvest WETH/XFI weekly
Minimize VolatilityChoose lpUSD (stablecoin pool) for XFI rewards
Balance Risk & YieldSplit holdings between lpXFI and lpUSD pools

Frequently Asked Questionsโ€‹

QuestionAnswer
Do BP ever expire?No โ€” as long as you don't fully unstake, BP stay active and continue boosting your share indefinitely.
Can I stake multiple LP pools simultaneously?Yes โ€” each pool's rewards accumulate separately and sum together for maximum earning potential.
Does esXFI disappear if I unstake LP?No โ€” already-earned esXFI remains and continues vesting (just at a slower rate without active staking).
Where do I track unlocked XFI?Check Escrow โ†’ Vesting Status or view your esXFI balance in the Rewards page for complete tracking.

Summaryโ€‹

Staking LP tokens in xApp transforms your liquidity into a multi-layered income stream:

For lpXFI Stakers:

  • โœ… esXFI rewards that vest into liquid XFI over time
  • โœ… WETH income from bridge and trading fees
  • โœ… Bonus Points that permanently boost future earnings

For lpUSD Stakers:

  • โœ… Direct XFI rewards with immediate liquidity
  • โœ… Stable exposure through stablecoin pool
  • โœ… Bonus Points for enhanced long-term returns
Success Formula

Stake โ†’ Earn โ†’ Compound โ†’ Repeat

The longer you maintain your staking position, the more your Bonus Points accumulate, creating an exponential snowball effect for your rewards! ๐Ÿš€