contract-verification

Verify Solidity contracts on Avalanche blockchain explorers via bytecode matching.

Updated May 7, 2026
One-click install
npx skills add https://github.com/Ayomisco/avaxskills --skill contract-verification-ayomisco
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: contract-verification
Source: https://github.com/Ayomisco/avaxskills/tree/main/website/public/contract-verification
Command: npx skills add https://github.com/Ayomisco/avaxskills --skill contract-verification-ayomisco

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @ethereum-sourcify/contract-verifier, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the process of verifying Solidity contracts on Snowtrace and Sourcify, ensuring transparency and trust in blockchain deployments.

Core Features & Use Cases

  • Multiple Verification Methods: Supports Hardhat plugin, Foundry, Sourcify, and manual UI verification.
  • Automated Source Matching: Recompiles code and compares bytecode to confirm authenticity.
  • Use Case: Deploy a contract on Avalanche Fuji and verify the source code on Snowtrace to enable public auditing and interaction.

Quick Start

Use the contract verification skill to verify your deployed Solidity contract on Snowtrace using the provided source files and compiler settings.

Frequently Asked Questions about contract-verification

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

FAQPage Schema
How do I verify Solidity contracts on Avalanche explorers?

Verify Solidity contracts on Avalanche explorers by recompiling source code and matching bytecode against deployed addresses to confirm authenticity. This process supports diverse developer workflows and detailed source management.

Can I use Hardhat or Foundry for contract verification on Snowtrace?

Yes, Snowtrace contract verification supports multiple methods including the Hardhat plugin, Foundry, Sourcify, and manual UI verification. This flexibility lets developers choose their preferred framework for source code authentication.

What is automated source matching for Solidity verification?

Automated source matching recompiles Solidity code and compares the generated bytecode against deployed contract bytecode. This confirms source code authenticity without manual checks, enhancing developer confidence.

Does Sourcify work with Avalanche Fuji contract verification?

Yes, Sourcify is supported for verifying contracts deployed on Avalanche Fuji. Verifying source code on Snowtrace enables public auditing and interaction with deployed smart contracts.

Why does bytecode matching fail during Snowtrace verification?

Bytecode matching during Snowtrace verification fails when compiler settings or source files do not exactly match the original deployment configuration. Ensuring accurate compiler inputs and complete source files resolves these discrepancies.