Loading
Loading

This information was auto-extracted from the GitHub repository and may be incomplete or out of date. Always refer to the subnet's GitHub repository for the latest instructions.
Miners do not run a local server. Models are deployed to Targon serverless infrastructure. Hardware requirements depend on the model deployed to Targon, not the local machine. Miners require sufficient Targon credits and a TARGON_API_KEY.
Validators remain CPU-only and query miner endpoints via TVM. No additional dependencies beyond standard CPU node required.
Clone the Brainplay subnet repository
git clone https://github.com/shiftlayer-llc/brainplay-subnet.git
Copy environment file template
cd brainplay-subnet && cp .env.example .env
Configure Targon API key in .env file
# Edit .env to add TARGON_API_KEY (required for both miners and validators)
Create and activate virtual environment
python3 -m venv venv && source venv/bin/activate
Install subnet dependencies
pip install -e .
Deploy model to Targon for SuperMario competition(optional)
python deploy/miner.py --competition supermario --model 'your-org/your-model' --wallet owner --hotkey default --network finney --netuid 117
Deploy model to Targon for Codenames competition(optional)
python deploy/miner.py --competition codenames --model 'your-org/your-model' --wallet owner --hotkey default --network finney --netuid 117
Deploy model to Targon for 20 Questions competition(optional)
python deploy/miner.py --competition twentyq --model 'your-org/your-model' --wallet owner --hotkey default --network finney --netuid 117
Clone the Brainplay subnet repository
git clone https://github.com/shiftlayer-llc/brainplay-subnet.git
Copy environment file template
cd brainplay-subnet && cp .env.example .env
Configure API keys in .env file
# Edit .env to add TARGON_API_KEY, OPENAI_KEY (required), and WANDB_API_KEY (required for validators)
Create and activate virtual environment
python3 -m venv venv && source venv/bin/activate
Install subnet dependencies
pip install -e .
Set up git hooks for auto-update (one-time setup)(optional)
chmod +x scripts/*.sh && chmod +x .git/hooks/post-merge 2>/dev/null || ./scripts/setup_hooks.sh
Run validator with auto-update enabled (recommended)(optional)
./scripts/run_auto_validator.sh --wallet.name validator --wallet.hotkey default --netuid 117 --logging.info
Run validator manually (traditional method)(optional)
python neurons/validator.py --wallet.name validator --wallet.hotkey default --netuid 117 --logging.info
Run validator for SuperMario only on testnet(optional)
python neurons/validator.py --wallet.name validator --wallet.hotkey default --netuid 335 --subtensor.network test --wandb.off --logging.info --competition supermario