Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software. Get Solidity stack traces & console.log.
You cannot 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 37c5c58459
Merge pull request #4397 from NomicFoundation/add-root-debug-to-gitiginore
Add /debug/ to .gitignore
2 weeks ago
.changeset Add "debug_traceCall" JSON-RPC method (#4353) 3 weeks ago
.devcontainer Add a devcontainer setup for Hardhat and EDR 2 months ago
.github Don't add edr issues/prs to the project 3 weeks ago
config Bump compilation target to es2021 2 months ago
crates/rethnet_evm_napi Sync .gitignore's from rethnet branch 1 year ago
docs Merge pull request #4396 from NomicFoundation/update-truffle-migration-guide 2 weeks ago
packages Add "debug_traceCall" JSON-RPC method (#4353) 3 weeks ago
scripts Rename hardhat-etherscan 5 months ago
.editorconfig Set trim_trailing_whitespace to true 9 months ago
.gitattributes Merge branch 'development' into task-bre-params 4 years ago
.gitignore Update .gitignore 2 weeks ago
.nvmrc feat: add .nvmrc file for easier node version management 2 months ago
.prettierrc.json Use a prettier config file instead of passing args 2 years ago
CONTRIBUTING.md Update CONTRIBUTING.md 9 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 Format js files 2 months ago
yarn.lock Merge pull request #4331 from NomicFoundation/transient-storage 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!