Usage
To initialize a project with this example, run truffle unbox webpack
inside an empty directory.
Building the frontend
- First run
truffle compile
, then runtruffle migrate
to deploy the contracts onto your network of choice (default "development"). - Then run
npm run dev
from app folder to build the app and serve it on http://localhost:8080
Possible upgrades
- Use the webpack hotloader to sense when contracts or javascript have been recompiled and rebuild the application. Contributions welcome!