Universal Cryptocurrency based on Ethereum for paying registered schedule of benefits
To run tests you need to install the following software:
To run test open the terminal and run the following commands:
$ cd umc
$ truffle migrate
$ ./testrpc.sh
$ truffle test ./test/MainFlow.js
$ truffle test ./test/RefundFlow.js
$ truffle test ./test/FastFlow.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 umc
$ truffle console
- Inside truffle console invoke "migrate" command to deploy contracts:
truffle> migrate