Skip to content

[Backend] User Wallet Management API #524

@Olowodarey

Description

@Olowodarey

📋 Description

Build endpoints for users to link/unlink Stellar wallets and manage multiple wallet addresses.

Acceptance Criteria

  • POST /users/wallets/link to link new Stellar wallet with signature verification
  • DELETE /users/wallets/:address/unlink to remove wallet
  • GET /users/wallets to list all linked wallets
  • PATCH /users/wallets/:address/set-primary to set primary wallet
  • Verify wallet ownership via signed message
  • Prevent duplicate wallet linking across users
  • Emit events for wallet changes

Tasks

  • Create wallet management endpoints
  • Implement signature verification
  • Add duplicate prevention
  • Implement primary wallet logic
  • Add event emission
  • Write tests

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions