Demo v0.1.0
Disclamer
No Copyright Infringement Intended.
LICENSE.
You can use this code as you want, also for commercial use, but you have to add "Ethereum Watcher - Alberto Carbognin" in your application.
Introduction
Ganache allows developer to run ethereum blockchain privately and locally. Truffle is a framework to develop and testing Solidity Smart Contracts.
Installation
Development/running demo enviroment:
Install the dependencies:
$ npm install
Running Demo
Setup gananche with following parameters:
- http://localhost:8545/
- network id: 5777
- Gas price: 1
Deploy the Smart Contract on Network:
$ truffle migrate
whether it's not the first time you're deploying use:
$ truffle migrate --reset
Run web server:
$ npm run dev
Testing
Use the following commands in main directory:
$ truffle migrate
$ truffle test ./test/wel_coin.js
Other Stuff
$ truff --network live console