hardhat3-dev

Community

Ship Hardhat 3 contracts faster and safely

Authormashharuki
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provides clear, up-to-date guidance and patterns to eliminate confusion and errors when initializing, testing, configuring, and deploying smart contract projects on Hardhat 3, especially for teams migrating from Hardhat 2 or adopting Viem and Ignition workflows.

Core Features & Use Cases

  • Project Initialization & ESM Setup: Correctly create ESM-first hardhat.config.ts, set package.json type, and adjust tsconfig for node16 compatibility.
  • Testing Workflows: Author and run Foundry-compatible Solidity (.t.sol) tests and Viem + node:test TypeScript tests, including fixtures, event assertions, fuzzing, and invariant tests.
  • Ignition Deployments & Multi-Chain Simulation: Build declarative Ignition modules, manage deployments, proxies, and run edr-simulated multi-chain local networks for deterministic testing.
  • Migration & Best Practices: Step-by-step migration from Hardhat 2 to 3, plugin registration via plugins array, network.connect usage, and secure configVariable handling for secrets.
  • Cheatcodes & Deterministic Testing: Use vm.* cheatcodes, snapshots, forks, and networkHelpers reliably in both Solidity and TypeScript tests for robust test suites.

Quick Start

Create a new Hardhat 3 project configured for ESM with Viem + node:test, add an Ignition deploy module, and run a Solidity and TypeScript test suite on a local edr-simulated network.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: hardhat3-dev
Download link: https://github.com/mashharuki/flare-sample/archive/main.zip#hardhat3-dev

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.