This is a simple Dapp boilerplate utilising Truffle and Webpack. Fire up the app, then try changing the value of the default balance in contracts/MetaCoin.sol
from 10000
to 50000
and see the contract be recompiled, hot reloaded and the value updated.
Note: Make sure you are running at least geth 1.4.17-stable-3885907c
, or in some way be running at least solc ^0.4.0
This repo uses JS Standard.
The Web3 RPC location will be picked up from the truffle.js
file.
- Clone this repo
npm install
- Make sure
testrpc
is running on its default port. Then:
npm run start
- Starts the development servernpm run build
- Generates a buildtruffle test
- Run the rest suite