npm install
npx builder
change .env.example
to .env
, and set up your environment variables.
Noted: There should be a prefix 0x
in private key.
- artifacts: all constract artifacts are under this folder
- contracts: all contracts are under this folder
- scripts: all scripts are under this folder
- test: all tests are under this folder
npm run compile
After compiling, contract artifacts will be located under artifacts
folder.
Lint with Solhint
npm run lint
If you want to prettier your solidity codes, run
npm run prettier
npm run test
You can specify network options to test contracts on testnet.
npm run test:rinkeby
npm run test:ropsten
npm run flatten
npm run console
You can write your custom scripts, and run.