Skip to content

a5c-ai/babysitter / library/specializations/cryptography-blockchain/skills/hardhat-framework

hardhat-framework

Verified

Expert usage of Hardhat for smart contract development, testing, and deployment. Includes TypeChain generation, plugin ecosystem, network forking, and deployment management.

FileKindSize
README.mdmarkdown1.2 KB
SKILL.mdskill md8.4 KB
# 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
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall