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.
Requires Node.js 18+ runtime for data collection services
Requires Node.js 18+ runtime for synthetic challenge generation and validation
Install Node Version Manager, Node.js 21, and PM2 process manager
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash && source ~/.bashrc && nvm i 21 && npm i pm2 -g
Clone the subnet repository
git clone https://github.com/oneoneone-io/subnet-111.git && cd subnet-111
Create and activate Python 3.12 Conda environment
conda create -n subnet-111 python=3.12 && conda activate subnet-111
Install Python dependencies and the oneoneone package
pip install -r requirements.txt && pip install -e .
Install Node.js dependencies for the miner stack
cd node && npm install && cd ..
Copy environment configuration templates
cp .env.example .env && cp node/.env.miner.example node/.env
Edit node/.env to add APIFY_TOKEN and GRAVITY_API_TOKEN
nano node/.env
Register wallet and hotkey to mainnet subnet 111 (or use --netuid 427 --subtensor.network test for testnet)
btcli subnet register --no_prompt --wallet.name miner --wallet.hotkey default --netuid 111
Start miner with auto-updater on mainnet (recommended) or use manual setup with pm2 start npm --name node-miner --cwd ./node -- run miner:start
chmod +x auto-updater.sh && pm2 start ./auto-updater.sh --name autoupdater-miner-prod -- miner 111 miner default 9001
Install Node Version Manager, Node.js 21, and PM2 process manager
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash && source ~/.bashrc && nvm i 21 && npm i pm2 -g
Clone the subnet repository
git clone https://github.com/oneoneone-io/subnet-111.git && cd subnet-111
Create and activate Python 3.12 Conda environment
conda create -n subnet-111 python=3.12 && conda activate subnet-111
Install Python dependencies and the oneoneone package
pip install -r requirements.txt && pip install -e .
Install Node.js dependencies for the validator stack
cd node && npm install && cd ..
Copy environment configuration templates
cp .env.example .env && cp node/.env.validator.example node/.env
Edit node/.env to add APIFY_TOKEN, DESEARCH_API_TOKEN, CHUTES_API_TOKEN, and PLATFORM_TOKEN (contact subnet team for token)
nano node/.env
Register wallet and hotkey to mainnet subnet 111 (or use --netuid 427 --subtensor.network test for testnet). Requires minimum stake.
btcli subnet register --no_prompt --wallet.name validator --wallet.hotkey default --netuid 111
Start validator with auto-updater on mainnet (recommended) or use manual setup with pm2 start npm --name node-validator --cwd ./node -- run validator:start
chmod +x auto-updater.sh && pm2 start ./auto-updater.sh --name autoupdater-validator-prod -- validator 111 validator default 9000