This is a boilerplate for create a solid smart contracts with Solidity, Hardhat, Typescript, Chai and Waffle
-
βοΈ Toolings for linting, formatting, and conventions configured
solhint
,eslint
andprettier
- π· Hardhat environment
- π₯ Type checking Typescript
- For testing:
- Chai
- Waffle
You can either click Use this template
button on this repository and clone the repo or directly from your terminal:
npx degit michyaraque/smart-contract-boilerplate <YOUR_APP_NAME>
-
Run
yarn install
in the root directory. -
Change
.env.example
to.env
and put your private key on the key PRIVATE_KEY_DEPLOYER
Run npx hardhat test
to run the unit tests.
Run npx hardhat coverage
to get the actual testing coverage.