Skip to content

feat: contract verification wallet network guard#679

Draft
Oluwaseyi89 wants to merge 1 commit into
Pulsefy:mainfrom
Oluwaseyi89:feature/contract-verification-wallet-network-guard
Draft

feat: contract verification wallet network guard#679
Oluwaseyi89 wants to merge 1 commit into
Pulsefy:mainfrom
Oluwaseyi89:feature/contract-verification-wallet-network-guard

Conversation

@Oluwaseyi89

Copy link
Copy Markdown
Contributor

Implement contract-aware verification metadata and wallet network mismatch guard

Overview

This PR adds end-to-end contract-aware verification metadata to ensure AI results anchor to on-chain events, and implements a wallet network mismatch guard for mobile.

Changes

Contract-Aware Verification Metadata (#468)

  • Include stable identifiers (campaign reference, claim ID, package ID) in verification result payloads
  • Validate identifiers and reject malformed inputs early with proper error handling
  • Add tests validating payload shape and metadata propagation

Wallet Network Mismatch Guard (#448)

  • Detect wallet network mismatch and block on-chain actions when not on Testnet
  • Provide clear remediation guidance when mismatch is detected
  • Add tests covering mismatch detection and recovery flows

Files Added

  • Tests for payload validation and metadata propagation
  • Tests for wallet network mismatch detection and recovery

Files Modified

  • AI verification result payload structure
  • Wallet connection and signature request flow

Closes #468
Closes #448

@vercel

vercel Bot commented Jun 28, 2026

Copy link
Copy Markdown

@Oluwaseyi89 is attempting to deploy a commit to the Cedarich's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Oluwaseyi89 Oluwaseyi89 marked this pull request as draft June 28, 2026 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

End-to-End Contract-Aware Verification Metadata Wallet Network Mismatch Guard (Mobile)

1 participant