Skip to content

feat(anchor): implement createSep31DirectPayment function#167

Merged
MissBlue00 merged 2 commits into
MissBlue00:mainfrom
omosvico:feat/sep31-direct-payment
May 28, 2026
Merged

feat(anchor): implement createSep31DirectPayment function#167
MissBlue00 merged 2 commits into
MissBlue00:mainfrom
omosvico:feat/sep31-direct-payment

Conversation

@omosvico
Copy link
Copy Markdown
Contributor

closes: #89

- Add AnchorService.createSep31DirectPayment(params) implementing SEP-31 flow
- Validate sender/receiver KYC via SEP-12 (stub with TODO for real endpoint)
- Generate unique payment ID and execute Stellar payment (stub)
- Track payment lifecycle: pending -> completed | failed
- Add DirectPaymentParams interface (senderId, receiverId, amount, assetCode, senderKyc, receiverKyc, originalTransactionRef)
- Add DirectPaymentResult interface (success, paymentId, stellarTransactionHash, status)
- Add Sep12KycData interface for KYC fields
- Build passes with zero TypeScript errors
@vercel
Copy link
Copy Markdown

vercel Bot commented May 28, 2026

@omosvico is attempting to deploy a commit to the missblue00's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 28, 2026

@omosvico 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! 🚀

Learn more about application limits

@MissBlue00 MissBlue00 merged commit 1c19699 into MissBlue00:main May 28, 2026
0 of 4 checks passed
MissBlue00 added a commit that referenced this pull request May 29, 2026
feat(anchor): implement createSep31DirectPayment function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add createSep31DirectPayment function

2 participants