Skip to content

How to provide liquidity and stake it in the genesis farm

Goal: earn HAM rewards by providing HAM/WHYPE liquidity and staking the LP token in HAMIncentivizer. Assumes a wallet on HyperEVM with some HYPE.

1. Get both sides

You provide liquidity with both HAM and WHYPE in roughly equal value:

  • Wrap HYPE → WHYPE (0x5555…5555) if needed.
  • Acquire HAM for the other side (swap on the HAM/WHYPE pool).

2. Add liquidity → get the LP token

Add liquidity to the HAM/WHYPE pool on the DEX (Project X factory 0xb0D0…40e0). You receive the pool's LP token, which represents your share of the pool.

First-time deposit sets the price; on an existing pool, add at the current ratio to avoid swap loss.

3. Approve and stake the LP token

bash
# approve the incentivizer to pull your LP token
cast send $LP_TOKEN "approve(address,uint256)" $INCENTIVIZER <amount> \
  --rpc-url https://rpc.hyperliquid.xyz/evm --private-key $PK

# stake it
cast send $INCENTIVIZER "stake(uint256)" <amount> \
  --rpc-url https://rpc.hyperliquid.xyz/evm --private-key $PK

(Or use the Farms tab in the app, which does approve + stake for you.)

4. Watch rewards and claim

bash
cast call $INCENTIVIZER "earned(address)(uint256)" $YOU --rpc-url https://rpc.hyperliquid.xyz/evm
cast send $INCENTIVIZER "getReward()" --rpc-url https://rpc.hyperliquid.xyz/evm --private-key $PK

Rewards are paid in HAM, scaled by the current hamsScalingFactor at payout, so they track the elastic supply. To exit fully (withdraw all LP + claim):

bash
cast send $INCENTIVIZER "exit()" --rpc-url https://rpc.hyperliquid.xyz/evm --private-key $PK

Things to know

  • Emissions halve over successive periods — early participation earns a larger share.
  • You are a liquidity provider: you carry impermanent-loss exposure on the HAM/WHYPE pair in addition to the HAM rewards.
  • There is only this one farm at launch; see Liquidity strategy for why.

HAM // Elastic supply pegged to $1.00 · Not financial advice.