This is a demo of Solidity. It shows how to:
- using solc to compile a ETH contact written in Solidity;
- deploying it on a local test net;
- call the contact functions.
- clone this project.
- run
npm install
- start the test net:
npm run testrpc
- run the script:
npm run test
If all is done, the test commands' output will be like: test-output.txt.