Becoming a Validator
Validators produce blocks and earn transaction fees on RougeChain. This guide walks you through the full process.
Prerequisites
| Requirement | Details |
|---|---|
| XRGE balance | At least 1,000 XRGE (+ fees) |
| Wallet | A RougeChain wallet with signing keys |
| Node (optional) | Running a node earns you more blocks |
Step 1: Get XRGE
If you're on testnet, use the faucet:
- Visit rougechain.io
- Go to Wallet and click Request from Faucet
- Repeat until you have at least 1,000 XRGE
Step 2: Stake Tokens
Via Web UI
- Navigate to the Validators page
- Click Stake
- Enter your stake amount (minimum 1,000 XRGE)
- Confirm the transaction
- Your wallet signs the stake transaction with ML-DSA-65
Via v2 API (Client-Side Signing)
curl -X POST https://testnet.rougechain.io/api/v2/stake \
-H "Content-Type: application/json" \
-d '{
"publicKey": "your-public-key-hex",
"amount": 1000,
"nonce": 1706745600000,
"signature": "your-ml-dsa65-signature-hex"
}'
Step 3: Verify Your Validator Status
curl "https://testnet.rougechain.io/api/validators"
Look for your public key in the response:
{
"validators": [
{
"publicKey": "your-public-key",
"stake": 1000.0,
"status": "active",
"blocksProposed": 0
}
]
}
Step 4: Run a Mining Node (Recommended)
While staking alone makes you a validator, running a node ensures you're online to produce blocks when selected:
./quantum-vault-daemon \
--mine \
--api-port 5100 \
--peers "https://testnet.rougechain.io" \
--public-url "https://mynode.example.com"
Increasing Your Stake
You can add more XRGE to increase your block proposal probability:
# Stake additional 500 XRGE
curl -X POST https://testnet.rougechain.io/api/v2/stake \
-H "Content-Type: application/json" \
-d '{
"publicKey": "your-public-key-hex",
"amount": 500,
"nonce": 1706745600001,
"signature": "your-signature-hex"
}'
Your total stake accumulates.
Validator Selection Algorithm
Proposer selection uses three factors:
- Stake weight — Higher stake gives proportionally higher probability
- Quantum entropy — Ensures unpredictable selection
- Round-robin fallback — Guarantees all validators eventually participate
This means even validators with the minimum stake will produce blocks, just less frequently.
Leaving the Validator Set
See Unstaking — after unstaking below the minimum, you're removed from the active validator set.