1---2name: hardhat3description: Hardhat — Ethereum development environment (Runner, Network, Ignition, config, tasks, plugins, testing, deployment).4metadata:5 author: hairy6 version: "2026.2.9"7 source: Generated from https://github.com/NomicFoundation/hardhat and https://hardhat.org/docs8---910> Skill based on Hardhat (NomicFoundation/hardhat), generated 2026-02-09. Official docs: https://hardhat.org/docs1112Hardhat is an Ethereum development environment: task runner (compile, test, run, node), built-in Hardhat Network, Hardhat Ignition for declarative deployment, and plugins (toolbox ethers/viem, Chai matchers, verify, etc.).1314## Core References1516| Topic | Description | Reference |17|-------|-------------|-----------|18| Getting started | Init, tasks, compile/test/deploy flow | [core-getting-started](references/core-getting-started.md) |19| Configuration | hardhat.config, networks, solidity, paths, mocha | [core-config](references/core-config.md) |20| HRE | Hardhat Runtime Environment, network, artifacts, config | [core-hre](references/core-hre.md) |21| Compiler config | Solidity version, optimizer, viaIR, settings | [core-compiler-config](references/core-compiler-config.md) |22| Build profiles | default vs production, --build-profile, solidity.profiles | [core-build-profiles](references/core-build-profiles.md) |23| Config variables | configVariable, keystore, secrets, env | [core-config-variables](references/core-config-variables.md) |24| Tasks and plugins | HRE, tasks, plugins, creating tasks | [core-tasks-plugins](references/core-tasks-plugins.md) |2526## Features2728| Topic | Description | Reference |29|-------|-------------|-----------|30| Hardhat Network | In-process vs node, JSON-RPC, forking, network helpers | [features-network](references/features-network.md) |31| Hardhat Ignition | Declarative deployment, buildModule, Future, deploy | [features-ignition](references/features-ignition.md) |32| Deployment overview | Ignition vs scripts, network and keystore setup | [features-deployment-overview](references/features-deployment-overview.md) |33| Deployment scripts | viem/ethers deploy in scripts, hardhat run, --build-profile | [features-deployment-scripts](references/features-deployment-scripts.md) |34| Multichain | Chain types (l1, op), --chain-type, network.connect chainType | [features-multichain](references/features-multichain.md) |35| Testing | loadFixture, Chai matchers, network helpers | [features-testing](references/features-testing.md) |36| Testing (Viem + node:test) | hre.network.connect, viem assertions, network helpers | [features-testing-viem](references/features-testing-viem.md) |37| Solidity tests | .t.sol, setUp, fuzz, forge-std, cheatcodes | [features-testing-solidity](references/features-testing-solidity.md) |38| Code coverage | --coverage, LCOV, HTML report | [features-testing-coverage](references/features-testing-coverage.md) |39| Gas statistics | --gas-stats, per-function and deployment gas | [features-testing-gas-stats](references/features-testing-gas-stats.md) |40| Toolbox and verify | Ethers vs Viem toolbox, contract verification | [features-toolbox-verify](references/features-toolbox-verify.md) |4142## Advanced4344| Topic | Description | Reference |45|-------|-------------|-----------|46| Cheatcodes | vm.prank, time, and other Solidity test cheatcodes | [advanced-cheatcodes](references/advanced-cheatcodes.md) |4748## External Links4950- [Hardhat docs](https://hardhat.org/docs)51- [Hardhat Runner](https://hardhat.org/hardhat-runner)52- [Hardhat Network](https://hardhat.org/hardhat-network/docs)53- [Hardhat Ignition](https://hardhat.org/ignition/docs)54- [NomicFoundation/hardhat](https://github.com/NomicFoundation/hardhat)