Contract template to setup new smart-contract projects. See Parcel Contracts repo which is forked from this template: https://github.com/citydaoproject/parcel-contracts
Fork and clone this repo https://github.com/citydaoproject/contracts-template.git to begin.
To get a local copy up and running follow these simple example steps.
git clone https://github.com/citydaoproject/contracts-template.git
cd
to the project directory and execute the following:nvm install nvm use npm install
This project uses EditorConfig for IDE configuration. (Basic code formatting for maintaining the consistency across all the IDE)
Many popular IDEs and editors support this out of the box or with a plugin.
See .editorconfig
for settings.
This project uses Prettier, so please run it before checking in:
npm run pretty
See .prettierrc
for settings.
Some IDEs and editors have plugins for running Prettier.
This project uses ESLint. Check linting before checking in:
npm run lint
See tslint.json
for settings.
Many IDEs and editors support TSLint.
This project uses Mocha, Chai, and Waffle for testing. Run tests before checking in.
npm test
npm run build
- Update readme
- Live workshop demo video on YouTube
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Join #dev channel in CityDAO Discord to get more details about the project and explore more.