Description
Integrate with a Stellar Name Service to allow users to register human-readable names (e.g. alice.xlm) that resolve to their Stellar address, and use these names in the payment form instead of raw G... addresses.
Files to Edit
frontend/lib/stellar.ts
frontend/components/SendPaymentForm.tsx
frontend/pages/settings.tsx
Tasks
• Research and select a Stellar name service (StellarID or similar)
• Add resolveStellarName(name) to lib/stellar.ts
• Update the destination field in SendPaymentForm to accept .xlm names
• Show a 'Resolving...' spinner while looking up the name
• Display the resolved address below the field for confirmation
• Add a 'Register your name' section to the settings page
• Cache resolved names for 10 minutes to reduce API calls
Acceptance Criteria
• alice.xlm resolves to a Stellar address in the send form
• Resolving spinner shown during lookup
• Resolved address displayed for confirmation
• Invalid names show a clear error
• Name registration link shown in settings
Description
Integrate with a Stellar Name Service to allow users to register human-readable names (e.g. alice.xlm) that resolve to their Stellar address, and use these names in the payment form instead of raw G... addresses.
Files to Edit
frontend/lib/stellar.ts
frontend/components/SendPaymentForm.tsx
frontend/pages/settings.tsx
Tasks
• Research and select a Stellar name service (StellarID or similar)
• Add resolveStellarName(name) to lib/stellar.ts
• Update the destination field in SendPaymentForm to accept .xlm names
• Show a 'Resolving...' spinner while looking up the name
• Display the resolved address below the field for confirmation
• Add a 'Register your name' section to the settings page
• Cache resolved names for 10 minutes to reduce API calls
Acceptance Criteria
• alice.xlm resolves to a Stellar address in the send form
• Resolving spinner shown during lookup
• Resolved address displayed for confirmation
• Invalid names show a clear error
• Name registration link shown in settings