-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Description
Problem
Payees need a frontend interface to connect their wallet and claim their destination preferences.
Proposed Solution
Create a "Claim Destination" flow as a standalone page:
User Flow:
- Payee connects wallet
- Payee selects chain and currency for receiving payments
- System generates destination ID from connected wallet + selections
- Payee signs EIP-712 message to claim destination
- System calls POST /v2/destinations/claim
- Display success with shareable destination ID
UI Concept:
┌─────────────────────────────────────────────┐
│ Claim Your Payment Destination │
├─────────────────────────────────────────────┤
│ Connected: 0x742d35...35Cc │
│ │
│ Chain: [Polygon ▼] │
│ Currency: [USDC ▼] │
│ │
│ Your Destination ID: │
│ ┌───────────────────────────────────────┐ │
│ │ polygon:0x742d35...35Cc:USDC [📋] │ │
│ └───────────────────────────────────────┘ │
│ │
│ [ Sign & Claim Destination ] │
└─────────────────────────────────────────────┘
Implementation Notes
Build as a standalone page within this repository (decided Feb 2, 2026).
- Not integrated with main Easy Invoice navigation
- Simple, focused interface for wallet connection and payment preferences
- Wallet connection state will be shared with Easy Invoice if both are open (acceptable tradeoff for now)
Rationale: Request Commerce's future is uncertain, and a standalone app would require too much boilerplate. Easy Invoice is the pragmatic choice.
Considerations
- Only show chains/currencies that are supported
- Validate destination ID format before signing
- Handle wallet connection errors gracefully
- Consider showing claim status for existing destinations
Dependencies
- RequestNetwork/request-api#439 (POST /v2/destinations/claim endpoint)
- RequestNetwork/request-api#440 (GET /v2/destinations/{id} endpoint)
Migrated from RequestNetwork/request-secure-payment#34
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
✅ Done