hardhat-framework
Expert usage of Hardhat for smart contract development, testing, and deployment. Includes TypeChain generation, plugin ecosystem, network forking, and deployment management.
npx skills add a5c-ai/babysitter --skill hardhat-framework --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Hardhat Framework Skill Expert-level usage of Hardhat, the most popular Ethereum development environment. ## Capabilities - **Configuration**: Set up hardhat.config.js for multi-network - **Testing**: Write tests with ethers.js/viem - **Plugins**: Use plugins (upgrades, gas-reporter, coverage) - **Local Network**: Run Hardhat Network for development - **Deployment**: Execute scripts and manage deployments - **Forking**: Fork mainnet for testing - **TypeChain**: Generate TypeScript typings ## Installation ```bash # Create project mkdir my-project && cd my-project npm init -y # Install Hardhat npm install --save-dev hardhat # Initialize project npx hardhat init # Install common dependencies npm install --save-dev @nomicfoundation/hardhat-toolbox ``` ## Configuration ### hardhat.config.js ```javascript require("@nomicfoundation/hardhat-toolbox"); require("@openzeppelin/hardhat-upgrades"); require("hardhat-gas-reporter"); require("solidity-coverage"); /** @type import('hardhat/config').HardhatUserConfig */ module.exports = { solidity: { version: "0.8.20", settings: { optimizer: { enabled: true, runs: 200, }, viaIR: false, }, }, networks: { hardhat: { forking: { url: process.env.MAINN
- Capabilities
- Installation
- Configuration
- hardhat.config.js
- TypeScript Configuration
- Testing
- Basic Test
- TypeScript Test
- Fork Testing
- Deployment Scripts
- Basic Deployment
- Upgradeable Deployment
- Upgrade Script
- Hardhat Tasks
Create project mkdir my-project && cd my-project npm init -y Install Hardhat npm install --save-dev hardhat Initialize project npx hardhat init Install common dependencies npm install --save-dev @nomicfoundation/hardhat-toolbox Compile
What does the hardhat-framework skill do?
Expert usage of Hardhat for smart contract development, testing, and deployment. Includes TypeChain generation, plugin ecosystem, network forking, and deployment management.
How do I install it?
Run `npx skills add a5c-ai/babysitter --skill hardhat-framework --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
