Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software. Get Solidity stack traces & console.log.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Franco Victorio dfc4465026
Merge pull request #3778 from shungo0222/patch-1
4 days ago
.changeset Merge pull request #3655 from zouguangxian/yarn-pnp-monorepo 3 weeks ago
.github Remove unnecessary GITHUB_TOKEN env vars from GH Action workflows 1 month ago
config Remove unnecessary global custom @types/ folder 1 month ago
crates/rethnet_evm_napi Sync .gitignore's from rethnet branch 6 months ago
docs Merge pull request #3778 from shungo0222/patch-1 4 days ago
packages Merge pull request #3655 from zouguangxian/yarn-pnp-monorepo 3 weeks ago
scripts Merge pull request #2810 from NomicFoundation/francovictorio/hh-690/hardhat-toolbox 10 months ago
.editorconfig Set trim_trailing_whitespace to true 3 months ago
.gitattributes Merge branch 'development' into task-bre-params 3 years ago
.gitignore Sync .gitignore's from rethnet branch 6 months ago
.prettierrc.json Use a prettier config file instead of passing args 2 years ago
CONTRIBUTING.md Update CONTRIBUTING.md 3 months ago
LICENSE Initial import of Buidler EVM and release 1.0.1 4 years ago
README.md Rename directories to hardhat 3 years ago
package.json Add docs/**/*.ts files to prettier script 4 days ago
yarn.lock Fix hardhat-solhint plugin error with solhint 3.4.0 1 month ago


NPM Package GitPOAP Badge

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.

Built by the Nomic Foundation for the Ethereum community.

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


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


On Hardhat's website you will find:


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 building!