Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software.
Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software.
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.
To install Hardhat and initialize a new project, run the following command in an empty directory:
npx hardhat --initThis will take you through an interactive setup process to get started.
To learn more about Hardhat, check out the documentation.
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.
Prompts only receive the first line of piped input (e.g. `hardhat keystore set` in CI exits with code 13)
Upgrade micro-eth-signer to v0.20
Update Socket configuration for Hardhat and VSCode extension
Support direct Node execution of scripts and tests
hardhat-viem: support full viem Chain config via chainDescriptors
Support viem tokens in hardhat-viem
Invalid HTTPS_PROXY values are reported as unexpected Hardhat errors
Upgrade to EDR v0.21.0
Provide command line utilities
Move to Mocha 12 in `hardhat-mocha`