hardhat-deploy
Version:
Hardhat plugin for replicable smart contract deployments and easy testing across multiple EVM chains, with support for proxies, diamonds, named accounts, and deployment fixtures
13 lines (11 loc) • 324 B
text/typescript
import { deployScript, artifacts } from "../rocketh/deploy.js";
export default deployScript(
async ({ deploy, namedAccounts }) => {
const { deployer } = namedAccounts;
await deploy("Counter", {
account: deployer,
artifact: artifacts.Counter,
});
},
{ tags: ["Counter", "Counter_deploy"] },
);