UNPKG

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

20 lines (18 loc) 670 B
import { type Accounts, type Data, type Extensions, extensions, } from "./config.js"; // ---------------------------------------------------------------------------- // we re-export the artifacts, so they are easily available from the alias import * as artifacts from "../generated/artifacts/index.js"; export { artifacts }; // ---------------------------------------------------------------------------- // we create the rocketh functions we need by passing the extensions to the // setup function import { setupDeployScripts } from "rocketh"; const { deployScript } = setupDeployScripts<Extensions, Accounts, Data>( extensions, ); export { deployScript };