No description, website, or topics provided.
JavaScript Shell
Switch branches/tags
Nothing to show
Clone or download

README.md

SkinCoin-token

Universal Cryptocurrency based on Ethereum for instant trading CS:GO, Dota 2 skins, and making bets on e-sports events

Requirements

To run tests you need to install the following software:

How to test

To run test open the terminal and run the following commands:

$ cd smart-contract
$ truffle migrate
$ truffle test ./test/MainFlow.js
$ truffle test ./test/RefundFlow.js
$ truffle test ./test/RefundFlow.js

NOTE: All tests must be run separately as specified

Deployment

To deploy smart contracts to live network do the following steps:

  1. Go to the smart contract folder and run truffle console:
$ cd smart-contract
$ truffle console
  1. Inside truffle console invoke "migrate" command to deploy contracts:
truffle> migrate