opentensor / bittensor

Internet-scale Neural Networks
https://www.bittensor.com/
MIT License
903 stars 313 forks source link

Minimal Local Subnet Demo Request #2187

Closed jingcheng407 closed 2 months ago

jingcheng407 commented 3 months ago

I'm a beginner and I want to add and test my own local subnet. I've read the documentation and the code, but I still don't understand. It's a bit too complicated for me. I would like a minimal demo project with the following functionality: the miner receives two integers, performs addition, and then sends the result out. The validator will verify the correctness of the result. I'm not sure if this constitutes a complete subnet project, so if it isn't, please let me know what other modules are missing.

ibraheem-opentensor commented 3 months ago

@jingcheng407 You can take a look at the subnet template repo:

https://github.com/opentensor/bittensor-subnet-template/blob/for-staging-async-only-do-not-use-for-cloning/docs/running_on_staging.md

The miner does multiplication for the work and validators verify the correctness.