Files
hash-wallet/assets/images
cf795bcc48 feat: Integrate Jupiter DEX (#2761)
* feat: Integrate Jupiter DEX

* feat: Enable internal swaps

* feat: implement Jupiter swap execution api and enhance trade handling

- Added executeSwap method to handle signed swap transactions via the execute endpoint.
- Updated signAndPrepareJupiterSwapTransaction to include request ID and handle swap execution response.
- Modified trade details to use txId instead of id for Jupiter trades.
- Enhanced error handling for swap execution with user-friendly messages.
- Updated sendviewmodel to manage trade state updates after transaction commitment.

* fix: null error after successfully swapping

* fix: Finallyyy fixed the annoying tx history issue for solana dex swaps

* fix: update inputAddress to use toAddress in JupiterExchangeProvider

* feat: enhance transaction handling and token balance updates

- Cut down tx fetch/update time for transactions update after swapping
- Added TransactionFetchResult class to hold parsed transactions and token mints.
- Added pollForTransaction method to handle transaction polling with exponential backoff.
- Conditionally hide the external send button based on provider type.

* feat: add fees to trade object and handle null case

* feat: add Jupiter referral fee and account configuration

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2026-01-16 23:28:36 +01:00
..
2025-10-10 16:00:39 +03:00
2025-10-10 16:00:39 +03:00
2026-01-16 03:16:41 +01:00
2025-11-01 02:31:54 +01:00
2025-10-14 03:04:55 +03:00
2025-10-15 05:26:56 +03:00
2025-05-25 23:11:45 +03:00
2025-05-25 23:11:45 +03:00
2025-05-25 23:11:45 +03:00
2020-01-04 21:31:52 +02:00
2022-07-28 18:03:16 +01:00
2022-09-07 13:10:21 +01:00
2020-01-04 21:31:52 +02:00
2020-01-04 21:31:52 +02:00
2024-02-23 15:39:19 +02:00
2022-07-28 18:03:16 +01:00
2024-11-09 21:00:56 +02:00
2024-11-09 21:00:56 +02:00
2025-10-11 04:24:32 +03:00
2025-10-11 04:24:32 +03:00
2025-10-11 04:24:32 +03:00
2025-05-25 23:11:45 +03:00
2025-10-14 14:52:53 +03:00
2025-10-10 16:00:39 +03:00
2024-02-23 15:39:19 +02:00
2025-05-25 23:11:45 +03:00
2025-05-25 23:11:45 +03:00
2022-09-07 13:10:21 +01:00
2024-11-09 21:00:56 +02:00
2025-05-25 23:11:45 +03:00
2025-05-25 23:11:45 +03:00
2025-05-25 23:11:45 +03:00
2025-03-28 13:22:24 +02:00
2025-10-10 16:00:39 +03:00
2025-03-28 13:22:24 +02:00
2025-03-28 13:22:24 +02:00
2025-03-28 13:22:24 +02:00
2025-03-28 13:22:24 +02:00
2024-11-09 21:00:56 +02:00
2022-07-28 18:03:16 +01:00
2024-11-09 21:00:56 +02:00
2024-09-23 17:10:40 +03:00
2022-07-28 18:03:16 +01:00
2020-01-04 21:31:52 +02:00
2020-01-04 21:31:52 +02:00
2020-01-04 21:31:52 +02:00
2025-05-25 23:11:45 +03:00
2022-07-28 18:03:16 +01:00
2025-08-23 01:27:01 +03:00
2025-10-10 16:00:39 +03:00
2025-10-10 16:00:39 +03:00
2022-07-28 18:03:16 +01:00
2025-03-28 00:22:14 +02:00
2025-09-22 15:56:47 +03:00
2024-08-13 14:15:47 +03:00
2024-08-13 14:15:47 +03:00
2024-02-23 19:09:24 +02:00
2024-12-17 01:08:56 +02:00
2024-12-17 01:08:56 +02:00
2025-09-22 15:56:47 +03:00
2020-01-04 21:31:52 +02:00
2022-07-28 18:03:16 +01:00
2022-09-07 13:10:21 +01:00
2022-07-28 18:03:16 +01:00
2022-07-28 18:03:16 +01:00
2022-07-28 18:03:16 +01:00
2024-02-23 15:39:19 +02:00
2022-03-30 17:57:04 +02:00
2022-03-30 17:57:04 +02:00
2022-09-07 13:10:21 +01:00
2024-02-23 15:39:19 +02:00
2024-01-08 16:05:35 +02:00
2020-01-04 21:31:52 +02:00
2025-10-10 16:00:39 +03:00
2021-05-07 21:59:03 +03:00
2022-07-28 18:03:16 +01:00
2024-11-09 21:00:56 +02:00
2025-05-25 23:11:45 +03:00
2022-07-28 18:03:16 +01:00
2022-01-04 20:22:24 +02:00
2022-01-04 20:22:24 +02:00
2024-08-13 14:15:47 +03:00
2024-08-13 14:15:47 +03:00
2024-08-13 14:15:47 +03:00
2025-09-22 15:56:47 +03:00
2020-01-04 21:31:52 +02:00
2024-09-28 05:22:25 +03:00
2025-10-10 16:00:39 +03:00
2025-10-10 16:00:39 +03:00
2025-05-25 23:11:45 +03:00
2025-05-25 23:11:45 +03:00
2025-05-25 23:11:45 +03:00
2020-01-04 21:31:52 +02:00
2025-05-12 20:33:14 +03:00
2025-09-22 15:56:47 +03:00
2022-07-28 18:03:16 +01:00
2020-01-04 21:31:52 +02:00
2024-02-23 15:39:19 +02:00
2025-05-25 23:11:45 +03:00
2020-01-04 21:31:52 +02:00
2025-10-10 16:00:39 +03:00
2024-11-09 21:00:56 +02:00
2022-09-07 13:10:21 +01:00
2022-06-29 13:38:44 +01:00
2020-01-04 21:31:52 +02:00
2025-05-25 23:11:45 +03:00
2025-05-25 23:11:45 +03:00
2025-05-25 23:11:45 +03:00
2025-05-25 23:11:45 +03:00
2025-05-25 23:11:45 +03:00
2020-01-04 21:31:52 +02:00
2020-01-04 21:31:52 +02:00
2023-07-13 21:47:12 +03:00
2024-11-09 21:00:56 +02:00
2025-09-22 15:56:47 +03:00
2024-03-10 04:02:30 +02:00
2025-10-14 03:04:55 +03:00
2025-10-14 03:04:55 +03:00
2025-10-14 03:04:55 +03:00
2025-10-14 03:04:55 +03:00
2023-04-14 06:39:08 +02:00
2025-10-14 03:04:55 +03:00
2025-10-14 03:04:55 +03:00
2025-05-25 23:11:45 +03:00
2024-05-29 17:43:48 +03:00
2020-01-04 21:31:52 +02:00
2024-10-04 23:00:36 +03:00
2025-07-04 02:48:50 +03:00
2020-01-04 21:31:52 +02:00
2020-01-04 21:31:52 +02:00
2024-08-13 14:15:47 +03:00
2025-09-22 15:56:47 +03:00
2022-07-28 18:03:16 +01:00
2026-01-16 03:16:41 +01:00
2025-08-23 01:27:01 +03:00
2025-10-10 16:00:39 +03:00
2025-09-22 15:56:47 +03:00
2025-10-10 16:00:39 +03:00
2025-10-10 16:00:39 +03:00
2025-05-25 23:11:45 +03:00
2020-01-04 21:31:52 +02:00
2023-04-14 06:39:08 +02:00
2025-05-25 23:11:45 +03:00
2025-05-25 23:11:45 +03:00
2025-10-10 16:00:39 +03:00
2025-05-25 23:11:45 +03:00
2025-05-25 23:11:45 +03:00
2025-05-25 23:11:45 +03:00
2025-05-25 23:11:45 +03:00
2020-01-04 21:31:52 +02:00
2022-07-28 18:03:16 +01:00
2020-01-04 21:31:52 +02:00
2025-03-14 03:02:39 +02:00
2022-09-07 13:10:21 +01:00
2025-09-22 15:56:47 +03:00
2026-01-16 03:16:41 +01:00
2026-01-16 03:16:41 +01:00
2022-09-07 13:10:21 +01:00