Skip to content

Add authenticateSep10 function #84

@MissBlue00

Description

@MissBlue00

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave program

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions