Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

hardhat-deploy

wighawag253.1kMIT1.0.4TypeScript support: included

Hardhat Plugin For Replicable Deployments And Tests

ethereum, smart-contracts, deployment, test, testing, tool, hardhat, hardhat-deploy, hardhat-plugin

readme

hardhat-deploy

A Hardhat Plugin For Replicable Deployments And Easy Testing

Note: This is the documentation for hardhat-deploy v2 that works with hardhat v3

Documentation for hardhat-deploy v1 can be found on the v1 branch

hardhat-deploy make it easy for you to deploy your EVM smart contracts across many chains.

The version 2 is a full rewrite that has been already used in production for several years. It does not support yet all the features of version 1 but is fully modular and it is thus much easier to contribute to new deployment mechanism.

Under the hood, hardhat-deploy uses rocketh a framework agnostic system that provide a minimal api to save and load deployment.

Everything else is handled by external module. For example @rocketh/deploy give you a deploy function that you can use to deploy contracts. But you can provide your own module for advanced use case.

There are already a few like @rocketh/proxy to deploy proxy declaratively like in hardhat-deploy v1 or @rocketh/diamond to deploy diamond declaratively.

Documentation:

Please find the documentation here

changelog

hardhat-deploy

2.0.0-next.6

Patch Changes

  • fix helpers

2.0.0-next.5

Patch Changes

2.0.0-next.4

Patch Changes

  • fix SECRET

2.0.0-next.3

Patch Changes

  • fix

2.0.0-next.2

Patch Changes

  • support secret variable for networks

2.0.0-next.1

Patch Changes

  • add more helpers

2.0.0-next.0

Major Changes

  • first alpha release

Patch Changes