Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to Jupiter Swap API v6 #35091

Closed
onyb opened this issue Jan 2, 2024 · 2 comments · Fixed by brave/brave-core#21475
Closed

Migrate to Jupiter Swap API v6 #35091

onyb opened this issue Jan 2, 2024 · 2 comments · Fixed by brave/brave-core#21475
Assignees
Labels
feature/web3/wallet/core feature/web3/wallet/swap feature/web3/wallet Integrating Ethereum+ wallet support OS/Android Fixes related to Android browser functionality OS/Desktop priority/P2 A bad problem. We might uplift this to the next planned release. QA Pass - Android ARM QA Pass-Win64 QA/Yes release-notes/include

Comments

@onyb
Copy link
Member

onyb commented Jan 2, 2024

🚨 Jupiter Swap API v4 will be discontinued by end of January 2024 per an announcement on their dev Telegram channel.

A few things about v6:

  • complex routing - up to 10% saving to users depending on the amount
  • performance improvement - from p99 > 4s to now sub 1s in v6

The PR needs to uplifted to 1.62.x to avoid disruption of service to users swapping on Solana.

@kjozwiak
Copy link
Member

kjozwiak commented Jan 9, 2024

The above requires 1.62.136 or higher for 1.62.x verification 👍

@srirambv
Copy link
Contributor

Verification passed on

Brave 1.62.137 Chromium: 120.0.6099.217 (Official Build) beta (64-bit)
Revision 92c88bc64f4e5c37e60774394436493726ad7d63
OS Windows 11 Version 23H2 (Build 22631.3007)
  • Verified steps from brave/brave-core#21475
  • Verified multiple quote options are removed
  • Verified Swap work as expected
35091.mp4

Verification passed on Google Pixel 8 with Android 14 running 1.62.137 x64 Beta build

  • Verified steps from brave/brave-core#21475
  • Verified multiple quote options are removed
  • Verified Swap work as expected
35091.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/web3/wallet/core feature/web3/wallet/swap feature/web3/wallet Integrating Ethereum+ wallet support OS/Android Fixes related to Android browser functionality OS/Desktop priority/P2 A bad problem. We might uplift this to the next planned release. QA Pass - Android ARM QA Pass-Win64 QA/Yes release-notes/include
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

5 participants
@kjozwiak @onyb @srirambv @brave-builds and others