This development environment is deprecated. For new projects, please consider using one of the excellent Truffle boxes, such as our Truffe and React box.
This is a template project to quickly get started with development of Ethereum smart contracts and the web interface to them. It provides a setup based on Truffle for the smart contracts, and React for client-side JavaScript. There is also a REST server template based on Node and Express. Unit tests are setup for all three (smart contracts, webapp and rest server).
- Check out a clean copy of this repository
- Remove the git registration (
rm -rf .git
). Probably you now want to initialize a new git repo and add the initial state of your project. - Make it your own: run
yarn init
for the main module and all submodules:yarn init (cd src/app-contracts; yarn init) (cd src/app-restserver; yarn init) (cd src/app-webapp; yarn init)
- Run
yarn devsetup
to have all Node dependencies installed and local modules configured properly.