Task
Add an authenticateSep10 function for SEP-10 authentication with anchors.
Details
- Function signature:
authenticateSep10(config: Sep10Config): Promise<Sep10AuthResult>
- Implement JWT-based authentication flow
- Handle challenge request and response signing
- Return auth token for subsequent anchor calls
- Add Sep10Config and Sep10AuthResult interfaces
- Integration point: anchor-service package
Test
Run pnpm --filter @stellar-pay/anchor-service build to verify no TypeScript errors.
Task
Add an
authenticateSep10function for SEP-10 authentication with anchors.Details
authenticateSep10(config: Sep10Config): Promise<Sep10AuthResult>Test
Run
pnpm --filter @stellar-pay/anchor-service buildto verify no TypeScript errors.