Skip to content

feat: Integrate Cross-Asset Payment UI with pathfinding and Soroban (#75) - #95

Merged
Wilfred007 merged 2 commits into
Protocol-Guild:mainfrom
OpenSourceCOntr:feat/issue-75-cross-asset-ui
Mar 7, 2026
Merged

feat: Integrate Cross-Asset Payment UI with pathfinding and Soroban (#75)#95
Wilfred007 merged 2 commits into
Protocol-Guild:mainfrom
OpenSourceCOntr:feat/issue-75-cross-asset-ui

Conversation

@Uchechukwu-Ekezie

@Uchechukwu-Ekezie Uchechukwu-Ekezie commented Mar 7, 2026

Copy link
Copy Markdown
Contributor

Resolves #76

Changes:

  • Created backend proxy endpoint GET /api/payments/paths to query Stellar Horizon strictSendPaths with dynamic source/dest assets and amounts.
  • Created pathfindingService.ts in the frontend to correctly fetch viable cross-asset routes using the new backend proxy.
  • Rewrote CrossAssetPayment.tsx to completely drop the mocked Anchor integration and use the real paths response.
  • Wired debounced inputs for fetching quotes automatically.
  • Integrated @creit.tech/stellar-wallets-kit via WalletProvider to prompt actual wallet signing for the Soroban cross_asset_payment smart contract.
  • Added dynamic status updates via mocked polling until Socket indexers are verified.

Tested:

  • Backend proxy types pass compilation on main.
  • Frontend TS compilation succeeds.

@Wilfred007
Wilfred007 merged commit 8a6f17f into Protocol-Guild:main Mar 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

#075: Cross-Asset Payment UI Integration

2 participants