Comprehensive guide for migrating projects from hardhat-deploy v1 to v2, including dependency updates, configuration restructuring, deploy script conversion, test updates, and troubleshooting
76
65%
Does it follow best practices?
Impact
100%
5.26xAverage score across 3 eval scenarios
Advisory
Suggest reviewing before use
Optimize this skill with Tessl
npx tessl skill review --optimize ./skills/hardhat-deploy-migration/SKILL.mdDeploy script conversion to v2 pattern
deployScript wrapper
20%
100%
env parameter
50%
100%
namedAccounts via env
25%
100%
account: not from:
100%
100%
artifact: parameter present
0%
100%
No log/autoMine params
100%
100%
Tags in second arg
0%
100%
viem not ethers
0%
100%
deployViaProxy for proxy
0%
100%
env.tags.live not hre.network.live
25%
100%
.js extensions on local imports
100%
100%
rocketh/deploy.js import
37%
100%
Project configuration restructuring for v2
type:module in package.json
0%
100%
hardhat v3 version
0%
100%
rocketh packages present
0%
100%
v1 packages removed
0%
100%
viem dependency
0%
100%
plugins array in config
0%
100%
HardhatDeploy default import
0%
100%
namedAccounts removed from config
0%
100%
solidity profiles format
0%
100%
network helpers from hardhat-deploy
0%
100%
rocketh/config.ts created
0%
100%
rocketh/deploy.ts created
0%
100%
rocketh/environment.ts created
0%
100%
tsconfig module:node16
0%
100%
Test file migration to v2 patterns
node:test runner
0%
100%
earl assertions
0%
100%
loadAndExecuteDeploymentsFromFiles
20%
100%
network.connect() usage
0%
100%
networkHelpers.loadFixture
0%
100%
env.get with ABI type
22%
100%
ABI types from generated
0%
100%
env.execute for writes
40%
100%
env.unnamedAccounts
0%
100%
BigInt literals in args
0%
100%
.js on local imports
57%
100%
No ethers.getContract
100%
100%
a1cee92
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.