Following software is required to be installed to use this repo:
- NodeJS >= v12.0.0
This repo also uses dependecies that are associated with hardhat
but not built-in:
On first use of this repo, run yarn install
to install all required dependencies.
Then run yarn run build
to set up the repo.
Available commands:
build
- Compiles the entire project and generates Typechain typingslint
- Runs solhint on current projectclean
- Clears the cache and deletes all artifactscompile
- Compiles the entire project, building all artifactsdeploy:<network>
- Run deploy script on <network>help
- Prints all available hardhat commandsnode:local
- Starts a JSON-RPC server on top of hardhat EVMscript
- Runs a user-defined script after compiling the projecttest:localhost
- Runs mocha teststest:ci
- Runs gas check and solidity coveragetest:gas
- Runs gas checktest:coverage
- Runs solidity coveragetypechain
- Generate Typechain typings for compiled contracts