Skip to content

Conversation

@gsteenkamp89
Copy link
Contributor

@gsteenkamp89 gsteenkamp89 commented Nov 13, 2025

Add Bridge-Only Route Support to SwapAndBridge

closes ACX-4632

Summary

This PR introduces support for bridge-only routes in the SwapAndBridge flow, allowing it to work alongside the existing swap-only route functionality. This enables users to bridge to external projects like Hyperliquid via the Arbitrum bridge, which was previously only available in the Bridge flow.

Test cases

  • ✅ Test bridge-only routes (e.g., USDC Base => USDC HyperCore)
  • ✅ Test swap-only routes (existing functionality)

Signed-off-by: Gerhard Steenkamp <gerhard@umaproject.org>
Signed-off-by: Gerhard Steenkamp <gerhard@umaproject.org>
Signed-off-by: Gerhard Steenkamp <gerhard@umaproject.org>
Signed-off-by: Gerhard Steenkamp <gerhard@umaproject.org>
Signed-off-by: Gerhard Steenkamp <gerhard@umaproject.org>
Signed-off-by: Gerhard Steenkamp <gerhard@umaproject.org>
@vercel
Copy link

vercel bot commented Nov 13, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
app-frontend-v3 Ready Ready Preview Comment Nov 14, 2025 11:13am
sepolia-frontend-v3 Ready Ready Preview Comment Nov 14, 2025 11:13am

@gsteenkamp89 gsteenkamp89 changed the base branch from master to feat/gsteenkamp-port-existing-ui November 13, 2025 15:41
Signed-off-by: Gerhard Steenkamp <gerhard@umaproject.org>
@gsteenkamp89 gsteenkamp89 marked this pull request as ready for review November 14, 2025 10:55
@linear
Copy link

linear bot commented Nov 14, 2025

Copy link
Contributor

@0xjorgen 0xjorgen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a few comments

};

type EnrichedTokenWithReachability = EnrichedToken & {
type TokenWithBalanceWithReachability = TokenWithBalance & {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps TokenWithBalanceAndReachability?


// Show API error in button label if present
if (quoteWarningMessage && buttonState === "apiError") {
// todo: parse suggested fees errors
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you intend to leave this todo here? If so, it is better if we capture it in linear.

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.

3 participants