Key features of hardhat-deploy
mainhardhat-deploy provides several advanced deployment capabilities:
- Deterministic deployment: Ensure the same address across different networks.
- Deployment dependency system: Only deploy what is strictly necessary.
- Deployment retrying: Recover from interruptions by saving pending transactions.
- Library linking: Link libraries at the time of deployment.
- Chain configuration export: Export deployed contract addresses and ABIs (via
@rocketh/export) for use in web applications. - Contract verification: Save metadata for full verification via Sourcify or Etherscan.
- Test fixtures: Use deployments as optimized test fixtures via Hardhat helpers.
- Hot Contract Replacement (HCR): Edit contracts and see changes live using proxy patterns.