Skip to content

Add createAssetPayment function #79

@MissBlue00

Description

@MissBlue00

Task

Add a createAssetPayment function to send payments in non-XLM Stellar assets.

Details

  • Function signature: createAssetPayment(params: AssetPaymentParams): Promise<PaymentResult>
  • Support custom Stellar assets (issued assets)
  • Handle trustline verification
  • Include asset code, issuer, and amount
  • Add AssetPaymentParams and PaymentResult interfaces

Test

Run pnpm --filter @stellar-pay/payments-engine 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