Summary
The wallet auth challenge endpoint generates a Stellar transaction that the client must sign to prove wallet ownership. An integration test should confirm the returned transaction is valid, contains the expected nonce memo, and is signed by the server keypair.
Scope
- Call the challenge endpoint with a valid Stellar wallet address
- Assert 200 is returned with a base64-encoded Stellar transaction XDR
- Decode the XDR and assert the transaction contains a
web_auth_domain operation
- Assert the memo is a non-empty nonce that differs between two consecutive calls
- Assert calling the endpoint with an invalid wallet address returns 422
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
The wallet auth challenge endpoint generates a Stellar transaction that the client must sign to prove wallet ownership. An integration test should confirm the returned transaction is valid, contains the expected nonce memo, and is signed by the server keypair.
Scope
web_auth_domainoperationAcceptance Criteria
web_auth_domainoperationETA: 12 hours
Coordinate on Telegram