feat(stellar): add payment link generation and consumption#34
feat(stellar): add payment link generation and consumption#34legend4tech wants to merge 2 commits into
Conversation
|
@legend4tech is attempting to deploy a commit to the truthixify's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@legend4tech Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
|
Payment link generation, the /pay route consumer, QR code, and Playwright e2e are exactly what issue #7 asked for. Conflicting after recent merges in StellarSend / StellarReceive. Rebase: git fetch origin
git rebase origin/develop
git push --force-with-leaseKeep your new e2e spec, playwright.config.ts, payment-link UI; layer your link generation form into develop's current StellarReceive (don't wipe the sponsored-withdrawal flow). Thanks @legend4tech. |
Title
feat(stellar): add payment link generation and consumption
Description
This PR introduces the ability to generate and consume payment links on the Stellar network, solving the UX friction of sharing raw meta-addresses manually. Senders can now share a URL (or QR code) that deep-links directly into a pre-filled Send page.
Features
StellarReceive(visible after deriving keys) that allows recipients to generate a payment URL and QR code.amount, amemo, and anexpires-atduration (defaults to 24h)./pay): Added a/payroute that loads the Send page and populates the inputs based on the URL parameters.exptimestamp. If the link is expired, it displays an error and disables the submit button.memofield inStellarSendto append to theTransactionBuilder.e2e/payment-link.spec.ts) validating the pre-fill behavior and expiration logic.Design Decisions & Trade-offs
.wraithname resolution context is not yet fully available for the Stellar chain in this codebase.Screenshot
Testing
/paydeep-link correctly pre-fills and locks down form inputs.closes #7