github NomicFoundation/hardhat hardhat@2.18.0
Hardhat v2.18.0

latest releases: hardhat@2.22.15, hardhat@2.22.14, hardhat@2.22.13...
13 months ago

This version of Hardhat adds support for scoped tasks.

You can now create scopes to group multiple tasks that are related in some way:

const myScope = scope("my-scope", "Scope description");

myScope.task("my-task", "Do something")
  .setAction(async () => { ... });

myScope.task("my-other-task", "Do something else")
  .setAction(async () => { ... });

Thanks to @zemse, who kickstarted the work on this!

Don't miss a new hardhat release

NewReleases is sending notifications on new releases.