/Coin

Primary LanguageJavaScript

coin

Sha-Coin[Helps to Creating & Sending Coins/Tokens for any Purpose like an Issuing Tickets in Cricket Matches/Cinema Hall/ Conferences etc.,] is a Basically Solidity Programming[SmartContract] for Creating Ethereum Dapp which includes ,Truffle FrameWork[Migrate/Delopy/Test in Private Blockchain] and Front-end(HTML+JS+CSS)

Installations:

Install packages

sudo apt-get update && sudo apt-get -y upgrade

sudo apt-get -y install curl git vim build-essential

Install NodeJs

curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -

sudo apt-get install -y nodejs

sudo npm install -g express

Install Truffle

sudo npm install -g truffle

Install testrpc

sudo npm install -g ethereumjs-testrpc

How to run the Project?

  1. Open the terminal & clone the coin project in one directory & follow enter the following commands:

    a. truffle compile //compiles solidity file

    b. truffle migrate // migrating all files in Private Blockchain i.e TESTRPC

    NOTE: Before Migration run TESTRPC in another Terminal by using command testrpc

    c.npm run dev //pick the url:localhost:8080

  2. Paste URL in any Browser http://localhost:8080