Skip to content

Alexandas/HardhatTemplate

Repository files navigation

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

About

Template project for hardht, using typescript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published