This is a Hardhat project with several simple contracts and their test in TypeScript. It uses OpenZeppelin contracts as the base contract most of the time.
Compiled contracts are fed into TypeChain to generate types, which are then used within TypeScript.
yarn compileto compile the contracts.yarn testto test the contracts.yarn lintto lint everything.yarn node:startto start a Hardhat node onlocalhost.yarn node:run <path>to run a script at the given path onlocalhost.
- TypeScript codes are formatted & linted with GTS.
- Contracts are formatted with Solidity + Hardhat.
- Contracts are linted with solhint.