What problem does it solve?
This Skill streamlines the process of setting up and configuring Hardhat for Avalanche blockchain projects, enabling developers to quickly initialize, develop, and deploy smart contracts on Avalanche networks.
Core Features & Use Cases
- Project Initialization: Automates the creation of a new Hardhat project configured for Avalanche C-Chain and Subnets.
- Network Configuration: Provides templates for editing
hardhat.config.ts with Avalanche RPC URLs, chain IDs, and account setup.
- Deployment & Verification: Includes scripts for deploying contracts and verifying them on Snowtrace, with guidance on best practices.
- Testing & Debugging: Supports running tests, local network development, and interacting with contracts via Hardhat console.
- Use Case: A developer can initialize a new Avalanche-compatible project, write deployment scripts, and verify contracts with minimal manual setup.
Quick Start
Write a TypeScript deployment script, then run it with the desired network flag to deploy your contracts on Avalanche.