To make things easier for subnet builders. Commune AI provides a subnet template that you can get started off of.
The whole subnet template is built on top of the CommuneX library / SDK. Which is truly the only essential dependency.
Although in order to make the template more explicit we also provide additional libraries. You can find the whole dependency list we used in the requirements.txt file.
From the root of your project, you can just call comx module serve. For example:
To run the validator, just call the file in which you are executing validator.validate_loop(). For example: