NomicFoundation/hardhat

Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software.

TypeScript

8,508

19,990 commits

updated Sep 25, 2026

See the code

README

Hardhat is an Ethereum development environment for professionals. It facilitates performing frequent tasks, such as running tests, automatically checking code for mistakes or interacting with smart contracts.

Built by the Nomic Foundation for the Ethereum community.


💡 This is the README for Hardhat 3, the new major version of Hardhat. For the previous version (v2), see this branch instead.


Getting started

To install Hardhat and initialize a new project, run the following command in an empty directory:

npx hardhat --init

This will take you through an interactive setup process to get started.

Learn more

To learn more about Hardhat, check out the documentation.

Contributing

Contributions are always welcome! Feel free to open any issue or send a pull request.

Go to CONTRIBUTING.md to learn about how to set up Hardhat's development environment.

blockchain
dapps
debugging
ethereum
javascript
smart-contracts
solidity
task-runner
tooling
typescript

Contributors

(top 30 of 395)

alcuadrado

5,065 commits

fvictorio

3,549 commits

kanej

2,204 commits

NomicFoundation/hardhat

Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software.

TypeScript

8,508

19,990 commits

updated Sep 25, 2026

See the code

README

Hardhat is an Ethereum development environment for professionals. It facilitates performing frequent tasks, such as running tests, automatically checking code for mistakes or interacting with smart contracts.

Built by the Nomic Foundation for the Ethereum community.


💡 This is the README for Hardhat 3, the new major version of Hardhat. For the previous version (v2), see this branch instead.


Getting started

To install Hardhat and initialize a new project, run the following command in an empty directory:

npx hardhat --init

This will take you through an interactive setup process to get started.

Learn more

To learn more about Hardhat, check out the documentation.

Contributing

Contributions are always welcome! Feel free to open any issue or send a pull request.

Go to CONTRIBUTING.md to learn about how to set up Hardhat's development environment.

blockchain
dapps
debugging
ethereum
javascript
smart-contracts
solidity
task-runner
tooling
typescript

Contributors

(top 30 of 395)

alcuadrado

5,065 commits

fvictorio

3,549 commits

kanej

2,204 commits

Languages

TypeScript

96.2%

Solidity

1.9%

JavaScript

1.3%