TAO Hash is a Bittensor Subnet for incentivizing and decentralizing the production of proof-of-work (PoW) mining hashrate, rental and exchange. Validators receive hashrate from miners in exchange for issuing weights, while miners contribute hashrate and speculate on hashrate, hashprice and Alpha emissions. Effectively, Alpha is swapped for BTC hashrate automatically.
Although the initial implementation primarily supports Bitcoin mining via Braiins Pool, the architecture is designed to be extensible to other mineable projects with similar capabilities for verifying miner performance presicely and efficiently.
The core incentive mechanism aligns miners and validators through a market where hashrate is exchanged for on-chain rewards (Alpha). Validators evaluate the hashrate contributed by miners, and miners are incentivized to distribute their hashrate across validator pools proportionally to stake weight to maximize their expected return.
To run a TaoHash miner, you will need:
- A Bittensor wallet
- Bitcoin mining hardware (ASICs, GPUs, etc.) OR access to remote hashrate
- A running Redis server for data persistence
- Python 3.9 or higher
- Docker
- Docker Compose
- Braiins Farm Proxy (Minimal setup provided or use official guide)
- Any BTC Miner software capable of pointing hashrate to a local pool address
To run a TaoHash validator, you will need:
- A Bittensor wallet
- A Braiins Pool account with API access enabled
- Python 3.9 or higher environment
These steps apply to both miners and validators:
-
Clone the repository:
git clone [https://github.com/latent-to/taohash.git](https://github.com/latent-to/taohash.git) cd taohash
-
Set up and activate a Python virtual environment:
python3 -m venv venv source venv/bin/activate
-
Upgrade pip:
pip install --upgrade pip
-
Install the TaoHash package:
pip install -e .
After completing the common setup, follow the detailed steps in the Miner Guide:
- Install Redis
- Set up Braiins Farm Proxy and point your miners to it
- Configure your miner (
.env
file or command-line arguments) - Run the miner (using PM2 recommended)
For the complete, step-by-step instructions for setting up and running your miner, please refer to the TaoHash Miner Setup Guide (BTC Braiins Pool).
After completing the common setup, follow the detailed steps in the Validator Guide:
- Set up your Braiins Pool account and generate API credentials
- Configure your validator (
.env
file or command-line arguments) - Run the validator (using PM2 recommended)
For the complete, step-by-step instructions for setting up and running your validator, please refer to the TaoHash Validator Setup (BTC Braiins pool).
- Join the discussion on the Bittensor Discord in the Subnet 14 channels.
- Check out the Bittensor Documentation for general information about running subnets and nodes.
- Contributions are welcome! See the repository's contribution guidelines for details.
Full Guides: