MCPcopy Create free account
hub / github.com/NomicFoundation/hardhat

github.com/NomicFoundation/hardhat

Chat with this repo
repository ↗ · DeepWiki ↗ · release hardhat@3.9.1 ↗ · + Follow · compare 2 versions
5,222 symbols 18,054 edges 1,686 files 481 documented · 9% updated 4d ago@nomicfoundation/hardhat-ignition@3.1.8 · 2026-07-02★ 8,496606 open issues

Browse by type

Functions 3,947 Types & classes 1,275
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Hardhat is an Ethereum development environment for professionals. It facilitates performing frequent tasks, such as running tests, automatically checking code for mistakes or interacting with smart contracts.

Built by the Nomic Foundation for the Ethereum community.


💡 This is the README for Hardhat 3, the new major version of Hardhat. For the previous version (v2), see this branch instead.


Getting started

To install Hardhat and initialize a new project, run the following command in an empty directory:

npx hardhat --init

This will take you through an interactive setup process to get started.

Learn more

To learn more about Hardhat, check out the documentation.

Contributing

Contributions are always welcome! Feel free to open any issue or send a pull request.

Go to CONTRIBUTING.md to learn about how to set up Hardhat's development environment.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Function 2,315
Method 1,632
Interface 770
Class 468
Enum 37

Languages

TypeScript100%

Modules by API surface

packages/hardhat-ethers/src/internal/hardhat-ethers-provider/hardhat-ethers-provider.ts74 symbols
packages/ignition-core/test/execution/future-processor/helpers/network-interaction-execution.ts53 symbols
packages/hardhat-ignition/src/helpers/pretty-event-handler.ts46 symbols
packages/ignition-core/src/internal/module.ts44 symbols
packages/hardhat-utils/src/fs.ts43 symbols
packages/ignition-core/src/internal/module-builder.ts40 symbols
packages/hardhat-verify/src/internal/etherscan.ts40 symbols
packages/ignition-core/src/types/execution-events.ts37 symbols
packages/hardhat/src/internal/builtin-plugins/solidity/build-system/build-system.ts37 symbols
packages/hardhat-network-helpers/src/types.ts35 symbols
packages/hardhat-keystore/src/internal/keystores/encryption.ts35 symbols
packages/ignition-core/src/internal/execution/jsonrpc-client.ts34 symbols

Dependencies from manifests, versioned

@actions/core1.10.1 · 1×
@changesets/changelog-github0.6.0 · 1×
@changesets/cli2.16.0 · 1×
@eslint-community/eslint-plugin-eslint-comments4.5.0 · 1×
@ethersproject/abi5.8.0 · 1×
@ethersproject/address5.6.1 · 1×
@fontsource/roboto5.0.8 · 1×
@istanbuljs/nyc-config-typescript1.0.2 · 1×
@ledgerhq/errors6.25.0 · 1×
@ledgerhq/hw-app-eth6.45.19 · 1×
@ledgerhq/hw-transport6.31.11 · 1×

For agents

$ claude mcp add hardhat \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page