"Hello world" Solidity project created for the talk at Try IT! on 18 March 2021.
This project contains a simple Smart Contract written in Solidity, as well as unit tests and a coverage plugin, developed with the Truffle framework.
- Node v14.15.5
Just run the following command.
npm install
You can do it easily with Ganache. You can set up your Ganache with Docker.
docker run --name ganache-cli -d -p 8545:8545 trufflesuite/ganache-cli:latest
npm run-script test
: runs the unit testsnpm run-script coverage
: runs the unit tests and performs code coveragenpm run-script compile
: compiles the Smart Contractnpm run-script deploy-develop
: deploys the Smart Contract on the development networknpm run-script deploy-quorum
: deploys the Smart Contract on the quorum network