Skip to main content

CommuneAI Developer Documentation

Welcome! Commune is a protocol that aims to connect all developer tools into one network, fostering a more shareable, reusable, and open economy. It follows an inclusive design philosophy that is based on being maximally unopinionated. This means that developers can leverage Commune as a versatile set of tools alongside their existing projects and have the freedom to incorporate additional tools they find valuable.

By embracing an unopinionated approach, Commune acknowledges the diverse needs and preferences of developers. It provides a flexible framework that allows developers to integrate specific tools seamlessly while avoiding imposing rigid structures or constraints. This adaptability enables developers to leverage Commune's capabilities in a manner that best aligns with their individual projects and workflows.

The overarching goal of Commune is to create a collaborative ecosystem where developers can easily share, connect, and extend their tools, ultimately fostering innovation and efficiency within the development community. By providing a network that encourages openness and accessibility, Commune empowers developers to leverage the collective knowledge and resources of the community to enhance their own projects.


Start here

If you are new to Commune, start by learning the concepts. Then install the Commune software and create a wallet. Follow the below links.

Install
To validate or mine, or run your own subnet, install Commune and create wallet to get started.
READ MORE
How to participate

A straightforward way to participate in the Commune network is to be a subnet miner or a subnet validator in an existing subnet. It is not necessary to create a subnet. Follow the below links in the Validate or mine section. Alternately, if you want to create your own custom incentive mechanism, then you create your own subnet and launch your own competition. See the below Running a subnet section.


Validate or mine

You can participate in an existing subnet as either a subnet validator or a subnet miner. Follow the below links.

1. Checklist for validating and mining
When you are preparing to be a subnet validator or a subnet miner, use this checklist to get ready.
READ MORE
2. Register, validate and mine
Follow these steps to register and become a miner
READ MORE
3. Staking and Delegation
Get to know how staking and delegating works in the CommuneAI network.
READ MORE

Running a subnet

Ready to run your own subnet? Follow the below links.

Create a subnet
Step-by-step instructions for creating a local subnet or a subnet on testchain or mainchain.
READ MORE

Commune CLI

Use the Commune CLI and Python API to develop and participate in the Commune network.

Commune CLI
With Commune CLI, you can stake or unstake funds, check network state and much more.
READ MORE