hardhat
Version:
Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.
19 lines • 929 B
JavaScript
import { getOrCreateGlobalHardhatRuntimeEnvironment } from "./internal/hre-initialization.js";
// NOTE: We import the builtin plugins in this module, so that their
// type-extensions are loaded when the user imports `hardhat`.
import "./internal/builtin-plugins/index.js";
const hre =
// eslint-disable-next-line no-restricted-syntax -- Allow top-level await here
await getOrCreateGlobalHardhatRuntimeEnvironment();
export const config = hre.config;
export const tasks = hre.tasks;
export const globalOptions = hre.globalOptions;
export const hooks = hre.hooks;
export const interruptions = hre.interruptions;
// NOTE: This is a small architectural violation, as the network manager comes
// from a builtin plugin, and plugins can't add their own exports here.
export const network = hre.network;
export const artifacts = hre.artifacts;
export const solidity = hre.solidity;
export default hre;
//# sourceMappingURL=index.js.map