Below is the minimum system requirements for running a miner node on the RedTeam Subnet:
- 8-GB RAM
- 2-Cores CPU
But you may need more resources for engineering challenges.
To set up a miner node on the RedTeam Subnet, follow these steps:
- Install the latest version of the RedTeam Subnet repository.
git clone https://github.com/RedTeamSubnet/RedTeam && cd RedTeam
pip install -e .
- Explore challenges at
redteam_core/challenge_pool/
, build your solution, dockerize it, and push it to Docker Hub. You can view the detailed guide here. We have some limitations on your solution:
- The solution must be a Python script.
- The solution won't be able to access the internet.
- Resource limit: see Active Challenge Config
- Specify docker submissions for challenges at
neurons/miner/active_commit.yaml
:
- challenge_name_1---docker_hub_id_1@<sha256:digest>
- challenge_name_2---docker_hub_id_2<sha256:digest>
- Start the miner node:
pm2 start python --name "miner_snxxx" \
-- -m neurons.miner.miner \
--netuid xxx \
--wallet.name "wallet_name" \
--wallet.hotkey "wallet_hotkey" \
--axon.port "axon_port" \
--subtensor.network <network> \ # default is finney
Optional flags:
--logging.trace
- Enable trace logging--logging.debug
- Enable debug logging