Sourcify-Compatible Contract Verification

Verify smart contract source code against Sourcify-compatible APIs.

Updated Feb 22, 2026
One-click install
npx skills add https://github.com/dhruvinparikh/skills --skill sourcify-compatible-contract-verification
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Sourcify-Compatible Contract Verification
Source: https://github.com/dhruvinparikh/skills/tree/main/standard-json-input-contract-verification
Command: npx skills add https://github.com/dhruvinparikh/skills --skill sourcify-compatible-contract-verification

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the process of verifying smart contract source code against Sourcify-compatible verification APIs, ensuring transparency and trust in the blockchain ecosystem.

Core Features & Use Cases

  • Direct Forge Integration: Use forge verify-contract with the --verifier sourcify flag for seamless verification.
  • Manual cURL Submission: Submit verification requests using standard JSON input via cURL for greater control.
  • Status Polling: Monitor the verification progress using provided verification IDs.
  • Contract Lookup: Check the verification status of deployed contracts.
  • Use Case: Verify your newly deployed Solidity smart contract on a network that supports Sourcify, making its source code publicly auditable.

Quick Start

Use the standard-json-input-contract-verification skill to verify contract address 0x123... on chain ID 1 with verifier URL http://localhost:8080.

Frequently Asked Questions about Sourcify-Compatible Contract Verification

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

FAQPage Schema
How do I verify a smart contract using Sourcify?

To verify a smart contract using Sourcify, you can use the Foundry command `forge verify-contract` with the `--verifier sourcify` flag, or manually submit a standard JSON input via cURL to a Sourcify-compatible API endpoint for source code verification.

Can I use Forge to verify a deployed Solidity contract on an EVM-compatible chain?

Yes, Forge supports Solidity contract verification on EVM-compatible chains by integrating directly with Sourcify APIs. You must provide the deployed contract address, the correct compiler version, and the chain ID to execute the verification request successfully.

How do I check the verification status of a contract submitted to Sourcify?

You can check the Sourcify verification status of a contract by polling the API using the provided verification ID. This monitors the verification progress and allows you to look up the current verification status of deployed contracts on the network.

Why does my smart contract verification fail with Sourcify?

Smart contract verification fails when the submitted source code does not match the deployed bytecode. Successful Sourcify verification requires accurate compiler versions and precise contract identifiers to match the exact build artifacts deployed on the EVM chain.

Do I need a standard JSON input for Sourcify contract verification?

Yes, a standard JSON input is required for manual cURL submissions to Sourcify. While Forge integration abstracts this process, submitting verification requests directly via cURL requires the standard JSON input format for greater control over the verification payload.