Subnet Creation Best Practices

Thinking of starting a Subnet?


Here are some ideas for you to think about:

Subnet framework

  • The Opentensor Foundation has a Subnet Framework . It is old - expect to need many updates:
  • namoray (creator of Subnet 19) has created Fiber

Subnet incentive mechanisms

  • mogmachine gave a talk on September 2024 on Incentive mechanism creation.

  • Namoray gave spoke on the Bittensor Guru podcast on his vision of subnets in Episode 37 (Video below), episode 20 is also a good introduction to subnet creation.


Subnet Identity

Your Subnet's name, Discord, GitHub Repo and website. Update these on the chain using btcli btcli s get-identity. you will be prompted to add all of the fields, and then the values stored on chain. Taostats will update on the next epoch with your new values.

Check your set identity with btcli s get_identity

                      Current Subnet 1 Identity                       
                                                                      
           Item ┃ Value                                               
━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
         Netuid │ 1                                                   
    subnet_name │ Apex                                                
    github_repo │ https://github.com/macrocosm-os/apex                
 subnet_contact │ [email protected]                              
     subnet_url │ https://apex.macrocosmos.ai                         
        discord │ macrocrux                                           
    description │ Building the world's fastest deep researchers       
       logo_url │ https://www.macrocosmos.ai/images/mc_logo_black.png 
     additional │ ~                                                   
────────────────┼─────────────────────────────────────────────────────
                │                                                     
📘

Tips for setting identity

The biggest issue is the logo URL.

This must be the url of the raw image - not the url of a page hosting the image.

for example:

https://github.com/taostat/.github/blob/main/profile/taostats.png

This is a page hosting the image. Right click the image and open in a new tab.

✅. https://raw.githubusercontent.com/taostat/.github/refs/heads/main/profile/taostats.png

This is the link to the image served by Github. Use this image.


Immune Owner Neurons

Owners can set how many immune neurons they have via the ImmuneOwnerUidsLimit parameter. The default is 1, but the max is 10.

Running a Validator

All Subnet owners have at least one neuron that cannot be deregistered. This is intended to be run as a validator:

  • Validators provide access to the subnet commodity. With a validator, SN owners now have access to their commodity.
  • Mining incentive to this hotkey is burned. SN owner cannot run a miner on this hotkey (and receive alpha).

Setting up a validator

  • Make sure your validator is setting weights
  • Work with other valis to ensure they are running teh subnet code, and your vali is in consensus.