contract-verification

Verify smart contract source code on Celo block explorers.

7|2|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/LuisSambrano/antigravity-config --skill contract-verification-luissambrano
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: contract-verification
Source: https://github.com/LuisSambrano/antigravity-config/tree/main/skills/8-blockchain/celo-core/contract-verification
Command: npx skills add https://github.com/LuisSambrano/antigravity-config --skill contract-verification-luissambrano

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the process of verifying smart contract source code on Celo block explorers, enhancing transparency and trust.

Core Features & Use Cases

  • Multiple Verification Methods: Supports Hardhat, Foundry, Celoscan UI, Blockscout UI, Blockscout API, Sourcify, and Remix.
  • Network Support: Covers Celo Mainnet and Celo Sepolia testnet.
  • Use Case: After deploying your new DeFi token contract to Celo Mainnet, use this Skill to verify its source code on Celoscan, allowing users to inspect the code and confirm its integrity.

Quick Start

Use the contract-verification skill to verify your deployed contract at address 0x123...abc on Celo Mainnet using Hardhat.

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 using Hardhat?

Verifying a smart contract on Celo with Hardhat involves configuring your deployment scripts with the correct network details and compiler settings, then submitting the source code to block explorers like Celoscan or Blockscout to establish transparency.

What is the process to verify Celo smart contracts using Foundry?

Verifying Celo smart contracts using Foundry requires setting up your Foundry environment with the correct RPC and API keys, then executing the verify command to publish your source code to supported Celo block explorers.

Can I verify proxy contracts on Celoscan and Blockscout?

Yes, you can verify proxy contracts on Celoscan and Blockscout. The verification process includes specific configurations to handle proxy patterns, ensuring the implementation contract source code is properly published and readable.

Does Sourcify support smart contract verification on Celo Mainnet?

Yes, Sourcify supports smart contract verification on Celo Mainnet and Celo Sepolia testnet. It provides a decentralized verification method that allows you to publish your source code independently of specific centralized block explorer APIs.

Why does smart contract verification fail with a compiler mismatch?

Smart contract verification fails with a compiler mismatch when the compiler version specified during deployment does not align with the version used during the verification process on the block explorer, requiring you to align the settings.

What's the best way to verify a deployed DeFi token source code on Celo?

The best way to verify a deployed DeFi token source code on Celo is using frameworks like Hardhat or Foundry to automate the submission via API, or manually uploading the flattened source code through the Celoscan UI.