🛡️ Getting Started - Validator
Step 1: Prerequisites
System Requirements
- Server: Bare metal
- CPU: 8+ cores
- RAM: 32GB+
- Storage: 512GB+
- OS: Ubuntu 22.04 LTS+ recommended
- Network: Stable high-speed internet connection
- Install git to clone repositories.
- Install Python (>= v3.10) and pip (>= 23):
- [RECOMMENDED] Miniconda (v3)
- Install docker and docker compose
- Setup your Bittensor wallet
- Stake sufficient TOA tokens to run a validator node on RedTeam Subnet.
Step 2: Clone the validator repository
Create a dedicated directory for RedTeam Subnet projects (if not exists):
# Create projects directory:
mkdir -pv ~/workspaces/projects/redteam61
# Enter into projects directory:
cd ~/workspaces/projects/redteam61
Clone the validator repository:
Step 3: Run validator node
3.1. Configure environment variables
IMPORTANT
Make sure to change the wallet directory, wallet name, and hotkey name variables in the .env file to match your wallet and hotkey:
# Copy '.env.example' file to '.env' file:
cp -v ./.env.example ./.env
# Edit environment variables to fit in your environment
nano ./.env
3.2. Validate docker compose configuration
3.3. Start validator node as docker container
# Start docker compose:
./compose.sh start -l
# Or:
docker compose up -d --remove-orphans --force-recreate && \
docker compose logs -f --tail 100
Step 4: Monitor your validator
Once running, monitor your validator's logs:
# Check validator logs:
./compose.sh logs agent-validator
# Or:
docker compose logs -f --tail 100 agent-validator
IMPORTANT
Check your validator's performance and VTRUST score on the network.