/hardhat-typescript-boilerplate

A boilerplate repository for Hardhat projects using TypeScript

Primary LanguageTypeScriptMIT LicenseMIT

hardhat-typescript-boilerplate

A boilerplate repository for Hardhat projects using TypeScript. It features:

  • Jest for running tests.
  • Ethers.js and Waffle to help with writing tests.
  • TypeChain for generating types automatically.
  • Prettier for automatically formatting source files.

Scripts

The following scripts are available.

compile

Compiles the contracts in the contracts folder with Hardhat.

yarn compile

test

Runs the tests in the tests folder with Jest.

yarn test

format

Formats all files with Prettier.

yarn format