Hardhat 2 is being replaced by Hardhat 3

Hardhat 2 is being replaced by Hardhat 3

With Hardhat 3 stable and production ready, we are introducing an end of life policy for Hardhat 2, as the Node.js ecosystem moves beyond the CommonJS module system it uses.

Hardhat 2 will be upgraded to support the Glamsterdam hardfork. It will not be upgraded to the Hegota hardfork or any of its EIPs.

Hardhat 2 will continue to receive bug fixes and security fixes until it reaches end of life.

Hardhat 2 will reach end of life on whichever date comes first between:

  • the activation of the Hegota hardfork on Ethereum mainnet
  • the 1st of June 2027, if Hegota is delayed

After that date, no further releases should be expected, including for security fixes.

If you haven’t started yet, now is the time to plan your move to Hardhat 3. The Hardhat 2 migration guide walks you through the upgrade in just a few easy steps, and we are rolling out an agent skill soon which can migrate most of your repository automatically.

You can find Hardhat 2’s full end of life documentation on the website.