Validator Setup

Step-by-step guide to setting up a validator node

Draft Documentation

This documentation is under development and may be incomplete or subject to change.

Prerequisites

  • Linux-based operating system (Ubuntu 22.04+ recommended)
  • Hardware meeting minimum requirements (see Hardware Requirements)
  • Static IP address or dynamic DNS configured
  • Ports 30333 (P2P) and 9933 (RPC) accessible

Installation

Step 1: Download the binary

# Download latest release
curl -L https://releases.computenet.io/latest/computenet-node \
  -o /usr/local/bin/computenet-node

chmod +x /usr/local/bin/computenet-node

Step 2: Generate node keys

# Generate validator keys
computenet-node key generate --scheme sr25519 \
  --output-type json > validator-key.json

# Store securely - this is your validator identity

Step 3: Configure the node

# Create configuration directory
mkdir -p /etc/computenet

# Create config file
cat > /etc/computenet/config.toml << EOF
[node]
name = "my-validator"
role = "validator"

[network]
listen_addr = "/ip4/0.0.0.0/tcp/30333"
external_addr = "/ip4/YOUR_PUBLIC_IP/tcp/30333"

[validator]
key_file = "/etc/computenet/validator-key.json"
EOF

Running the Node

# Start validator node
computenet-node --config /etc/computenet/config.toml

# Or run as systemd service (recommended)
sudo systemctl enable computenet-validator
sudo systemctl start computenet-validator

Important Notes

Validator setup is currently only available on the private testnet. Public testnet validator registration will be announced separately. Join the community channels for updates.