Melon Protocol Solidity Implementation
-
Clone this repository
git clone git@github.com:melonproject/protocol.git cd protocol
-
Install dependencies, such as Truffle (requires NodeJS 5.0+) and Testrpc:
npm install
After installation is complete, go to the above protocol
directory, open a terminal and:
-
Launch a testrpc client:
node_modules/.bin/testrpc
-
Open a second terminal and run the test framework:
node_modules/.bin/truffle test
After installation is complete, go to the above protocol
directory, open a terminal and run:
npm run lint
After installation is complete, go to the above protocol
directory, open a terminal and:
-
Launch a ethereum client. For example something similar to this:
parity --chain kovan --author <some address> --unlock <some address> --password <some password file>
-
Open a second terminal and deploy contracts using truffle
truffle migrate --network kovan