Running a Node

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

The node software is open source under the Apache 2.0 license.

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

# Clone the public repo
git clone https://github.com/cyberdreadx/rougechain-node
cd rougechain-node/core

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

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

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

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