Loading
Loading

Neuron registration trends
Traditional VPN services rely on centralized providers with limited geographic coverage and unclear privacy policies. Organizations struggle to find reliable, geographically diverse VPN infrastructure without vendor lock-in. The cost and complexity of maintaining multiple VPN endpoints across regions makes it impractical for most operators. TPN solves this by distributing VPN services across a permissionless network of operators. Instead of relying on a single provider, users and applications can access VPN nodes distributed globally, with each operator incentivized to expand their geographic footprint and maintain service quality. The TPN subnet on Bittensor coordinates this distribution: miners operate pools of VPN workers in different locations, validators continuously measure performance and geographic diversity through challenge-response validation, and network emissions reward miners proportionally to their pool size and location coverage. This creates an open market for VPN infrastructure where quality and diversity are directly rewarded.
Use cases were auto-generated from the GitHub repository and may not reflect the latest changes.
TPN (Tao Private Network) is a Bittensor subnet that coordinates miners offering VPN connections across geographic locations. Miners provide VPN services through worker pools and are rewarded with subnet emissions based on pool size and geographic diversity, while validators validate miner performance and serve as interfaces to end users.
The TPN subnet has three tiers: Workers (simple VPN nodes providing connections to a mining pool), Miners (Bittensor neurons that aggregate worker pools and receive subnet emissions), and Validators (Bittensor neurons that assess miner performance via challenge-response and set weights). Miners run a PM2-managed neuron process communicating with a Docker-based federated container that handles VPN coordination. Validators similarly run both a neuron and container.
Workers connect to a mining pool (miner's federated container) and report performance metrics. The challenge protocol flows: Validator → Miner neuron → Miner HTTP server → Worker pool → Response back to validator for scoring.
The subnet uses a linear emissions model where miners' rewards are determined by: (1) the number of active workers in their pool, (2) geographic uniqueness of worker locations to prevent centralization, and (3) response speed penalties. Validators periodically send challenge requests to miners, which forward them to their worker pool via HTTP to a miner_server endpoint. Miners are blacklisted if they lack validator permits or are unregistered.
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.
Priority is assigned based on validator stake.
The sections above were auto-generated from the GitHub repository and may not reflect the latest changes. View repository
Distributed AI model compression & optimization engine
404 page not found!
FAQs were auto-generated from the GitHub repository and may not reflect the latest changes.
Holder & total-staked metrics as of 3h ago (hourly snapshot)
Miners consist of a docker container and a pm2-managed neuron process. Must run alongside a federated container for VPN coordination.
Validators require both a neuron process and docker container. More resource-intensive than miners.
Install system dependencies including git, docker prerequisites, wireguard, nodejs, npm, and python
sudo apt update && sudo apt install -y git jq netcat-openbsd wireguard wireguard-tools nodejs npm python3 python3-venv python3-pip
Install Docker
curl -fsSL https://get.docker.com -o get-docker.sh && sudo sh get-docker.sh
Add current user to docker group for rootless operation
sudo usermod -aG docker $USER && newgrp docker
Install PM2 for process management
npm install -g pm2
Clone the TPN subnet repository
cd ~ && git clone https://github.com/taofu-labs/tpn-subnet.git
Create virtual environment and install Python dependencies
cd ~/tpn-subnet && python3 -m venv venv && source venv/bin/activate && pip3 install -r requirements.txt
Copy environment template and configure with IP2Location and MaxMind API keys, wallet address, mining pool settings
cd ~/tpn-subnet/federated-container && cp .env.miner.example .env && nano .env
Generate coldkey and hotkey for the miner (or copy existing keys to ~/.bittensor)
btcli w new_coldkey --wallet.name tpn_coldkey && btcli w new_hotkey --wallet.name tpn_coldkey --wallet.hotkey tpn_hotkey
Register miner on subnet 65 (mainnet) or 279 (testnet)
btcli s register --wallet.name tpn_coldkey --hotkey tpn_hotkey --netuid 65
Start miner neuron with pm2
export PYTHONPATH=. && source venv/bin/activate && pm2 start "python3 ~/tpn-subnet/neurons/miner.py --netuid 65 --subtensor.network finney --wallet.name tpn_coldkey --wallet.hotkey tpn_hotkey --logging.info --axon.port 8091 --blacklist.force_validator_permit" --name tpn_miner
Start docker compose for the miner container
bash ~/tpn-subnet/scripts/update_node.sh
Install system dependencies
sudo apt update && sudo apt install -y git jq netcat-openbsd wireguard wireguard-tools nodejs npm python3 python3-venv python3-pip
Install Docker
curl -fsSL https://get.docker.com -o get-docker.sh && sudo sh get-docker.sh
Add current user to docker group
sudo usermod -aG docker $USER && newgrp docker
Install PM2
npm install -g pm2
Clone TPN subnet repository
cd ~ && git clone https://github.com/taofu-labs/tpn-subnet.git
Create virtual environment and install Python dependencies
cd ~/tpn-subnet && python3 -m venv venv && source venv/bin/activate && pip3 install -r requirements.txt
Configure environment with IP2Location and MaxMind API keys
cd ~/tpn-subnet/federated-container && cp .env.validator.example .env && nano .env
Generate coldkey and hotkey (or copy existing)
btcli w new_coldkey --wallet.name tpn_coldkey && btcli w new_hotkey --wallet.name tpn_coldkey --wallet.hotkey tpn_hotkey
Register validator on subnet
btcli s register --wallet.name tpn_coldkey --hotkey tpn_hotkey --netuid 65
Start validator neuron with pm2
export PYTHONPATH=. && source venv/bin/activate && pm2 start "python3 ~/tpn-subnet/neurons/validator.py --netuid 65 --subtensor.network finney --wallet.name tpn_coldkey --wallet.hotkey tpn_hotkey --logging.info --axon.port 9000 --neuron.vpermit 10000 --force_validator_permit" --name tpn_validator
Start docker compose for validator container
bash ~/tpn-subnet/scripts/update_node.sh