Skip to content

YutaSugimura/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