Skip to content

Latest commit

 

History

History
63 lines (43 loc) · 1.07 KB

README.md

File metadata and controls

63 lines (43 loc) · 1.07 KB

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