Truffle predefined setup to deploy and test Ethereum smart contracts on Humanode.
-
Clone this repo.
-
With the files in your local system, the next step is to install all dependencies by running:
npm install -
Compile and tests contracts.
./node_modules/.bin/truffle compile- to compile./node_modules/.bin/truffle test --network dev- to test -
Deploy to Humanode network.
./node_modules/.bin/truffle migrate --network dev