A simple Ethereum smart contract and lightwallet example.
For noobs! There might be bugs here.
Current code uses Truffle v3.4.11
Install [testrpc] (or use geth)
$ npm install -g ethereumjs-testrpc
Install truffle:
$ npm install -g truffle
If you don't have solc you can get it here
Run testrpc in one console window:
$ testrpc
In another console window run truffle from project root directory:
$ truffle compile
$ truffle migrate
$ truffle test
$ truffle serve // server at localhost:8080
Running truffle serve
currently is resulting in the error: TypeError: fsevents is not a constructor
The current workaround for this is to run truffle init webpack
when creating creating the directory and then running
npm run dev
in place of truffle serve