To initialize a project with this example, run truffle unbox webpack
inside an empty directory.
- 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
- Use the webpack hotloader to sense when contracts or javascript have been recompiled and rebuild the application. Contributions welcome!