hardhat
Version:
Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.
26 lines • 918 B
JavaScript
import { ArgumentType } from "../../../types/arguments.js";
import { globalOption } from "../../core/config.js";
import "./type-extensions/config.js";
import "./type-extensions/global-options.js";
import "./type-extensions/hooks.js";
import "./type-extensions/hre.js";
const hardhatPlugin = {
id: "builtin:network-manager",
hookHandlers: {
config: () => import("./hook-handlers/config.js"),
hre: () => import("./hook-handlers/hre.js"),
network: () => import("./hook-handlers/network.js"),
},
globalOptions: [
globalOption({
name: "network",
description: "The network to connect to",
type: ArgumentType.STRING_WITHOUT_DEFAULT,
defaultValue: undefined,
}),
],
npmPackage: "hardhat",
dependencies: () => [import("../artifacts/index.js")],
};
export default hardhatPlugin;
//# sourceMappingURL=index.js.map