ConsenSys/truffle-webpack-demo

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Truffle + Webpack Demo App

MetaCoin Example

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 50000and 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

Coding Style

This repo uses JS Standard.

Running

The Web3 RPC location will be picked up from the truffle.js file.

  1. Clone this repo
  2. npm install
  3. Make sure testrpc is running on its default port. Then:
  4. npm run start - Starts the development server
  5. npm run build - Generates a build
  6. truffle test - Run the rest suite

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.