This repository serves as a knowledge base for all subnet information within the Bittensor ecosystem. It provides structured documentation for each subnet to help users, developers, and stakeholders understand their purpose, technical specifications, and operational details. This is also currently in use by Backprop Finance by Tensorplex Labs.
Thank you for your interest in adding your subnet to our repository! Follow these steps to ensure your subnet information is properly included:
Create a new folder in the repository under the data
directory using your subnet's netuid as the folder name:
Note
We recommend using Subnet 52 (Tensorplex Dojo) as a template to start from.
subnet-docs/
├── data/
│ ├── 1/ # Subnet netuid
│ │ ├── subnet.json # Required
│ │ └── description.html # Optional
│ ├── <YOUR_NETUID>/ # Your subnet's netuid
│ │ ├── subnet.json # Required
│ │ └── description.html # Optional
Your subnet folder must contain a subnet.json
file that follows the schema format. Here's an example template:
- We will host your subnet logo at a stable URL (referenced in the
image_url
field), therefore please provide a downloadable link for the image in the PR and we will host it for you. The image should have a minimum resolution of 128x128. The following formats are supported: SVG, PNG, JPG, WEBP. - description.html is optional. You may provide a more detailed description with HTML formatting in a
description.html
file. If not provided, please leave this field empty. - To add a new category that is not already defined in
categories.json
, please include justification in the PR. - The label
tplx_publication_link
is reserved for Tensorplex Labs publications, which will be managed by the team instead.
- Fork this repository
- Create a new branch for your subnet documentation
- Add your subnet folder with the required
subnet.json
and optionaldescription.html
files - Submit a pull request with a clear description of your subnet
- Once approved, your subnet documentation will be merged and published
The generate_subnets.py
script processes all subnet folders and generates consolidated documentation:
- It scans all directories in the
data/
folder - Processes each subnet's
subnet.json
file and incorporates thedescription.html
content when available - Validates the JSON against the schema to ensure all required fields are present
- Generates standardized output files with consistent formatting for downstream use (e.g. Subnet Info page on Backprop Finance)
Note
The script automatically runs when changes are merged to the main branch, so you don't need to run it manually.
If you have any questions about adding your subnet documentation, please open an issue in this repository or reach out to us.
Thank you for contributing to our repository!