hardhat-v3-fork-testing
CommunityForked-mainnet Solidity testing with Hardhat v3.
Software Engineering#solidity#foundry#hardhat#testing-guidelines#smart-contract-testing#fork-testing#forked-mainnet
Authorphpmac
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Tests for interactions with deployed contracts on a forked mainnet using Hardhat v3 + Foundry-style Solidity tests, providing a safe, repeatable workflow.
Core Features & Use Cases
- Provides a standardized approach for forked-mainnet testing with Hardhat v3.
- Guides setup, test naming, and debugging for stateful scenarios and upgrade compatibility.
- Suitable for validating real-chain state against deployed contracts in a controlled environment.
Quick Start
Follow this guide to author a forked-mainnet test and run it with your Hardhat test command.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: hardhat-v3-fork-testing Download link: https://github.com/phpmac/skills/archive/main.zip#hardhat-v3-fork-testing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.