Skip to content

Quickstart

Get started with XPower in a few minutes. This guide covers the essential steps from wallet setup to claiming your first staking rewards.

Prerequisites

  • A browser with MetaMask (or any WalletConnect-compatible wallet)
  • ~0.1 AVAX on Avalanche C-Chain for gas fees
  • The XPower App at app.xpowermine.com

For development and testing, use Fuji testnet (Avalanche testnet) with test AVAX from a faucet.

1. Set Up Your Wallet

  1. Install MetaMask or use an existing Web3 wallet
  2. Add the Avalanche C-Chain network:
    • Network Name: Avalanche C-Chain
    • RPC URL: https://api.avax.network/ext/bc/C/rpc
    • Chain ID: 43114
    • Symbol: AVAX
  3. For testnet, add Fuji instead (Chain ID: 43113)
  4. Fund your wallet with sufficient AVAX for gas

2. Mine XPOW

  1. Navigate to the XPower App
  2. Connect your wallet
  3. Start the browser miner — it automatically searches for valid nonces
  4. When a solution is found, submit the transaction (requires ~0.001–0.005 AVAX gas)
  5. XPOW tokens appear in your wallet (50% of the reward; 50% goes to the treasury)

3. Deposit XPOW into an NFT

  1. Approve XPOW spending: XPOW.approve(XPowerNft, amount)
  2. Choose a level (0, 3, 6, ..., 99) — higher levels lock more XPOW with longer maturity
  3. Mint: XPowerNft.mint(yourAddress, level, amount)
  4. Verify your XPowerNft balance — NFT ID = 100 × currentYear + level

4. Stake for Rewards

  1. Approve XPowerNft: XPowerNft.setApprovalForAll(NftTreasury, true)
  2. Stake: NftTreasury.stake(yourAddress, nftId, amount)
  3. You'll receive APowerNft — your staking receipt
  4. Rewards begin accruing immediately

5. Claim APOW

  1. Wait for rewards to accumulate (the longer and larger your stake, the more you earn)
  2. Claim: MoeTreasury.claim(yourAddress, nftId, amount, nonce)
  3. APOW tokens appear in your wallet

6. Unstake When Ready

  1. Claim any pending rewards first
  2. Unstake: NftTreasury.unstake(yourAddress, nftId, amount)
  3. Your XPowerNft is returned; APowerNft is burned

Next Steps