Skip to content
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.

Latest commit

 

History

History
38 lines (30 loc) · 1.64 KB

Readme.md

File metadata and controls

38 lines (30 loc) · 1.64 KB

Truffle Development Environment

Standard - JavaScript Style Guide Greenkeeper badge Travis build status

⚠️ Warning: Deprecated ⚠️

This development environment is deprecated. For new projects, please consider using one of the excellent Truffle boxes, such as our Truffe and React box.

Summary

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).

Usage

  1. Check out a clean copy of this repository
  2. 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.
  3. 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)
  4. Run yarn devsetup to have all Node dependencies installed and local modules configured properly.