Hardhat

Hardhat 是一个开发环境,用于编译、部署、测试和调试你的 Ethereum 软件。获取 Solidity 堆栈痕迹和控制台.log。「Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software. Get Solidity stack traces & console.log.」

Github stars Tracking Chart


NPM Package
Build Status

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 a smart contract. Check out the plugin list to use it with your existing tools.

Developed by Nomic Labs and funded by an Ethereum Foundation grant.

Join our Hardhat Support Discord server to stay up to date on new releases, plugins and tutorials.

🚧 You are looking at the development branch of Hardhat. For the currently released versions of Hardhat and its plugins take a look at this repository's tags. 🚧

Installation

To install Hardhat, go to an empty folder, initialize an npm project (i.e. npm init), and run

npm install --save-dev hardhat

Once it's installed, just run this command and follow its instructions:

npx hardhat

Documentation

On Hardhat's website you will find:

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.

Feedback, help and news

Hardhat Support Discord server: for questions and feedback.

Follow Hardhat on Twitter.

Happy buidling!

👷‍♀️👷‍♂️👷‍♀️👷‍♂️👷‍♀️👷‍♂️👷‍♀️👷‍♂️👷‍♀️👷‍♂️👷‍♀️👷‍♂️👷‍♀️👷‍♂️

Main metrics

Overview
Name With OwnerNomicFoundation/hardhat
Primary LanguageTypeScript
Program languageJavaScript (Language Count: 7)
PlatformLinux, Mac, Windows
License:Other
所有者活动
Created At2018-04-14 22:20:59
Pushed At2025-04-18 20:28:08
Last Commit At
Release Count350
Last Release Namehardhat@3.0.0-next.4 (Posted on 2025-04-11 16:06:50)
First Release Namev1.0.0-beta.1 (Posted on )
用户参与
Stargazers Count7.7k
Watchers Count75
Fork Count1.5k
Commits Count12.4k
Has Issues Enabled
Issues Count2861
Issue Open Count558
Pull Requests Count2787
Pull Requests Open Count31
Pull Requests Close Count603
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private