> For the complete documentation index, see [llms.txt](https://seeletech.gitbook.io/wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://seeletech.gitbook.io/wiki/developer/intro.md).

# Subchain

## Brief

STEM is Seele's take on subnet infrastructure. The protocol extends the security of the already fast Seele-Mainnet to supervise and credit an even faster Seele-Subnet. Subnets, powered by various token releasing mechanisms, supposedly assumes all the creative usages of a mainnet but faster.

## Parts

The main parts consist of a **contract**, ran on mainnet, and a **subnet**, ran similarly to the mainnet. To ease interaction, a **controller** that wraps interaction with the contract and subnet is developed.

Below are detailed and concise graphs illustrating the relationship between parts.

![detailed](https://4269153166-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LrgZdo212iXPxW-9JOP%2F-M3nuAvlMTg_xIoLIaR-%2F-M3nuBVe8yVxZFOky43l%2Fdetailed.png?generation=1585713826894685\&alt=media)

![concise](https://4269153166-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LrgZdo212iXPxW-9JOP%2F-M3nuAvlMTg_xIoLIaR-%2F-M3nuBVg82LlWitVxav9%2Fconcise.png?generation=1585713827906281\&alt=media)

For more information on the integration of these parts, see [white paper](https://seele.pro/news/en/9.html) and the links below.

## Appendix

### Controler: seele-anchor-cli

[documentation](/wiki/developer/intro/seele-anchor-cli/0-user.md)

* [user](/wiki/developer/intro/seele-anchor-cli/0-user.md)
* [test](/wiki/developer/intro/seele-anchor-cli/1-test.md)

[code](https://github.com/muyiy/seele-anchor-cli)

### go-seele-sub

[documentation](/wiki/developer/api/subchain_rpc.md)

* [node api](/wiki/developer/api/subchain_rpc.md)
* [node start](/wiki/developer/intro/subchain_start.md)

[code](https://github.com/seeleteam/go-seele-sub)

### StemRootchain.sol

[documentation](/wiki/developer/intro/subchain_contract.md)

* [constructor](/wiki/developer/intro/seele-anchor-cli/2-conf.md)
* [contract](/wiki/developer/intro/subchain_contract.md)

[code](https://github.com/muyiy/seele-anchor-cli/tree/master/src/sol)
