1---2name: hardhat3description: Hardhat — Ethereum development environment (Runner, Network, Ignition, config, tasks, plugins, testing, deployment).4---56> Skill based on Hardhat (NomicFoundation/hardhat), generated 2026-02-09. Official docs: https://hardhat.org/docs78Hardhat 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.).910## Core References1112| Topic | Description | Reference |13|-------|-------------|-----------|14| Getting started | Init, tasks, compile/test/deploy flow | [core-getting-started](references/core-getting-started.md) |15| Configuration | hardhat.config, networks, solidity, paths, mocha | [core-config](references/core-config.md) |16| HRE | Hardhat Runtime Environment, network, artifacts, config | [core-hre](references/core-hre.md) |17| Compiler config | Solidity version, optimizer, viaIR, settings | [core-compiler-config](references/core-compiler-config.md) |18| Build profiles | default vs production, --build-profile, solidity.profiles | [core-build-profiles](references/core-build-profiles.md) |19| Config variables | configVariable, keystore, secrets, env | [core-config-variables](references/core-config-variables.md) |20| Tasks and plugins | HRE, tasks, plugins, creating tasks | [core-tasks-plugins](references/core-tasks-plugins.md) |2122## Features2324| Topic | Description | Reference |25|-------|-------------|-----------|26| Hardhat Network | In-process vs node, JSON-RPC, forking, network helpers | [features-network](references/features-network.md) |27| Hardhat Ignition | Declarative deployment, buildModule, Future, deploy | [features-ignition](references/features-ignition.md) |28| Deployment overview | Ignition vs scripts, network and keystore setup | [features-deployment-overview](references/features-deployment-overview.md) |29| Deployment scripts | viem/ethers deploy in scripts, hardhat run, --build-profile | [features-deployment-scripts](references/features-deployment-scripts.md) |30| Multichain | Chain types (l1, op), --chain-type, network.connect chainType | [features-multichain](references/features-multichain.md) |31| Testing | loadFixture, Chai matchers, network helpers | [features-testing](references/features-testing.md) |32| Testing (Viem + node:test) | hre.network.connect, viem assertions, network helpers | [features-testing-viem](references/features-testing-viem.md) |33| Solidity tests | .t.sol, setUp, fuzz, forge-std, cheatcodes | [features-testing-solidity](references/features-testing-solidity.md) |34| Code coverage | --coverage, LCOV, HTML report | [features-testing-coverage](references/features-testing-coverage.md) |35| Gas statistics | --gas-stats, per-function and deployment gas | [features-testing-gas-stats](references/features-testing-gas-stats.md) |36| Toolbox and verify | Ethers vs Viem toolbox, contract verification | [features-toolbox-verify](references/features-toolbox-verify.md) |3738## Advanced3940| Topic | Description | Reference |41|-------|-------------|-----------|42| Cheatcodes | vm.prank, time, and other Solidity test cheatcodes | [advanced-cheatcodes](references/advanced-cheatcodes.md) |4344## External Links4546- [Hardhat docs](https://hardhat.org/docs)47- [Hardhat Runner](https://hardhat.org/hardhat-runner)48- [Hardhat Network](https://hardhat.org/hardhat-network/docs)49- [Hardhat Ignition](https://hardhat.org/ignition/docs)50- [NomicFoundation/hardhat](https://github.com/NomicFoundation/hardhat)