Skip to content

Latest commit

 

History

History
36 lines (19 loc) · 1018 Bytes

README.md

File metadata and controls

36 lines (19 loc) · 1018 Bytes

License: GPLVersion Badge

Hardhat Template

this project is a hardhat template, which supports typescript and includes a lot of useful tools, like code lint, doc generator, and other contract tools

Install

yarn

Get start

  1. create .env file and set your mnemonic as below

    MNEMONIC="your mnemonic"

  2. compile contracts, it will generate contract artifacts also typechains

    yarn build

  3. test contracts

    yarn test

  4. deploy contracts, network name is configured in your hardhat.config.ts, once contracts are deployed, hardhat will generate deployments files

    npx hardhat --network {{network name}} deploy

  5. verify contracts

    npx hardhat --network {{network name}} verify {contract address}


Once the rpc url is unavailable, check it here