This project demonstrates an advanced Hardhat use case, integrating other tools commonly used alongside Hardhat in the ecosystem.
The project comes with a simple ERC-20 token implementation and AccessControl with minter & burner roles. There are also tests, deploy script and CI config.
npm ci
Create a .env
file using the .env.example
template with the following content
Try running some of the following tasks and don't forget to specify network (ex. --network mumbai
):
hh
is a shorthand fornpx hardhat
hh run scripts/deploy.ts
hh coverage
hh test test/token.test.ts
hh accounts
hh balance --account <addrs>