Skip to content

Add mobile QR receive payload validation #523

Description

@El-swaggerito

Description

Difficulty: Hard

Type: Feature

Summary

Add validation for QR receive payload generation.

Current Behaviour

Receive QR screens may generate payloads without validating address, network, requested amount, memo, or unsupported fields.

Expected Behaviour

The mobile app should validate QR receive payloads before display.

Suggested Implementation

Create QR payload validation, UI error states, fixtures, tests, and docs.

Files or Areas Likely Affected

  • src/qr/
  • src/wallet/
  • src/screens/
  • src/components/
  • tests/
  • docs/

Acceptance Criteria

  • QR receive payload validation is implemented.
  • Address and network are validated.
  • Optional amount and memo are validated where supported.
  • Invalid payload states are shown clearly.
  • Tests cover valid and invalid payloads.
  • Docs explain QR payload assumptions.

Additional Notes

This supports safer receive flows.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GrantFox OSSIssue tracked for GrantFox OSS contributionMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Official GrantFox campaign labelfeatureFeature workhardHard difficultymobileMobile app related workpaymentsPayment flow related workuxUser experience and interface flow workwalletWallet related work

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions