Universal Cryptocurrency based on Ethereum for instant trading CS:GO, Dota 2 skins, and making bets on e-sports events
To run tests you need to install the following software:
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
To deploy smart contracts to live network do the following steps:
- Go to the smart contract folder and run truffle console:
$ cd smart-contract
$ truffle console
- Inside truffle console invoke "migrate" command to deploy contracts:
truffle> migrate