📋 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
📋 Description
Build endpoints for users to link/unlink Stellar wallets and manage multiple wallet addresses.
Acceptance Criteria
/users/wallets/linkto link new Stellar wallet with signature verification/users/wallets/:address/unlinkto remove wallet/users/walletsto list all linked wallets/users/wallets/:address/set-primaryto set primary walletTasks