Component | Requirement |
---|---|
CPU | 8 core 2.4GHz |
RAM | 32GB |
Network Up | 400Mbps |
Network Down | 400Mbps |
Storage | 100GB |
Note
Requires python3.10
- Clone Project
git clone https://github.com/Comtensor/comtensor-subnet.git
- Create Virtual Environment
cd comtensor-subnet
python3 -m venv venv
. venv/bin/activate
- Install dependencies
pip install -e .
pip install -r requirements.txt
pip install -U communex
- Register Validator
comx module register <module-name> <your-key-name> 6
- 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>]