Skip to content

feat(mobileapp): handle Privy wallet signup linking - #656

Merged
ONEONUORA merged 1 commit into
Fracverse:masterfrom
Jerry-Tekh:fix/584-privy-signup-flow
Jul 27, 2026
Merged

feat(mobileapp): handle Privy wallet signup linking#656
ONEONUORA merged 1 commit into
Fracverse:masterfrom
Jerry-Tekh:fix/584-privy-signup-flow

Conversation

@Jerry-Tekh

Copy link
Copy Markdown
Contributor

Summary

  • resolve or create the authenticated user’s Privy embedded Ed25519 wallet without accessing private key material
  • derive its Stellar address, sign the backend registration challenge through the Privy provider, and verify wallet ownership
  • link the Privy DID through /api/auth/privy, cache the returned Zaps JWT only after success, and surface backend errors
  • add focused tests for generated and existing wallets, signature encoding, route payloads, and rejected links

Testing

  • npm test -- --runInBand (10 suites, 51 tests)
  • npx eslint src/services/api.ts __tests__/api.test.ts --max-warnings 0
  • npx prettier --check src/services/api.ts __tests__/api.test.ts
  • scoped TypeScript check for src/services/api.ts

Closes #584

@drips-wave

drips-wave Bot commented Jul 27, 2026

Copy link
Copy Markdown

@Jerry-Tekh 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

@ONEONUORA ONEONUORA left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job @Jerry-Tekh

@ONEONUORA
ONEONUORA merged commit 11ce863 into Fracverse:master Jul 27, 2026
10 checks passed
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.

[mobileapp] Service: Implement signup flow handling wallet generation/linking post-privy-auth

2 participants