Skip to content

contract-verification: clarify scope for metadata-based Sourcify verification endpoint #1151

Description

@Osraka

The service README describes Sourcify-compatible verification, and the Standard JSON verification flow (route.verify.ts) is fully implemented with exact/partial match handling.

However, POST /v2/verify/metadata/:chainId/:address and POST /v2/verify/similarity/:chainId/:address currently return 501 not_implemented.

Before working on this, I'd like to confirm scope:

  1. Is metadata-based verification still intended to be supported, or has the Standard JSON flow superseded it?
  2. If supported, should the initial scope be limited to Solidity metadata JSON (matching Sourcify's core flow), with similarity matching left out?
  3. Should the expected response format mirror the existing Standard JSON route (match, exact_match, creation/runtime fields)?

Happy to put together a scoped implementation (metadata parsing, source extraction, compiler version resolution, reusing existing bytecode match logic) once there's alignment on scope — starting with metadata verification only, leaving similarity matching as a separate follow-up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions