self hosted contracts to help developer run local tests
For reference: http://truffleframework.com/tutorials/pet-shop
$ npm install -g ethereumjs-testrpc$ npm install
- start the test server
$ testrpc - compile the contracts
$ npm run compile - migrate the contracts
$ npm run migrate - run lite server to host the contract apb
$ npm run dev
GET: {host ip}:3000/{contract name}.json
- Factory contract apb
GET: localhost:3000/LoyaltyTokenFactory.json - Token contract apb
GET: localhost:3000/LoyaltyToken.json
