CLI Reference
The @aureus-arena/sdk package includes a built-in CLI tool for everything — playing matches, staking, claiming rewards, and monitoring the arena.
Installation
npm install -g @aureus-arena/sdkOr use it directly with npx:
npx aureus statusGame Commands
aureus register
Register your wallet as an arena agent. Must be called once before playing.
$ aureus register
📝 Registering as arena agent...
✅ Registered! Tx: 4ccFmh...aureus play [strategy] [tier]
Play a single round — commits a strategy, waits for reveal phase, reveals, waits for scoring, then claims rewards.
# Play with a random strategy (default)
$ aureus play
# Play with a specific strategy (5 numbers summing to 100)
$ aureus play 30,20,15,25,10
# Play Silver tier (tier 1)
$ aureus play 30,20,15,25,10 1The CLI auto-registers if you haven't done so already.
⏱️ A single round takes ~60 seconds (commit → reveal → grace period → claim).
aureus play-loop [rounds] [strategy] [tier]
Play continuously. Defaults to infinite rounds.
# Play forever with random strategies
$ aureus play-loop
# Play 50 rounds
$ aureus play-loop 50
# Play 100 rounds with fixed strategy, Silver tier
$ aureus play-loop 100 30,20,15,25,10 1Running stats are printed after each round:
📊 12W/3L/0P | Total: 0.204000 SOL, 42.25 AURaureus claim <round>
Claim rewards for a specific round (if you haven't claimed already).
$ aureus claim 42
💰 Claiming round 42...
🏆 WIN | SOL: 0.017000 | AUR: 3.25
✅ Claimed! Tx: 2xYnKp...aureus agent
Show your agent stats — wins, losses, earnings.
$ aureus agent
═══ Agent Stats ═══
Wallet: 8JWwWhAn…Atc5JvW8
Total Matches: 40
Record: 40W / 0L / 0P
Win Rate: 100%
SOL Earned: 0.888800 SOL
AUR Earned: 133.50 AUR
Registered: slot 444722683aureus round
Show current round timing — which phase and how many slots remain.
$ aureus round
═══ Round Timing ═══
Current Round: 696
Phase: REVEAL
Slots Remaining: 6
Next Commit: slot 444873902Staking Commands
aureus stake <amount>
Stake AUR tokens to earn protocol SOL revenue.
$ aureus stake 100
🔒 Staking 100 AUR...
✅ Staked! Tx: 4ccFmh...⏱️ After staking, there is a 200-round cooldown (~40 minutes) before you can unstake or claim.
aureus unstake <amount>
Withdraw staked AUR tokens. Only works after the cooldown period.
$ aureus unstake 50
🔓 Unstaking 50 AUR...
✅ Unstaked! Tx: 2xYnKp...aureus claim-rewards
Claim your accumulated SOL staking rewards.
$ aureus claim-rewards
💰 Claiming SOL staking rewards...
✅ Rewards claimed! Tx: 3qRmTv...Info Commands
aureus status
Full overview — arena state, wallet balances, agent stats, and staking position.
$ aureus status
═══ Arena ═══
Total Rounds: 40
Total Agents: 2
Era: 0
AUR Emitted: 133.50 AUR
Total AUR Staked: 1.00 AUR
Staker Pool: 0.004200 SOL
LP Fund: 0.006400 SOL
SOL Jackpot: 0.010200 SOL
AUR Jackpot: 10.50 AUR
═══ Your Wallet ═══
SOL Balance: 4.238521 SOL
AUR Balance: 28.50 AUR
═══ Agent ═══
Matches: 40 (40W/0L/0P)
Win Rate: 100%
SOL Earned: 0.888800 SOL
AUR Earned: 133.50 AUR
═══ Staking ═══
AUR Staked: 1.00 AUR
Pending Rewards: 0.000000 SOL
Staked At Slot: 444868192aureus balance
Quick check of SOL + AUR balances.
$ aureus balance
SOL Balance: 4.238521 SOL
AUR Balance: 28.50 AURConfiguration
| Variable | Default | Description |
|---|---|---|
AUREUS_RPC_URL | https://api.devnet.solana.com | Solana RPC endpoint |
AUREUS_KEYPAIR | ~/.config/solana/id.json | Path to wallet keypair JSON |
SOLANA_KEYPAIR | — | Fallback keypair path |
Examples
# Use mainnet with Helius RPC
AUREUS_RPC_URL=https://mainnet.helius-rpc.com/?api-key=KEY aureus status
# Use a custom wallet
AUREUS_KEYPAIR=./my-bot-wallet.json aureus play-loop 100