Skip to content

Fiat Off-Ramp Integration ("Zap-Out to Bank") #149

@edehvictor

Description

@edehvictor

📝 Description

The ultimate DeFi UX allows users to exit straight to their bank account. We need an integration with a fiat off-ramp (like MoonPay or a local Stellar Anchor) to allow one-click withdrawals to fiat.

🎯 Acceptance Criteria

  • Integrate a fiat off-ramp provider's SDK into the withdrawal flow.
  • Build the UI flow allowing users to select "Withdraw to Bank Account."
  • The system must construct a transaction that withdraws vault shares for USDC, then sends that USDC directly to the off-ramp's deposit address with the correct memo.
  • Provide clear UI tracking for the status of the fiat wire transfer.

🛠 Technical Details

  • Stack: React, API Integrations, Stellar SDK.
  • Location: /frontend/src/features/offramp/
  • Security: Strict handling of destination addresses and memos to ensure user funds aren't lost in transit to the exchange.

⏱ Complexity & Scope

  • Estimated Time: 3 weeks.
  • Drips Complexity: High (200 points) - Complex third-party payment flow and state tracking.

📋 Guidelines for Submission

  • Minimum 90 percent test coverage required.
  • Clear NatSpec-style documentation must be added to public contract functions.
  • Timeframe for completion: 2 Wave cycles.

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