Skip to content

Consensys/truffle-webpack-demo

Repository files navigation

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:
  • npm run start - Starts the development server
  • npm run build - Generates a build
  • truffle test - Run the rest suite

About

A demo Webpack + React App using truffle-solidity-loader

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published