a5c-ai/babysitter / library/specializations/cryptography-blockchain/skills/hardhat-framework
hardhat-framework
VerifiedExpert usage of Hardhat for smart contract development, testing, and deployment. Includes TypeChain generation, plugin ecosystem, network forking, and deployment management.
README.md
View on GitHub# Hardhat Framework Skill
Expert usage of Hardhat for smart contract development, testing, and deployment.
## Overview
This skill provides comprehensive capabilities for using Hardhat, the most popular Ethereum development environment with a rich plugin ecosystem.
## Key Capabilities
- **Testing**: Write comprehensive tests with ethers.js
- **Deployment**: Script-based deployment management
- **Forking**: Test against mainnet state
- **Plugins**: Use upgrades, coverage, gas reporter
## Quick Start
```bash
# Initialize project
npm init -y
npm install --save-dev hardhat
npx hardhat init
# Compile and test
npx hardhat compile
npx hardhat test
```
## Key Commands
```bash
# Run local node
npx hardhat node
# Deploy to network
npx hardhat run scripts/deploy.js --network sepolia
# Verify contract
npx hardhat verify --network mainnet <address>
```
## Related Resources
- [SKILL.md](./SKILL.md) - Full skill specification
- [Hardhat Docs](https://hardhat.org/docs)
- [Plugin Directory](https://hardhat.org/hardhat-runner/plugins)
## Process Integration
- `smart-contract-development-lifecycle.js`
- `dapp-frontend-development.js`
- All token and DeFi processes
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |