ConsenSys / Truffle Webpack Demo
A demo Webpack + React App using truffle-solidity-loader
Stars: ✭ 89
Programming Languages
javascript
184084 projects - #8 most used programming language
Truffle + Webpack Demo App
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
Coding Style
This repo uses JS Standard.
Running
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 server -
npm run build
- Generates a build -
truffle test
- Run the rest suite
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].