Running a Node

Run your own RougeChain node to participate in the network, validate transactions, and earn rewards.

Node Types

TypeDescriptionRequires
Full NodeSyncs and validates all blocks--peers
Mining NodeProduces new blocks--mine
Public NodeAccepts external connections--host 0.0.0.0

Quick Start

# Build the daemon
cd core
cargo build --release -p quantum-vault-daemon

# Run a syncing node
./target/release/quantum-vault-daemon \
  --api-port 5100 \
  --peers "https://testnet.rougechain.io"

# Run a mining node
./target/release/quantum-vault-daemon \
  --mine \
  --api-port 5100 \
  --peers "https://testnet.rougechain.io"

Verify It's Working

curl http://127.0.0.1:5100/api/health

Expected response:

{
  "status": "ok",
  "chain_id": "rougechain-devnet-1",
  "height": 123
}

Next Steps