Skip to content

Build completion proof verifier #299

Description

@Kingsman-99

Labels: complexity: high

Add verifyCompletionProof(proof) that validates a CompletionProof object returned by the contract against its on-chain cert hash. Lets external systems independently verify a release happened.

Acceptance criteria:

  • Accepts CompletionProof from the contract's get_completion_proof call
  • Recomputes cert_hash and compares against stored value
  • Returns { valid: boolean, reason?: string }
  • Works without trusting the SDK caller — verifies cryptographic proof only

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions