evm-hardhat

Guide Hardhat project setup, contract testing, deployment, and verification on EVM networks.

8|4|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/celo-org/agent-skills --skill evm-hardhat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: evm-hardhat
Source: https://github.com/celo-org/agent-skills/tree/main/skills/evm-hardhat
Command: npx skills add https://github.com/celo-org/agent-skills --skill evm-hardhat

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Solves the setup complexity for Hardhat on EVM networks by providing structured guidance for common workflows.

Core Features & Use Cases

  • Project scaffolding: Quick setup for Hardhat-based projects tailored for Celo and other EVM networks.
  • Contract development & testing: Guidance to write, compile, test, and debug Solidity contracts with Hardhat.
  • Deployment & verification: Procedures to deploy to Celo/EVM networks and verify on explorer services.
  • Use Case: Start a new DApp on Celo with a sample contract and automated tests.

Quick Start

Initialize a new Hardhat project, install required toolchains, and configure Celo networks as shown in the guide. For example:

  • npm init -y
  • npm install --save-dev hardhat
  • npx hardhat init
  • npm install --save-dev @nomicfoundation/hardhat-toolbox dotenv

Frequently Asked Questions about evm-hardhat

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up Hardhat for deploying contracts to Celo?

Hardhat setup for Celo involves installing the Hardhat toolchain, initializing a project with `npx hardhat init`, and configuring Celo network parameters in your hardhat.config.js file. The evm-hardhat Skill provides structured guidance for this configuration across Celo and other EVM chains, including network RPC endpoints and account management.

Can I use Hardhat to test and deploy Solidity contracts on EVM networks?

Yes. Hardhat supports writing, compiling, testing, and debugging Solidity contracts with built-in testing frameworks. Deployment to EVM networks like Celo is handled through configured network tasks. The Hardhat toolbox addon provides additional utilities to streamline these workflows.

How do I verify smart contracts on a block explorer after deployment?

Contract verification submits your source code and compilation metadata to block explorers. Hardhat deployment procedures include verification steps for explorer services. The evm-hardhat Skill covers the verification workflow as part of its deployment guidance for Celo and other EVM chains.

What do I need to install before starting a Hardhat project?

Before using Hardhat, install Node.js and npm. Then install Hardhat as a dev dependency with `npm install --save-dev hardhat`, along with optional addons like @nomicfoundation/hardhat-toolbox and dotenv for environment configuration and network setup.

Does Hardhat work with multiple EVM networks or just Ethereum?

Hardhat is framework-agnostic and supports any EVM-compatible network through configuration. The evm-hardhat Skill specifically addresses setup for Celo alongside other EVM chains, enabling you to target multiple networks from a single project.