Skip to content

[FEATURE] Stellar SDK: Implement path payment (swap) improvements (#14) #358

Description

@KevinMB0220

Description

Enhance the path payment functionality in the Stellar SDK integration to support more advanced routing, slippage control, and better error handling.

Background

The current path payment support is basic. To offer full DEX capabilities and advanced DeFi interactions outlined in the roadmap, we need robust swap functionality with slippage protection and optimal pathfinding on the Stellar network.

Requirements

Core Features

  • Implement advanced pathfinding queries using Stellar Horizon
  • Add automatic slippage calculation and protection
  • Support both pathPaymentStrictReceive and pathPaymentStrictSend operations

Technical Considerations

  • Integrate with existing Stellar SDK wrapper classes
  • Ensure robust error handling for insufficient liquidity or path finding failures

Acceptance Criteria

  • Path payments can be executed with defined slippage tolerance
  • Optimal paths are correctly retrieved from Horizon
  • Unit tests cover path payment variations

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programenhancementNew feature or requestphase-1Phase 1: Non-Custodial Smart Wallet

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions