Buidler-Starter
Requirements
Following software is required to be installed to use this repo:
- NodeJS >= v12.0.0
This repo also uses dependecies that are associated with buidler
but not built-in:
Usage
On first use of this repo, run yarn install
to install all required dependencies.
Then run yarn run build
to set up the repo.
Run yarn run help
to see all 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:local
- Run deploy script on localhostconsole
- Opens a buidler consolecoverage
- Generates a code coverage report for testsflatten
- Flattens and prints all contracts and their dependencieshelp
- Prints available commandsnode
- Starts a JSON-RPC server on top of Buidler 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