contract-verification

Verify deployed smart contracts on Celo explorers using Hardhat, Foundry, or UI workflows.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers verify smart contracts on Celo explorers, publishing verifiable source code to improve trust and transparency.

Core Features & Use Cases

  • Hardhat: Automated verification workflows for Celo deployments using Hardhat and the Celoscan/Blockscout adaptors.
  • Foundry: Verification workflows with forge verify-contract for Solidity 0.8.x projects.
  • UI-based verification: Celoscan UI, Blockscout UI, and API-based verification for quick verification.
  • Sourcify & Remix: Support for decentralized and IDE-based verification approaches.

Quick Start

Pick a verification method and follow the steps to verify your deployed contract. For example, Hardhat: run npx hardhat verify --network celo <CONTRACT_ADDRESS> <CONSTRUCTOR_ARGS>. For Foundry: forge verify-contract --chain-id 42220 <CONTRACT_ADDRESS> <CONSTRUCTOR_ARGS>, or use Celoscan/Blockscout UI verification pages.

Frequently Asked Questions about contract-verification

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

FAQPage Schema
How do I verify a smart contract on Celo after deployment?

Verify deployed smart contracts on Celo explorers by publishing verifiable source code. Use Hardhat with `npx hardhat verify --network celo <CONTRACT_ADDRESS> <CONSTRUCTOR_ARGS>`, Foundry with `forge verify-contract`, or Celoscan/Blockscout UI verification pages to enable source code transparency.

Can I verify Celo contracts using Foundry?

Yes, Foundry verification works for Solidity 0.8.x projects. Run `forge verify-contract --chain-id 42220 <CONTRACT_ADDRESS> <CONSTRUCTOR_ARGS>` to verify your contract on Celo mainnet or testnets.

What verification methods work with Celoscan and Blockscout?

Contract verification supports Hardhat and Foundry automated workflows, Celoscan and Blockscout UI pages, API-based verification, Sourcify decentralized verification, and Remix IDE-based verification across mainnet and testnets.

What do I need to verify a contract on Celo explorers?

Verification requires standard verification configurations, environment variables set for your chosen method, appropriate API keys for Celoscan or Blockscout, and accurate constructor arguments matching your deployed contract.

Why should I verify my smart contract on Celo?

Publishing verifiable source code on Celo explorers improves trust and transparency by allowing users to audit the deployed contract's logic, confirming it matches the published source code.