feat(frontend): wire cross-asset payment ui integration#171
Merged
Wilfred007 merged 3 commits intoGildado:mainfrom Feb 26, 2026
Merged
feat(frontend): wire cross-asset payment ui integration#171Wilfred007 merged 3 commits intoGildado:mainfrom
Wilfred007 merged 3 commits intoGildado:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fully wire CrossAssetPayment UI to backend pathfinding flow and wallet-signed Soroban contract submission.
Closes #148
Changes proposed
What were you told to do?
I was tasked with integrating
CrossAssetPayment.tsxso it:What did I do?
Reworked CrossAssetPayment page into a contract-backed flow
Updated
frontend/src/pages/CrossAssetPayment.tsxto:useWallet,useWalletSigning) for signed on-chain transactionsuseSocket) for post-submit real-time status updatesAdded debounced backend pathfinding integration
Implemented path request trigger on amount/asset changes with debounce:
POST /api/v1/payments/pathfind)Added selectable conversion paths and settlement preview
Page now renders:
Added simulate + sign + submit contract invocation
Created
frontend/src/services/crossAssetPayment.tswith:simulateTransactionbefore submitAdded live status updates via SocketProvider
After successful submission, page now:
Check List (Check all the applicable boxes)
Screenshots / Testing Evidence
npm run lintwas not executable in this environment because frontend dependencies are not installed (eslintunavailable)npm run buildwas not fully executable in this environment due missingnode_modules/type packages