Description
Difficulty: Hard
Type: Feature
Summary
Implement a QR payment payload parser for address, amount, asset, memo, and optional metadata.
Current Behaviour
Mobile payment QR flows may need to parse payloads without duplicating logic outside the SDK.
Expected Behaviour
The SDK should expose a safe QR parser that validates supported payment payload structures.
Suggested Implementation
Create parser types, validation rules, error mapping, payment intent conversion, tests, and documentation.
Files or Areas Likely Affected
- src/payments/
- src/wallet/
- src/types/
- src/errors/
- tests/
- docs/
Acceptance Criteria
Additional Notes
This should support mobile scan-to-pay flows.
Description
Difficulty: Hard
Type: Feature
Summary
Implement a QR payment payload parser for address, amount, asset, memo, and optional metadata.
Current Behaviour
Mobile payment QR flows may need to parse payloads without duplicating logic outside the SDK.
Expected Behaviour
The SDK should expose a safe QR parser that validates supported payment payload structures.
Suggested Implementation
Create parser types, validation rules, error mapping, payment intent conversion, tests, and documentation.
Files or Areas Likely Affected
Acceptance Criteria
Additional Notes
This should support mobile scan-to-pay flows.