Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 934 Bytes

validators.md

File metadata and controls

47 lines (37 loc) · 934 Bytes

Validator Documentation

Hardware requirements

Component Requirement
CPU 8 core 2.4GHz
RAM 32GB
Network Up 400Mbps
Network Down 400Mbps
Storage 100GB

Note

Requires python3.10

How to run a Validator

  1. Clone Project
git clone https://github.com/Comtensor/comtensor-subnet.git
  1. Create Virtual Environment
cd comtensor-subnet
python3 -m venv venv
. venv/bin/activate
  1. Install dependencies
pip install -e .
pip install -r requirements.txt
pip install -U communex
  1. Register Validator
comx module register <module-name> <your-key-name> 6
  1. Run Validator

To run the validator, just call the file in which you are executing validator.validate_loop().

python3 src/comtensor/cli.py <name-of-your-com-key> [--password <your-password>]