Name: truffle-webpack-demo
Owner: ConsenSys
Description: A demo Webpack + React App using truffle-solidity-loader
Created: 2016-09-01 23:03:26.0
Updated: 2018-01-14 18:31:34.0
Pushed: 2017-03-21 05:36:18.0
Homepage: null
Size: 239
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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.
npm install
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