This is a simple Bittensor subnet that implements a dummy forward pass. The purpose of this example is to demonstrate how to create a basic subnet in Bittensor.
- Python 3.x
- Bittensor (installable via
pip install bittensor) - Local Subnet running in port 9944
- Registred wallet "miner" and "validate" on netuid 1
-
Clone this repository:
git clone https://github.com/maxallen687/bittensor-subnet-dummy.git
pip install -r requirements.txt
Run the neurons/miner.py and neurons/validator.py script to start the subnet:
The dummy subnet implements a simple forward pass that takes a nonce as input and returns a SHA-256 hash of the nonce. This example is purely illustrative and should not be used in a real production environment.