Demo v0.1.0

alt text

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:

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