hardhat

  • Version 3.9.0
  • Published
  • 4.05 MB
  • 18 dependencies
  • MIT license

Install

npm i hardhat
yarn add hardhat
pnpm add hardhat

Overview

Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.

Index

Variables

variable artifacts

const artifacts: ArtifactManager;

    variable config

    const config: HardhatConfig;

      variable globalOptions

      const globalOptions: GlobalOptions;

        variable hooks

        const hooks: HookManager;

          variable hre

          const hre: HardhatRuntimeEnvironment;

            variable interruptions

            const interruptions: UserInterruptionManager;

              variable network

              const network: NetworkManager;

                variable solidity

                const solidity: SolidityBuildSystem;

                  variable tasks

                  const tasks: TaskManager;

                    Namespaces

                    namespace ../../../../types/global-options.js

                    module '../../../../types/global-options.js' {}

                      interface GlobalOptions

                      interface GlobalOptions {}

                        property network

                        network: string;

                          namespace ../../../types/config.js

                          module '../../../types/config.js' {}

                            interface CoverageConfig

                            interface CoverageConfig {}

                              property skipFiles

                              skipFiles: string[];

                                interface CoverageUserConfig

                                interface CoverageUserConfig {}

                                  property skipFiles

                                  skipFiles?: string[];
                                  • Globs of Solidity source files to exclude from coverage instrumentation. A project file whose project-relative source name matches any of these globs is not instrumented during a --coverage run, and so does not appear in coverage reports.

                                  interface HardhatConfig

                                  interface HardhatConfig {}

                                    property coverage

                                    coverage: CoverageConfig;

                                      interface HardhatUserConfig

                                      interface HardhatUserConfig {}

                                        property coverage

                                        coverage?: CoverageUserConfig;

                                          namespace ../../../types/global-options.js

                                          module '../../../types/global-options.js' {}

                                            interface GlobalOptions

                                            interface GlobalOptions {}

                                              property coverage

                                              coverage: boolean;

                                                namespace ../../../types/hooks.js

                                                module '../../../types/hooks.js' {}

                                                  interface CleanHooks

                                                  interface CleanHooks {}

                                                    property onClean

                                                    onClean: (context: HookContext) => Promise<void>;

                                                      interface HardhatHooks

                                                      interface HardhatHooks {}

                                                        property clean

                                                        clean: CleanHooks;

                                                          Package Files (4)

                                                          Dependencies (18)

                                                          Dev Dependencies (12)

                                                          Peer Dependencies (0)

                                                          No peer dependencies.

                                                          Badge

                                                          To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                                                          You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/hardhat.

                                                          • Markdown
                                                            [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/hardhat)
                                                          • HTML
                                                            <a href="https://www.jsdocs.io/package/hardhat"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>