How to Use XPi Staking Tools – A Practical Guide
XPi is designed so that ordinary people can participate without specialized hardware. This guide explains the practical ways users can stake XLM and receive XPi.
What You Need Before Starting
- A Stellar wallet that you control (Freighter, Lobstr, xBull, or any wallet that supports secret keys)
- At least 31.4 XLM (the minimum stake) plus a small amount for network fees
- The official Contract ID:
CDQ4OO3FU3CBNVWZX2GDU4BQQNQFAHBITTXULTVIECY4OMJGTM33M73H - The official Issuer:
GDOFJEZ3FUWAC2EVHPRMJPSWPOD3KJF7FTXFZIERFFPB2VMTRQLZFUEF
Always verify these identifiers on Stellar Expert before interacting.
Option 1: Node.js CLI Tool (Recommended for Desktop Users)
Installation (Ubuntu / Linux)
sudo apt update
sudo apt install -y curl
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt install -y nodejs
mkdir ~/xpi-staking
cd ~/xpi-staking
npm init -y
npm install @stellar/stellar-sdk
Place the official stake-claim.js script in the folder, then run:
node stake-claim.js
Main Menu Functions
- Stake XLM – Lock XLM into the contract (minimum 31.4)
- Unstake XLM – Return your XLM at any time
- Claim XPi rewards – Receive earned XPi into your wallet
- View current stake – Check how much XLM is locked
- View pending rewards – See accumulated XPi waiting to be claimed
- Exit
Important Safety Rules
- Never share your secret key (starts with
S...) - Keep a secure offline backup of the key
- Only stake amounts you can afford to lock temporarily
- Always double-check the Contract ID before confirming a transaction
Option 2: Android App (APK)
- Download the official APK from the project’s GitHub Releases page
- Allow installation from unknown sources on your phone
- Open the app and create a new wallet or import an existing secret key
- Add the official XPi trustline
- Stake XLM and claim rewards directly inside the app
The app is designed for convenience. All private keys remain under your control.
Option 3: Regular Stellar Wallets Supporting Soroban
Advanced users can interact with the contract through wallets that support Soroban smart contracts (Freighter, xBull, etc.). This requires understanding how to call contract functions and is recommended only for experienced users.
Reward Structure (Approximate)
| Staked XLM | Approx. XPi per day |
|---|---|
| 31.4 | 0.0000003 |
| 314 | 0.0000031 |
| 3,140 | 0.000031 |
| 31,400 | 0.00031 |
Rewards scale roughly linearly. The entire system still releases only 21 XPi per day in total.
Key Takeaway
XPi tools are intentionally simple. Whether you use the CLI, the Android app, or a compatible wallet, the core idea remains the same: stake a modest amount of XLM, keep control of your private keys, and accumulate a scarce asset over the long term.