Directory of our contracts.
Clone this repository
git clone https://github.com/RigoBlock/contracts.git
cd contracts
Install dependencies, make sure you have NodeJS v7+ installed:
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
sudo apt-get install -y nodejs
npm install
Go to your contracts
directory, open a terminal and:
Run testrpc:
cd node_modules/.bin
testrpc
In a second terminal:
cd node_modules/.bin
truffle test
Steps:
run parity:
parity --chain ropsten --author <address> --unlock <address> --password <password file>
In a second terminal:
truffle migrate