Skip to content

StwartRich/smart-contract

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.6%
  • Shell 1.4%