Skip to content

elrypto/hardhat-typescript-template

Repository files navigation

Base hardhat typescript project

Contracts and tests setup

Install Packages

yarn install

Compile

yarn compile

Test

yarn test

or

yarn local        (in seperate shell)
yarn test-local

Deploy

yarn local         (in seperate shell)
yarn deploy

or

yarn deploy-kovan

Optionally - Need to add .ENV for alchemy for mainnet forking

ALCHEMY_API_KEY=
COINMARKETCAP=
ETHERSCAN=
PRIVATE_KEY=

PRIVATE_KEY is your testnet (e.g. KOVAN) private key that you can export from metamask

About

basic setup for hardhat and typescript projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published