Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

asset-projects/hardhat-boilerplate

 
 

Repository files navigation

Boilerplate using Hardhat, which provides a development environment for compiling, deploying, testing, and debugging Ethereum software.

Using hardhat

https://hardhat.org/getting-started/#overview

Copy .env.template to create .env

  cp .env.template .env

Enter apikey and privatekey in the generated .env

  API_KEY=
  PRIVATE_KEY=

Compile Contracts

  npx hardhat compile

Testing your contracts

  npx hardhat test

Coverage your contracts

  npx hardhat coverage

Deploying your contracts

  yarn deploy --network <Network> # ropsten, rinkeby, kovan, gorli

Starts a JSON-RPC server on top of Hardhat Network

  yarn node

Sample Accounts

  npx hardhat accounts

Faucet

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 88.1%
  • Solidity 10.1%
  • Shell 1.8%