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
- Install MetaMask or use an existing Web3 wallet
- 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
- Network Name:
- For testnet, add Fuji instead (Chain ID:
43113) - Fund your wallet with sufficient AVAX for gas
2. Mine XPOW
- Navigate to the XPower App
- Connect your wallet
- Start the browser miner — it automatically searches for valid nonces
- When a solution is found, submit the transaction (requires ~0.001–0.005 AVAX gas)
- XPOW tokens appear in your wallet (50% of the reward; 50% goes to the treasury)
3. Deposit XPOW into an NFT
- Approve XPOW spending:
XPOW.approve(XPowerNft, amount) - Choose a level (0, 3, 6, ..., 99) — higher levels lock more XPOW with longer maturity
- Mint:
XPowerNft.mint(yourAddress, level, amount) - Verify your XPowerNft balance — NFT ID =
100 × currentYear + level
4. Stake for Rewards
- Approve XPowerNft:
XPowerNft.setApprovalForAll(NftTreasury, true) - Stake:
NftTreasury.stake(yourAddress, nftId, amount) - You'll receive APowerNft — your staking receipt
- Rewards begin accruing immediately
5. Claim APOW
- Wait for rewards to accumulate (the longer and larger your stake, the more you earn)
- Claim:
MoeTreasury.claim(yourAddress, nftId, amount, nonce) - APOW tokens appear in your wallet
6. Unstake When Ready
- Claim any pending rewards first
- Unstake:
NftTreasury.unstake(yourAddress, nftId, amount) - Your XPowerNft is returned; APowerNft is burned
Next Steps
- Concepts — Deep dive into how each mechanism works
- Mining Guide — Detailed mining instructions
- Contract Addresses — Mainnet and testnet deployments