Take the first step into the future of blockchain! Become a part of our network today by starting your journey as a miner.
🐧 Required OS: Ubuntu 22.04 | 🐍 Required Python: Python 3.10
The Miner machine acts as a real-time traffic firewall during challenge rounds :
Resource | Requirement |
---|---|
VRAM | None |
vCPU | 8 vCPU |
RAM | 8 GB |
Storage | 80 GB |
Network | >= 1 Gbps |
Miners must provide SSH access to the traffic generation and King machines (minimum set to 2 tgens + 1 King).
However, they can start with machines of any size or capacity. The traffic generation automatically scales to the capability of the machines, ensuring lightweight traffic on lower-tier setups and progressively increasing load as performance scales.
This makes it possible to get started with even modest VPS or home lab machines, while encouraging scale-up for higher rewards.
1. Update system packages and install Python (3.10) pip :
2. Install npm and pm2 for process management:
3. Create and activate virtual environment :
4. Clone the repository and install the required pip dependencies :
1. Before running a miner, you will need to register its hotkey to the subnet:
If you haven't created a coldkey/hotkey wallet pair yet, checkhere
⚠️ To help decentralization, we strongly encourage using a local Subtensor network. 👉 See this guide
2. You will also need to create a .env.miner environment file. It is necessary for you to provide the following :
3. Also, make sure to include your WANDB_API_KEY in the .env environment file :
🔔 Nota Bene:
1. After setting up the environment file, create a new CSV file named "trafficgen_machines.csv" in the base directory (~/tensorprox)
2. Start your miner instance. Make sure that your user has the necessary permissions to forward packets to the King machine :
3. Check if the instance is correctly running :
4. To view logs and monitor the miner's activity :
🔗 To learn more, visit our GitHub repo: github.com/shugo-labs/tensorprox