Get a head start on your next project! Colony Starter (formerly known as "Hackathon Starter") includes a variety of boilerplates and example projects that will help you get started with Colony.
You may find it helpful to use Node Version Manager (
nvm) to manage Node versions.
If you are using Linux, check out Linux Setup to ensure Yarn and Docker are set up accordingly.
Globally install the colony-cli package.
yarn global add @colony/colony-cli
Move to your working directory and unpack the colony-starter package:
colony build colony-starter
Move to your new project directory and check out colony-starter for further instructions:
npx -p @colony/colony-cli colony build colony-starter
colony-cli package is a command line tool for building colonyStarter packages and running services such as Ganache, Truffle, and Trufflepig to assist with local development alongside the colonyNetwork smart contracts.
Check out some of the other starter packages by repeating steps 2 and 3 and substituting
colony-starter with the package of your choice. If you have ideas for new packages or improvements, feel free to open an issue or pull request.
- A boilerplate using colonyJS.
- A boilerplate using colonyJS with React.
- A boilerplate using colonyJS with Angular.
- A boilerplate to start building extension contracts alongside colonyNetwork.
We also have a couple example packages that you can unpack using the same
build command. If you are uncertain how to do something, it might be helpful to use one of these packages as a reference.
- A built out version of the colony-starter package with more examples.
- A built out version of the colony-starter-react package with more examples.
- A built out version of the colony-starter-angular package with more examples.
colonyStarter is under active development and packages are constantly being added and updated. If you notice a discrepancy in the documentation on this site or a bug in the code, check out the following documents for more information:
Questions? Problems? Existential dilemmas? We’re here to help!
Improve this doc.
All improvements to documentation are welcome and encouraged. Submit a PR for documentation on GitHub.