From 0e92111d934ae49dea76b874b0789f44829021c9 Mon Sep 17 00:00:00 2001 From: Omar Hatem Date: Thu, 16 Apr 2026 05:09:59 +0200 Subject: [PATCH] v6.1.0 Release Candidate (#3178) * v6.1.0 Release Candidate * add copy indicator on tx details screen (#3152) * initial remove wownero (#3180) * fix: minor fix to the backupSeeds (#3181) * add isSensitive to copy indicator (#3183) * add copy indicator on tx details screen * add isSensitive field * fix: add "support for coin removed" to exception handler ignored list (#3182) * CW-1273: Implement USDT0 Bridge (#2855) * feat: Implement USDT0 Bridging using OFT Standard by Layer Zero. POC available in apps menu. * feat: Implement USDT0 Bridging using OFT Standard by Layer Zero. POC available in apps menu. * feat: Implement USDT0 Bridging using OFT Standard by Layer Zero. POC available in apps menu. * Add transaction history and status polling for USDT0 bridging * Add Transaction history and status polling for USDT0 Bridging * USDT0 Bridging Implementation * Update Arbitrum USDT token symbol * fix: Merge conflicts * fix: Merge conflicts * chore: Rever formatting * feat: Implement new flow * feat: Implement new ui flow * Add currency to configure * feat: new ui flow * Update USDT0 implementation - Switch to sqlite for storage instead of hive - Switch bridge history and details to modals - Switch bridge transfer details page to new tx details ui * refactor: rearrange modal action buttons * enhance usdt0 bridge flows * Update lib/entities/wallet_manager.dart [skip ci] --------- Co-authored-by: Omar Hatem * v6.1.0 Release Candidate * fix lag on saving frozen coin status (#3164) * fix lag on saving frozen coin status * wrap saveUnspentCoinInfo in @action * revert fix + safeguard coin control page * v6.1.0 Release Candidate * v6.1.0 Release Candidate [skip ci] * v6.1.0 Release Candidate [skip ci] --------- Co-authored-by: malik1004x Co-authored-by: cyan Co-authored-by: David Adegoke <64401859+Blazebrain@users.noreply.github.com> --- assets/new-ui/changelog/text/changelog_ar.json | 2 +- assets/new-ui/changelog/text/changelog_bg.json | 2 +- assets/new-ui/changelog/text/changelog_cs.json | 2 +- assets/new-ui/changelog/text/changelog_de.json | 2 +- assets/new-ui/changelog/text/changelog_en.json | 8 ++++++++ assets/new-ui/changelog/text/changelog_es.json | 2 +- assets/new-ui/changelog/text/changelog_fa.json | 2 +- assets/new-ui/changelog/text/changelog_fr.json | 2 +- assets/new-ui/changelog/text/changelog_gn.json | 2 +- assets/new-ui/changelog/text/changelog_ha.json | 2 +- assets/new-ui/changelog/text/changelog_hi.json | 2 +- assets/new-ui/changelog/text/changelog_hr.json | 2 +- assets/new-ui/changelog/text/changelog_hy.json | 2 +- assets/new-ui/changelog/text/changelog_id.json | 2 +- assets/new-ui/changelog/text/changelog_it.json | 2 +- assets/new-ui/changelog/text/changelog_ja.json | 2 +- assets/new-ui/changelog/text/changelog_ko.json | 2 +- assets/new-ui/changelog/text/changelog_my.json | 2 +- assets/new-ui/changelog/text/changelog_nl.json | 2 +- assets/new-ui/changelog/text/changelog_pl.json | 2 +- assets/new-ui/changelog/text/changelog_pt.json | 2 +- assets/new-ui/changelog/text/changelog_ru.json | 2 +- assets/new-ui/changelog/text/changelog_th.json | 2 +- assets/new-ui/changelog/text/changelog_tl.json | 2 +- assets/new-ui/changelog/text/changelog_tr.json | 2 +- assets/new-ui/changelog/text/changelog_uk.json | 2 +- assets/new-ui/changelog/text/changelog_ur.json | 2 +- assets/new-ui/changelog/text/changelog_vi.json | 2 +- assets/new-ui/changelog/text/changelog_yo.json | 2 +- .../new-ui/changelog/text/changelog_zh-cn.json | 2 +- .../new-ui/changelog/text/changelog_zh-tw.json | 2 +- cw_bitcoin/lib/litecoin_wallet_addresses.dart | 10 +++++++--- lib/buy/kryptonim/kryptonim.dart | 16 ++++++++-------- lib/entities/default_settings_migration.dart | 14 ++++++++++---- .../provider/swaptrade_exchange_provider.dart | 2 +- .../provider/xoswap_exchange_provider.dart | 14 +++++++++++--- .../receive_page/receive_label_modal.dart | 6 +++--- lib/src/screens/rescan/rescan_page.dart | 2 +- lib/src/widgets/blockchain_height_widget.dart | 9 +++++++-- lib/utils/exception_handler.dart | 1 + lib/utils/token_utilities.dart | 4 ++-- lib/view_model/bridge/bridge_view_model.dart | 8 +++----- scripts/android/app_env.sh | 8 ++++---- scripts/ios/app_env.sh | 8 ++++---- scripts/linux/app_env.sh | 4 ++-- scripts/macos/app_env.sh | 8 ++++---- scripts/windows/build_exe_installer.iss | 2 +- 47 files changed, 107 insertions(+), 77 deletions(-) diff --git a/assets/new-ui/changelog/text/changelog_ar.json b/assets/new-ui/changelog/text/changelog_ar.json index 8c33fcf90..371b74305 100644 --- a/assets/new-ui/changelog/text/changelog_ar.json +++ b/assets/new-ui/changelog/text/changelog_ar.json @@ -1 +1 @@ -[{"title":"تحسينات الأداء","description":"تحسين أداء التطبيق وسرعته"},{"title":"إصلاحات الشوائب","description":"سحق المزيد من الأخطاء، لجعل تجربتك سلسة"}] \ No newline at end of file +[{"title":"تحسينات الأداء","description":"تحسين أداء التطبيق وسرعته"},{"title":"أضف جسر USDT","description":"قم بتوصيل USDT الخاص بك من سلسلة إلى أخرى"},{"title":"تحسينات المحافظ","description":"تحسين واجهة مستخدم المحفظة ووظائفها"},{"title":"إصلاحات الشوائب","description":"سحق المزيد من الأخطاء، لجعل تجربتك سلسة"}] \ No newline at end of file diff --git a/assets/new-ui/changelog/text/changelog_bg.json b/assets/new-ui/changelog/text/changelog_bg.json index 2877f4b19..5119062ed 100644 --- a/assets/new-ui/changelog/text/changelog_bg.json +++ b/assets/new-ui/changelog/text/changelog_bg.json @@ -1 +1 @@ -[{"title":"Подобрения в производителността","description":"Подобрете производителността и скоростта на приложението"},{"title":"Поправки на грешки","description":"Скуош повече грешки, за да направи вашето изживяване гладко"}] \ No newline at end of file +[{"title":"Подобрения в производителността","description":"Подобрете производителността и скоростта на приложението"},{"title":"Добавете USDT мост","description":"Прехвърлете вашия USDT от една верига към друга"},{"title":"Подобрения в портфейлите","description":"Подобрете потребителския интерфейс и функционалността на портфейлите"},{"title":"Поправки на грешки","description":"Скуош повече грешки, за да направи вашето изживяване гладко"}] \ No newline at end of file diff --git a/assets/new-ui/changelog/text/changelog_cs.json b/assets/new-ui/changelog/text/changelog_cs.json index 9efed4781..779ffd3f0 100644 --- a/assets/new-ui/changelog/text/changelog_cs.json +++ b/assets/new-ui/changelog/text/changelog_cs.json @@ -1 +1 @@ -[{"title":"Vylepšení výkonu","description":"Zlepšete výkon a rychlost aplikace"},{"title":"Opravy chyb","description":"Squash více chyb, aby vaše zkušenosti hladké"}] \ No newline at end of file +[{"title":"Vylepšení výkonu","description":"Zlepšete výkon a rychlost aplikace"},{"title":"Přidejte přemostění USDT","description":"Přemostění USDT z jednoho řetězce do druhého"},{"title":"Vylepšení peněženek","description":"Vylepšete uživatelské rozhraní a funkčnost peněženky"},{"title":"Opravy chyb","description":"Squash více chyb, aby vaše zkušenosti hladké"}] \ No newline at end of file diff --git a/assets/new-ui/changelog/text/changelog_de.json b/assets/new-ui/changelog/text/changelog_de.json index b5d755250..8765bac24 100644 --- a/assets/new-ui/changelog/text/changelog_de.json +++ b/assets/new-ui/changelog/text/changelog_de.json @@ -1 +1 @@ -[{"title":"Leistungsverbesserungen","description":"Verbessern Sie die Leistung und Geschwindigkeit der App"},{"title":"Fehlerbehebungen","description":"Beseitigen Sie mehr Fehler, um Ihr Erlebnis reibungslos zu gestalten"}] \ No newline at end of file +[{"title":"Leistungsverbesserungen","description":"Verbessern Sie die Leistung und Geschwindigkeit der App"},{"title":"Fügen Sie USDT-Bridging hinzu","description":"Überbrücken Sie Ihr USDT von einer Kette zur anderen"},{"title":"Verbesserungen an den Geldbörsen","description":"Verbessern Sie die Benutzeroberfläche und Funktionalität von Wallets"},{"title":"Fehlerbehebungen","description":"Beseitigen Sie mehr Fehler, um Ihr Erlebnis reibungslos zu gestalten"}] \ No newline at end of file diff --git a/assets/new-ui/changelog/text/changelog_en.json b/assets/new-ui/changelog/text/changelog_en.json index e86b26bdb..76c3897a2 100644 --- a/assets/new-ui/changelog/text/changelog_en.json +++ b/assets/new-ui/changelog/text/changelog_en.json @@ -3,6 +3,14 @@ "title": "Performance enhancements", "description": "Improve app performance and speed" }, + { + "title": "Add USDT bridging", + "description": "Bridge your USDT from one chain to another" + }, + { + "title": "Wallets improvements", + "description": "Improve wallets UI and functionality" + }, { "title": "Bug fixes", "description": "Squash more bugs, to make your experience smooth" diff --git a/assets/new-ui/changelog/text/changelog_es.json b/assets/new-ui/changelog/text/changelog_es.json index 190055e09..c97570d8e 100644 --- a/assets/new-ui/changelog/text/changelog_es.json +++ b/assets/new-ui/changelog/text/changelog_es.json @@ -1 +1 @@ -[{"title":"Mejoras de rendimiento","description":"Mejorar el rendimiento y la velocidad de la aplicación"},{"title":"Corrección de errores","description":"Elimina más errores para que tu experiencia sea fluida"}] \ No newline at end of file +[{"title":"Mejoras de rendimiento","description":"Mejorar el rendimiento y la velocidad de la aplicación"},{"title":"Agregar puente USDT","description":"Puentee su USDT de una cadena a otra"},{"title":"Mejoras en billeteras","description":"Mejorar la interfaz de usuario y la funcionalidad de las billeteras"},{"title":"Corrección de errores","description":"Elimina más errores para que tu experiencia sea fluida"}] \ No newline at end of file diff --git a/assets/new-ui/changelog/text/changelog_fa.json b/assets/new-ui/changelog/text/changelog_fa.json index 62c16aade..c45242320 100644 --- a/assets/new-ui/changelog/text/changelog_fa.json +++ b/assets/new-ui/changelog/text/changelog_fa.json @@ -1 +1 @@ -[{"title":"بهبود عملکرد","description":"بهبود عملکرد و سرعت برنامه"},{"title":"رفع اشکال","description":"اشکالات بیشتری را حل کنید تا تجربه خود را صاف کنید"}] \ No newline at end of file +[{"title":"بهبود عملکرد","description":"بهبود عملکرد و سرعت برنامه"},{"title":"پل زدن USDT را اضافه کنید","description":"USDT خود را از یک زنجیره به زنجیره دیگر متصل کنید"},{"title":"بهبود کیف پول","description":"بهبود رابط کاربری و عملکرد کیف پول"},{"title":"رفع اشکال","description":"اشکالات بیشتری را حل کنید تا تجربه خود را صاف کنید"}] \ No newline at end of file diff --git a/assets/new-ui/changelog/text/changelog_fr.json b/assets/new-ui/changelog/text/changelog_fr.json index fef15fa1e..0182abbf4 100644 --- a/assets/new-ui/changelog/text/changelog_fr.json +++ b/assets/new-ui/changelog/text/changelog_fr.json @@ -1 +1 @@ -[{"title":"Améliorations des performances","description":"Améliorer les performances et la vitesse des applications"},{"title":"Corrections de bugs","description":"Éliminez plus de bugs pour rendre votre expérience fluide"}] \ No newline at end of file +[{"title":"Améliorations des performances","description":"Améliorer les performances et la vitesse des applications"},{"title":"Ajouter un pontage USDT","description":"Reliez votre USDT d’une chaîne à une autre"},{"title":"Améliorations des portefeuilles","description":"Améliorer l'interface utilisateur et les fonctionnalités des portefeuilles"},{"title":"Corrections de bugs","description":"Éliminez plus de bugs pour rendre votre expérience fluide"}] \ No newline at end of file diff --git a/assets/new-ui/changelog/text/changelog_gn.json b/assets/new-ui/changelog/text/changelog_gn.json index 790a93e51..efcd2a91f 100644 --- a/assets/new-ui/changelog/text/changelog_gn.json +++ b/assets/new-ui/changelog/text/changelog_gn.json @@ -1 +1 @@ -[{"title":"Ñemboguata ñembotuichave rehegua","description":"Emoporãve app rembiapo ha pya’e"},{"title":"Umi mba’e’oka ñemyatyrõ","description":"Embopupu hetave mba’e’oka, ikatu hag̃uáicha nde experiencia osẽ porã"}] \ No newline at end of file +[{"title":"Ñemboguata ñembotuichave rehegua","description":"Emoporãve app rembiapo ha pya’e"},{"title":"Oñemoĩve puente USDT rehegua","description":"Puente nde USDT peteĩ cadena-gui ambuépe"},{"title":"Umi billetera ñemyatyrõ","description":"Oñemoporãve billetera UI ha funcionalidad"},{"title":"Umi mba’e’oka ñemyatyrõ","description":"Embopupu hetave mba’e’oka, ikatu hag̃uáicha nde experiencia osẽ porã"}] \ No newline at end of file diff --git a/assets/new-ui/changelog/text/changelog_ha.json b/assets/new-ui/changelog/text/changelog_ha.json index aaf694dfc..645371a52 100644 --- a/assets/new-ui/changelog/text/changelog_ha.json +++ b/assets/new-ui/changelog/text/changelog_ha.json @@ -1 +1 @@ -[{"title":"Ayyukan haɓakawa","description":"Inganta aikin app da sauri"},{"title":"Gyaran kwaro","description":"Squash ƙarin kwari, don sanya kwarewarku ta santsi"}] \ No newline at end of file +[{"title":"Ayyukan haɓakawa","description":"Inganta aikin app da sauri"},{"title":"Ƙara gada USDT","description":"Haɗa USDT ɗin ku daga wannan sarkar zuwa wancan"},{"title":"Inganta Wallets","description":"Inganta walat UI da ayyuka"},{"title":"Gyaran kwaro","description":"Squash ƙarin kwari, don sanya kwarewarku ta santsi"}] \ No newline at end of file diff --git a/assets/new-ui/changelog/text/changelog_hi.json b/assets/new-ui/changelog/text/changelog_hi.json index 45ee05008..f211f7644 100644 --- a/assets/new-ui/changelog/text/changelog_hi.json +++ b/assets/new-ui/changelog/text/changelog_hi.json @@ -1 +1 @@ -[{"title":"प्रदर्शन संवर्द्धन","description":"ऐप के प्रदर्शन और गति में सुधार करें"},{"title":"कंप्यूटर प्रोग्राम या प्रणाली में बग को दूर करना","description":"अपने अनुभव को सहज बनाने के लिए अधिक बग्स को नष्ट करें"}] \ No newline at end of file +[{"title":"प्रदर्शन संवर्द्धन","description":"ऐप के प्रदर्शन और गति में सुधार करें"},{"title":"यूएसडीटी ब्रिजिंग जोड़ें","description":"अपने यूएसडीटी को एक श्रृंखला से दूसरी श्रृंखला तक पाटें"},{"title":"बटुए में सुधार","description":"वॉलेट यूआई और कार्यक्षमता में सुधार करें"},{"title":"कंप्यूटर प्रोग्राम या प्रणाली में बग को दूर करना","description":"अपने अनुभव को सहज बनाने के लिए अधिक बग्स को नष्ट करें"}] \ No newline at end of file diff --git a/assets/new-ui/changelog/text/changelog_hr.json b/assets/new-ui/changelog/text/changelog_hr.json index 4e46a5d90..761870247 100644 --- a/assets/new-ui/changelog/text/changelog_hr.json +++ b/assets/new-ui/changelog/text/changelog_hr.json @@ -1 +1 @@ -[{"title":"Poboljšanja performansi","description":"Poboljšajte performanse i brzinu aplikacije"},{"title":"Ispravci grešaka","description":"Uklonite više grešaka kako bi vaše iskustvo bilo glatko"}] \ No newline at end of file +[{"title":"Poboljšanja performansi","description":"Poboljšajte performanse i brzinu aplikacije"},{"title":"Dodajte USDT premošćivanje","description":"Premostite svoj USDT iz jednog lanca u drugi"},{"title":"Poboljšanja novčanika","description":"Poboljšajte korisničko sučelje i funkcionalnost novčanika"},{"title":"Ispravci grešaka","description":"Uklonite više grešaka kako bi vaše iskustvo bilo glatko"}] \ No newline at end of file diff --git a/assets/new-ui/changelog/text/changelog_hy.json b/assets/new-ui/changelog/text/changelog_hy.json index 65e5286f1..c6062204b 100644 --- a/assets/new-ui/changelog/text/changelog_hy.json +++ b/assets/new-ui/changelog/text/changelog_hy.json @@ -1 +1 @@ -[{"title":"Կատարման բարելավումներ","description":"Բարելավել հավելվածի կատարումը և արագությունը"},{"title":"Սխալների շտկում","description":"Դարձրեք ավելի շատ սխալներ, որպեսզի ձեր փորձը հարթ լինի"}] \ No newline at end of file +[{"title":"Կատարման բարելավումներ","description":"Բարելավել հավելվածի կատարումը և արագությունը"},{"title":"Ավելացնել USDT կամուրջ","description":"Կամուրջացրեք ձեր USDT-ն մի շղթայից մյուսը"},{"title":"Դրամապանակների բարելավումներ","description":"Բարելավել դրամապանակների միջերեսը և ֆունկցիոնալությունը"},{"title":"Սխալների շտկում","description":"Դարձրեք ավելի շատ սխալներ, որպեսզի ձեր փորձը հարթ լինի"}] \ No newline at end of file diff --git a/assets/new-ui/changelog/text/changelog_id.json b/assets/new-ui/changelog/text/changelog_id.json index 07c6e93e1..dab35fba7 100644 --- a/assets/new-ui/changelog/text/changelog_id.json +++ b/assets/new-ui/changelog/text/changelog_id.json @@ -1 +1 @@ -[{"title":"Peningkatan kinerja","description":"Tingkatkan kinerja dan kecepatan aplikasi"},{"title":"Perbaikan bug","description":"Hancurkan lebih banyak bug, untuk membuat pengalaman Anda lancar"}] \ No newline at end of file +[{"title":"Peningkatan kinerja","description":"Tingkatkan kinerja dan kecepatan aplikasi"},{"title":"Tambahkan penghubung USDT","description":"Jembatani USDT Anda dari satu rantai ke rantai lainnya"},{"title":"Peningkatan dompet","description":"Tingkatkan UI dan fungsionalitas dompet"},{"title":"Perbaikan bug","description":"Hancurkan lebih banyak bug, untuk membuat pengalaman Anda lancar"}] \ No newline at end of file diff --git a/assets/new-ui/changelog/text/changelog_it.json b/assets/new-ui/changelog/text/changelog_it.json index ce0c3538a..21d5f147d 100644 --- a/assets/new-ui/changelog/text/changelog_it.json +++ b/assets/new-ui/changelog/text/changelog_it.json @@ -1 +1 @@ -[{"title":"Miglioramenti delle prestazioni","description":"Migliora le prestazioni e la velocità dell'app"},{"title":"Correzioni di bug","description":"Elimina più bug per rendere la tua esperienza fluida"}] \ No newline at end of file +[{"title":"Miglioramenti delle prestazioni","description":"Migliora le prestazioni e la velocità dell'app"},{"title":"Aggiungi il bridging USDT","description":"Collega il tuo USDT da una catena all'altra"},{"title":"Miglioramenti ai portafogli","description":"Migliora l'interfaccia utente e la funzionalità dei portafogli"},{"title":"Correzioni di bug","description":"Elimina più bug per rendere la tua esperienza fluida"}] \ No newline at end of file diff --git a/assets/new-ui/changelog/text/changelog_ja.json b/assets/new-ui/changelog/text/changelog_ja.json index d25003ff0..d31cb5362 100644 --- a/assets/new-ui/changelog/text/changelog_ja.json +++ b/assets/new-ui/changelog/text/changelog_ja.json @@ -1 +1 @@ -[{"title":"パフォーマンスの強化","description":"アプリのパフォーマンスと速度を向上させる"},{"title":"バグ修正","description":"エクスペリエンスをスムーズにするために、より多くのバグを潰してください"}] \ No newline at end of file +[{"title":"パフォーマンスの強化","description":"アプリのパフォーマンスと速度を向上させる"},{"title":"USDTブリッジを追加する","description":"USDT をあるチェーンから別のチェーンにブリッジします"},{"title":"ウォレットの改善","description":"ウォレットのUIと機能を改善する"},{"title":"バグ修正","description":"エクスペリエンスをスムーズにするために、より多くのバグを潰してください"}] \ No newline at end of file diff --git a/assets/new-ui/changelog/text/changelog_ko.json b/assets/new-ui/changelog/text/changelog_ko.json index e2b9694c6..d60679e47 100644 --- a/assets/new-ui/changelog/text/changelog_ko.json +++ b/assets/new-ui/changelog/text/changelog_ko.json @@ -1 +1 @@ -[{"title":"성능 향상","description":"앱 성능 및 속도 향상"},{"title":"버그 수정","description":"더 많은 버그를 제거하여 원활한 경험을 만드세요"}] \ No newline at end of file +[{"title":"성능 향상","description":"앱 성능 및 속도 향상"},{"title":"USDT 브리징 추가","description":"한 체인에서 다른 체인으로 USDT를 연결하세요"},{"title":"지갑 개선","description":"지갑 UI 및 기능 개선"},{"title":"버그 수정","description":"더 많은 버그를 제거하여 원활한 경험을 만드세요"}] \ No newline at end of file diff --git a/assets/new-ui/changelog/text/changelog_my.json b/assets/new-ui/changelog/text/changelog_my.json index 26d570e26..50a53cab7 100644 --- a/assets/new-ui/changelog/text/changelog_my.json +++ b/assets/new-ui/changelog/text/changelog_my.json @@ -1 +1 @@ -[{"title":"စွမ်းဆောင်ရည်မြှင့်တင်မှုများ","description":"အက်ပ်စွမ်းဆောင်ရည်နှင့် မြန်နှုန်းကို မြှင့်တင်ပါ။"},{"title":"ချွတ်ယွင်းချက်ပြင်ဆင်မှုများ","description":"သင့်အတွေ့အကြုံကို ချောမွေ့စေရန်အတွက် နောက်ထပ် bug များကို နှိမ်နင်းပါ။"}] \ No newline at end of file +[{"title":"စွမ်းဆောင်ရည်မြှင့်တင်မှုများ","description":"အက်ပ်စွမ်းဆောင်ရည်နှင့် မြန်နှုန်းကို မြှင့်တင်ပါ။"},{"title":"USDT ပေါင်းကူးထည့်ပါ။","description":"သင်၏ USDT ကို ကွင်းဆက်တစ်ခုမှ အခြားတစ်ခုသို့ ချိတ်ဆက်ပါ။"},{"title":"ပိုက်ဆံအိတ်များ တိုးတက်မှု","description":"ပိုက်ဆံအိတ် UI နှင့် လုပ်ဆောင်နိုင်စွမ်းကို မြှင့်တင်ပါ။"},{"title":"ချွတ်ယွင်းချက်ပြင်ဆင်မှုများ","description":"သင့်အတွေ့အကြုံကို ချောမွေ့စေရန်အတွက် နောက်ထပ် bug များကို နှိမ်နင်းပါ။"}] \ No newline at end of file diff --git a/assets/new-ui/changelog/text/changelog_nl.json b/assets/new-ui/changelog/text/changelog_nl.json index f758a906b..6cb1fd3ed 100644 --- a/assets/new-ui/changelog/text/changelog_nl.json +++ b/assets/new-ui/changelog/text/changelog_nl.json @@ -1 +1 @@ -[{"title":"Prestatieverbeteringen","description":"Verbeter de app-prestaties en snelheid"},{"title":"Bugfixes","description":"Vernietig meer bugs om uw ervaring soepel te laten verlopen"}] \ No newline at end of file +[{"title":"Prestatieverbeteringen","description":"Verbeter de app-prestaties en snelheid"},{"title":"Voeg USDT-overbrugging toe","description":"Overbrug uw USDT van de ene keten naar de andere"},{"title":"Verbeteringen in portefeuilles","description":"Verbeter de gebruikersinterface en functionaliteit van portemonnees"},{"title":"Bugfixes","description":"Vernietig meer bugs om uw ervaring soepel te laten verlopen"}] \ No newline at end of file diff --git a/assets/new-ui/changelog/text/changelog_pl.json b/assets/new-ui/changelog/text/changelog_pl.json index 808854db9..ab37eeb7c 100644 --- a/assets/new-ui/changelog/text/changelog_pl.json +++ b/assets/new-ui/changelog/text/changelog_pl.json @@ -1 +1 @@ -[{"title":"Ulepszenia wydajności","description":"Popraw wydajność i szybkość aplikacji"},{"title":"Poprawki błędów","description":"Zmiażdż więcej błędów, aby zapewnić płynność działania"}] \ No newline at end of file +[{"title":"Ulepszenia wydajności","description":"Popraw wydajność i szybkość aplikacji"},{"title":"Dodaj mostkowanie USDT","description":"Połącz swój USDT z jednego łańcucha do drugiego"},{"title":"Ulepszenia portfeli","description":"Ulepsz interfejs i funkcjonalność portfeli"},{"title":"Poprawki błędów","description":"Zmiażdż więcej błędów, aby zapewnić płynność działania"}] \ No newline at end of file diff --git a/assets/new-ui/changelog/text/changelog_pt.json b/assets/new-ui/changelog/text/changelog_pt.json index 272b9dea1..c17d71d94 100644 --- a/assets/new-ui/changelog/text/changelog_pt.json +++ b/assets/new-ui/changelog/text/changelog_pt.json @@ -1 +1 @@ -[{"title":"Melhorias de desempenho","description":"Melhore o desempenho e a velocidade do aplicativo"},{"title":"Correções de bugs","description":"Elimine mais bugs para tornar sua experiência mais tranquila"}] \ No newline at end of file +[{"title":"Melhorias de desempenho","description":"Melhore o desempenho e a velocidade do aplicativo"},{"title":"Adicionar ponte USDT","description":"Conecte seu USDT de uma rede para outra"},{"title":"Melhorias nas carteiras","description":"Melhore a interface e a funcionalidade das carteiras"},{"title":"Correções de bugs","description":"Elimine mais bugs para tornar sua experiência mais tranquila"}] \ No newline at end of file diff --git a/assets/new-ui/changelog/text/changelog_ru.json b/assets/new-ui/changelog/text/changelog_ru.json index 001cb9429..325b7ffc8 100644 --- a/assets/new-ui/changelog/text/changelog_ru.json +++ b/assets/new-ui/changelog/text/changelog_ru.json @@ -1 +1 @@ -[{"title":"Улучшения производительности","description":"Улучшите производительность и скорость приложения"},{"title":"Исправления ошибок","description":"Устраняйте больше ошибок, чтобы сделать вашу работу более комфортной."}] \ No newline at end of file +[{"title":"Улучшения производительности","description":"Улучшите производительность и скорость приложения"},{"title":"Добавить мост USDT","description":"Переведите свой USDT из одной цепочки в другую"},{"title":"Улучшения кошельков","description":"Улучшение пользовательского интерфейса и функциональности кошельков"},{"title":"Исправления ошибок","description":"Устраняйте больше ошибок, чтобы сделать вашу работу более комфортной."}] \ No newline at end of file diff --git a/assets/new-ui/changelog/text/changelog_th.json b/assets/new-ui/changelog/text/changelog_th.json index 32032f67c..5134cb0a1 100644 --- a/assets/new-ui/changelog/text/changelog_th.json +++ b/assets/new-ui/changelog/text/changelog_th.json @@ -1 +1 @@ -[{"title":"การปรับปรุงประสิทธิภาพ","description":"ปรับปรุงประสิทธิภาพและความเร็วของแอป"},{"title":"แก้ไขข้อบกพร่อง","description":"กำจัดแมลงให้มากขึ้นเพื่อทำให้ประสบการณ์ของคุณราบรื่น"}] \ No newline at end of file +[{"title":"การปรับปรุงประสิทธิภาพ","description":"ปรับปรุงประสิทธิภาพและความเร็วของแอป"},{"title":"เพิ่มการเชื่อมโยง USDT","description":"เชื่อมโยง USDT ของคุณจากเครือข่ายหนึ่งไปยังอีกเครือข่ายหนึ่ง"},{"title":"การปรับปรุงกระเป๋าสตางค์","description":"ปรับปรุง UI และฟังก์ชันการทำงานของกระเป๋าสตางค์"},{"title":"แก้ไขข้อบกพร่อง","description":"กำจัดแมลงให้มากขึ้นเพื่อทำให้ประสบการณ์ของคุณราบรื่น"}] \ No newline at end of file diff --git a/assets/new-ui/changelog/text/changelog_tl.json b/assets/new-ui/changelog/text/changelog_tl.json index 271760c23..458fc123b 100644 --- a/assets/new-ui/changelog/text/changelog_tl.json +++ b/assets/new-ui/changelog/text/changelog_tl.json @@ -1 +1 @@ -[{"title":"Mga pagpapahusay sa pagganap","description":"Pagbutihin ang pagganap at bilis ng app"},{"title":"Mga pag-aayos ng bug","description":"Mag-squash ng higit pang mga bug, para maging maayos ang iyong karanasan"}] \ No newline at end of file +[{"title":"Mga pagpapahusay sa pagganap","description":"Pagbutihin ang pagganap at bilis ng app"},{"title":"Magdagdag ng USDT bridging","description":"I-bridge ang iyong USDT mula sa isang chain patungo sa isa pa"},{"title":"Mga pagpapabuti ng mga pitaka","description":"Pagbutihin ang UI at functionality ng mga wallet"},{"title":"Mga pag-aayos ng bug","description":"Mag-squash ng higit pang mga bug, para maging maayos ang iyong karanasan"}] \ No newline at end of file diff --git a/assets/new-ui/changelog/text/changelog_tr.json b/assets/new-ui/changelog/text/changelog_tr.json index f859b7a9f..709a2ee46 100644 --- a/assets/new-ui/changelog/text/changelog_tr.json +++ b/assets/new-ui/changelog/text/changelog_tr.json @@ -1 +1 @@ -[{"title":"Performans iyileştirmeleri","description":"Uygulama performansını ve hızını artırın"},{"title":"Hata düzeltmeleri","description":"Deneyiminizi sorunsuz hale getirmek için daha fazla hatayı giderin"}] \ No newline at end of file +[{"title":"Performans iyileştirmeleri","description":"Uygulama performansını ve hızını artırın"},{"title":"USDT köprüsü ekleme","description":"USDT'nizi bir zincirden diğerine köprüleyin"},{"title":"Cüzdan iyileştirmeleri","description":"Cüzdan kullanıcı arayüzünü ve işlevselliğini iyileştirin"},{"title":"Hata düzeltmeleri","description":"Deneyiminizi sorunsuz hale getirmek için daha fazla hatayı giderin"}] \ No newline at end of file diff --git a/assets/new-ui/changelog/text/changelog_uk.json b/assets/new-ui/changelog/text/changelog_uk.json index 9b92e1deb..591aff9cf 100644 --- a/assets/new-ui/changelog/text/changelog_uk.json +++ b/assets/new-ui/changelog/text/changelog_uk.json @@ -1 +1 @@ -[{"title":"Підвищення продуктивності","description":"Покращте продуктивність і швидкість програми"},{"title":"Виправлення помилок","description":"Усуньте більше помилок, щоб ваш досвід був плавним"}] \ No newline at end of file +[{"title":"Підвищення продуктивності","description":"Покращте продуктивність і швидкість програми"},{"title":"Додайте перемикання USDT","description":"Переведіть свій USDT з одного ланцюга в інший"},{"title":"Покращення гаманців","description":"Покращте інтерфейс і функціональність гаманців"},{"title":"Виправлення помилок","description":"Усуньте більше помилок, щоб ваш досвід був плавним"}] \ No newline at end of file diff --git a/assets/new-ui/changelog/text/changelog_ur.json b/assets/new-ui/changelog/text/changelog_ur.json index b23d3bcbc..70955057b 100644 --- a/assets/new-ui/changelog/text/changelog_ur.json +++ b/assets/new-ui/changelog/text/changelog_ur.json @@ -1 +1 @@ -[{"title":"کارکردگی میں اضافہ","description":"ایپ کی کارکردگی اور رفتار کو بہتر بنائیں"},{"title":"بگ کی اصلاحات","description":"اپنے تجربے کو ہموار بنانے کے لیے مزید کیڑے نکالیں۔"}] \ No newline at end of file +[{"title":"کارکردگی میں اضافہ","description":"ایپ کی کارکردگی اور رفتار کو بہتر بنائیں"},{"title":"USDT برجنگ شامل کریں۔","description":"اپنے USDT کو ایک زنجیر سے دوسری زنجیر سے ملا دیں۔"},{"title":"بٹوے میں بہتری","description":"بٹوے کے UI اور فعالیت کو بہتر بنائیں"},{"title":"بگ کی اصلاحات","description":"اپنے تجربے کو ہموار بنانے کے لیے مزید کیڑے نکالیں۔"}] \ No newline at end of file diff --git a/assets/new-ui/changelog/text/changelog_vi.json b/assets/new-ui/changelog/text/changelog_vi.json index 74619ce24..a604eb759 100644 --- a/assets/new-ui/changelog/text/changelog_vi.json +++ b/assets/new-ui/changelog/text/changelog_vi.json @@ -1 +1 @@ -[{"title":"Cải tiến hiệu suất","description":"Cải thiện hiệu suất và tốc độ ứng dụng"},{"title":"Sửa lỗi","description":"Diệt nhiều lỗi hơn để giúp trải nghiệm của bạn mượt mà hơn"}] \ No newline at end of file +[{"title":"Cải tiến hiệu suất","description":"Cải thiện hiệu suất và tốc độ ứng dụng"},{"title":"Thêm cầu nối USDT","description":"Kết nối USDT của bạn từ chuỗi này sang chuỗi khác"},{"title":"Cải tiến ví","description":"Cải thiện giao diện người dùng và chức năng của ví"},{"title":"Sửa lỗi","description":"Diệt nhiều lỗi hơn để giúp trải nghiệm của bạn mượt mà hơn"}] \ No newline at end of file diff --git a/assets/new-ui/changelog/text/changelog_yo.json b/assets/new-ui/changelog/text/changelog_yo.json index 0187321d5..4570b04f7 100644 --- a/assets/new-ui/changelog/text/changelog_yo.json +++ b/assets/new-ui/changelog/text/changelog_yo.json @@ -1 +1 @@ -[{"title":"Awọn ilọsiwaju iṣẹ","description":"Ṣe ilọsiwaju iṣẹ ṣiṣe ati iyara app"},{"title":"Awọn atunṣe kokoro","description":"Squash diẹ sii awọn idun, lati jẹ ki iriri rẹ dan"}] \ No newline at end of file +[{"title":"Awọn ilọsiwaju iṣẹ","description":"Ṣe ilọsiwaju iṣẹ ṣiṣe ati iyara app"},{"title":"Fi USDT afara","description":"Afara rẹ USDT lati ọkan pq si miiran"},{"title":"Awọn ilọsiwaju Woleti","description":"Ṣe ilọsiwaju UI awọn apamọwọ ati iṣẹ ṣiṣe"},{"title":"Awọn atunṣe kokoro","description":"Squash diẹ sii awọn idun, lati jẹ ki iriri rẹ dan"}] \ No newline at end of file diff --git a/assets/new-ui/changelog/text/changelog_zh-cn.json b/assets/new-ui/changelog/text/changelog_zh-cn.json index 2e0f1eed4..2bb4e668f 100644 --- a/assets/new-ui/changelog/text/changelog_zh-cn.json +++ b/assets/new-ui/changelog/text/changelog_zh-cn.json @@ -1 +1 @@ -[{"title":"性能增强","description":"提高应用程序性能和速度"},{"title":"错误修复","description":"修复更多bug,让您的体验更加流畅"}] \ No newline at end of file +[{"title":"性能增强","description":"提高应用程序性能和速度"},{"title":"添加USDT桥接","description":"将您的 USDT 从一条链桥接到另一条链"},{"title":"钱包改进","description":"改进钱包用户界面和功能"},{"title":"错误修复","description":"修复更多bug,让您的体验更加流畅"}] \ No newline at end of file diff --git a/assets/new-ui/changelog/text/changelog_zh-tw.json b/assets/new-ui/changelog/text/changelog_zh-tw.json index da53a5bbb..f2271b3bf 100644 --- a/assets/new-ui/changelog/text/changelog_zh-tw.json +++ b/assets/new-ui/changelog/text/changelog_zh-tw.json @@ -1 +1 @@ -[{"title":"效能增強","description":"提高應用程式效能和速度"},{"title":"錯誤修復","description":"修復更多bug,讓您的體驗更加流暢"}] \ No newline at end of file +[{"title":"效能增強","description":"提高應用程式效能和速度"},{"title":"新增USDT橋接","description":"將您的 USDT 從一條鏈橋接到另一條鏈"},{"title":"錢包改進","description":"改進錢包用戶介面和功能"},{"title":"錯誤修復","description":"修復更多bug,讓您的體驗更加流暢"}] \ No newline at end of file diff --git a/cw_bitcoin/lib/litecoin_wallet_addresses.dart b/cw_bitcoin/lib/litecoin_wallet_addresses.dart index 19fed3bce..eee49591a 100644 --- a/cw_bitcoin/lib/litecoin_wallet_addresses.dart +++ b/cw_bitcoin/lib/litecoin_wallet_addresses.dart @@ -228,9 +228,13 @@ abstract class LitecoinWalletAddressesBase extends ElectrumWalletAddresses with @override String get addressForExchange { // don't use mweb addresses for exchange refund address: - final addresses = receiveAddresses - .where((element) => element.type == SegwitAddresType.p2wpkh && !element.isUsed); - return addresses.first.address; + try { + final addresses = receiveAddresses + .where((element) => element.type == SegwitAddresType.p2wpkh && !element.isUsed); + return addresses.first.address; + } catch (_) { + return receiveAddresses.first.address; + } } @override diff --git a/lib/buy/kryptonim/kryptonim.dart b/lib/buy/kryptonim/kryptonim.dart index 4bedd9485..de5e83608 100644 --- a/lib/buy/kryptonim/kryptonim.dart +++ b/lib/buy/kryptonim/kryptonim.dart @@ -65,15 +65,15 @@ class KryptonimBuyProvider extends BuyProvider { 'Authorization': _kryptonimApiKey, }; - final body = jsonEncode({ - 'amount': amount, - 'currency': fiatCurrency, - 'converted_currency': cryptoCurrency.title, - 'blockchain': _normalizeBlockChain(cryptoCurrency), - 'quote_currency': fiatCurrency, - }); - try { + final body = jsonEncode({ + 'amount': amount, + 'currency': fiatCurrency, + 'converted_currency': cryptoCurrency.title, + 'blockchain': _normalizeBlockChain(cryptoCurrency), + 'quote_currency': fiatCurrency, + }); + final response = await ProxyWrapper().post( clearnetUri: url, headers: headers, diff --git a/lib/entities/default_settings_migration.dart b/lib/entities/default_settings_migration.dart index d180a4a3c..d625654b7 100644 --- a/lib/entities/default_settings_migration.dart +++ b/lib/entities/default_settings_migration.dart @@ -17,21 +17,17 @@ import 'package:cake_wallet/exchange/trade.dart'; import 'package:cake_wallet/monero/monero.dart'; import 'package:cake_wallet/wownero/wownero.dart'; import 'package:collection/collection.dart'; -import 'package:cw_core/db/sqlite.dart'; import 'package:cw_core/node.dart'; import 'package:cake_wallet/entities/sync_status_display_mode.dart'; -import 'package:cake_wallet/wownero/wownero.dart'; import 'package:cw_core/pathForWallet.dart'; import 'package:cw_core/root_dir.dart'; import 'package:cw_core/spl_token.dart'; import 'package:cw_core/utils/print_verbose.dart'; import 'package:cw_core/wallet_info.dart'; import 'package:cw_core/wallet_type.dart'; -import 'package:cake_wallet/exchange/trade.dart'; import 'package:encrypt/encrypt.dart' as encrypt; import 'package:hive/hive.dart'; import 'package:shared_preferences/shared_preferences.dart'; -import 'package:collection/collection.dart'; import 'package:cw_core/cake_hive.dart'; import 'package:cw_core/erc20_token.dart'; @@ -617,6 +613,16 @@ Future defaultSettingsMigration( break; case 64: await _backupWowneroSeeds(havenSeedStore); + _changeExchangeProviderAvailability( + sharedPreferences, + providerName: "LetsExchange", + enabled: false, + ); + await _changeExchangeProviderAvailability( + sharedPreferences, + providerName: "Swaps.XYZ", + enabled: true, + ); break; default: break; diff --git a/lib/exchange/provider/swaptrade_exchange_provider.dart b/lib/exchange/provider/swaptrade_exchange_provider.dart index e78fc66f3..159c5ac45 100644 --- a/lib/exchange/provider/swaptrade_exchange_provider.dart +++ b/lib/exchange/provider/swaptrade_exchange_provider.dart @@ -192,7 +192,7 @@ class SwapTradeExchangeProvider extends ExchangeProvider { 'amount_send': request.fromAmount, 'recipient': request.toAddress, 'ref': 'cake', - 'markup': int.tryParse(markup.toString()) ?? 0, + 'markup': double.tryParse(markup.toString()) ?? 0, 'refund_address': request.refundAddress, }; diff --git a/lib/exchange/provider/xoswap_exchange_provider.dart b/lib/exchange/provider/xoswap_exchange_provider.dart index 34bf923e0..22d4ded74 100644 --- a/lib/exchange/provider/xoswap_exchange_provider.dart +++ b/lib/exchange/provider/xoswap_exchange_provider.dart @@ -7,13 +7,21 @@ import 'package:cake_wallet/exchange/trade.dart'; import 'package:cake_wallet/exchange/trade_not_created_exception.dart'; import 'package:cake_wallet/exchange/trade_request.dart'; import 'package:cake_wallet/exchange/trade_state.dart'; -import 'package:cake_wallet/exchange/utils/currency_pairs_utils.dart'; +import 'package:cake_wallet/utils/package_info.dart'; import 'package:cw_core/crypto_currency.dart'; import 'package:cw_core/utils/print_verbose.dart'; import 'package:cw_core/utils/proxy_wrapper.dart'; import 'package:cake_wallet/utils/exchange_provider_logger.dart'; class XOSwapExchangeProvider extends ExchangeProvider { - XOSwapExchangeProvider(); + XOSwapExchangeProvider() { + _addAppVersionHeader(); + } + + void _addAppVersionHeader() async { + final packageInfo = await PackageInfo.fromPlatform(); + final currentVersion = packageInfo.version; + _headers['App-Version'] = currentVersion; + } static const _apiAuthority = 'exchange.exodus.io'; static const _apiPath = '/v3'; @@ -22,7 +30,7 @@ class XOSwapExchangeProvider extends ExchangeProvider { static const _orders = '/orders'; static const _assets = '/assets'; - static const _headers = {'Content-Type': 'application/json', 'App-Name': 'cake-labs'}; + static final _headers = {'Content-Type': 'application/json', 'App-Name': 'cake-labs'}; final _networks = { 'POL': 'matic', diff --git a/lib/new-ui/widgets/receive_page/receive_label_modal.dart b/lib/new-ui/widgets/receive_page/receive_label_modal.dart index 5f7132ad3..6ca9a9676 100644 --- a/lib/new-ui/widgets/receive_page/receive_label_modal.dart +++ b/lib/new-ui/widgets/receive_page/receive_label_modal.dart @@ -1,4 +1,3 @@ -import 'dart:async'; import 'package:cake_wallet/entities/new_ui_entities/list_item/list_item_text_field.dart'; import 'package:cake_wallet/generated/i18n.dart'; import 'package:cake_wallet/new-ui/widgets/new_primary_button.dart'; @@ -7,7 +6,6 @@ import 'package:cake_wallet/src/widgets/new_list_row/new_list_section.dart'; import 'package:cake_wallet/view_model/wallet_address_list/wallet_address_edit_or_create_view_model.dart'; import 'package:cw_core/utils/print_verbose.dart'; import 'package:flutter/material.dart'; -import 'package:flutter/rendering.dart'; import 'package:flutter_mobx/flutter_mobx.dart'; import 'package:mobx/mobx.dart'; @@ -37,7 +35,9 @@ class _ReceiveLabelModalState extends State { printV(state); if (state is AddressSavedSuccessfully) { WidgetsBinding.instance.addPostFrameCallback((_) { - Navigator.of(context).pop(widget.walletAddressEditOrCreateViewModel.label); + if (mounted && Navigator.canPop(context)) { + Navigator.of(context).pop(widget.walletAddressEditOrCreateViewModel.label); + } }); } }); diff --git a/lib/src/screens/rescan/rescan_page.dart b/lib/src/screens/rescan/rescan_page.dart index 78fd248b8..3727538d5 100644 --- a/lib/src/screens/rescan/rescan_page.dart +++ b/lib/src/screens/rescan/rescan_page.dart @@ -130,7 +130,7 @@ class _RescanPageState extends State { } Future _toggleSilentPaymentsScanning(BuildContext context) async { - final height = int.parse(_heightController.text); + final height = int.tryParse(_heightController.text) ?? 0; Navigator.of(context).pop(); diff --git a/lib/src/widgets/blockchain_height_widget.dart b/lib/src/widgets/blockchain_height_widget.dart index 876b9904d..122806ded 100644 --- a/lib/src/widgets/blockchain_height_widget.dart +++ b/lib/src/widgets/blockchain_height_widget.dart @@ -63,8 +63,13 @@ class BlockchainHeightState extends State { dateController.text = ''; } try { - _changeHeight( - restoreHeightController.text.isNotEmpty ? int.parse(restoreHeightController.text) : 0); + final int _height; + if (restoreHeightController.text.isNotEmpty) { + _height = int.tryParse(restoreHeightController.text) ?? 0; + } else { + _height = 0; + } + _changeHeight(_height); } catch (_) { _changeHeight(0); } diff --git a/lib/utils/exception_handler.dart b/lib/utils/exception_handler.dart index f2946bf1f..44f421709 100644 --- a/lib/utils/exception_handler.dart +++ b/lib/utils/exception_handler.dart @@ -295,6 +295,7 @@ class ExceptionHandler { "core/key_service.dart:14", "Wallet is null", "Wrong Device Status: 0x5515 (UNKNOWN)", + "Command handling failed. With error: hostUnreachable", "FocusScopeNode was used after being disposed", "_getDismissibleFlushbar", diff --git a/lib/utils/token_utilities.dart b/lib/utils/token_utilities.dart index 4cda4a728..8e70e3e28 100644 --- a/lib/utils/token_utilities.dart +++ b/lib/utils/token_utilities.dart @@ -272,12 +272,12 @@ class TokenUtilities { if (isPotentialEVM) { // Try by tag first if available (e.g., 'POL', 'BASE', 'ARB') if (tag != null) { - final chainId = evm!.getChainIdByTag(tag); + final chainId = evm?.getChainIdByTag(tag); if (chainId != null) return chainId; } // Try by title (case-insensitive) - final titleChainId = evm!.getChainIdByTitle(title); + final titleChainId = evm?.getChainIdByTitle(title); if (titleChainId != null) return titleChainId; } diff --git a/lib/view_model/bridge/bridge_view_model.dart b/lib/view_model/bridge/bridge_view_model.dart index e84ccf6fc..158c40cb1 100644 --- a/lib/view_model/bridge/bridge_view_model.dart +++ b/lib/view_model/bridge/bridge_view_model.dart @@ -19,7 +19,6 @@ import 'package:cake_wallet/store/dashboard/fiat_conversion_store.dart'; import 'package:cake_wallet/store/settings_store.dart'; import 'package:cw_core/crypto_currency.dart'; import 'package:cw_core/erc20_token.dart'; -import 'package:cw_core/transaction_priority.dart'; import 'package:cw_core/wallet_base.dart'; import 'package:cw_core/wallet_info.dart'; import 'package:cw_core/utils/print_verbose.dart'; @@ -310,8 +309,7 @@ abstract class BridgeViewModelBase extends WalletChangeListenerViewModel with St BigInt get selectedTokenBalance { final bal = wallet.balance[selectedToken]; - if (bal is EVMChainERC20Balance) return bal.balance; - return BigInt.zero; + return bal?.available ?? BigInt.zero; } @computed @@ -477,7 +475,7 @@ abstract class BridgeViewModelBase extends WalletChangeListenerViewModel with St isExecuting = true; executeError = null; try { - final priority = EVMChainTransactionPriority.medium; + final priority = evm!.getDefaultTransactionPriority(); final pending = await evm!.executeUSDT0Transfer( wallet: wallet, token: token, @@ -486,7 +484,7 @@ abstract class BridgeViewModelBase extends WalletChangeListenerViewModel with St amount: amountBigInt, recipientAddress: recipientAddress.trim(), quote: quote!, - priority: priority as TransactionPriority, + priority: priority, useBlinkProtection: canSupportBlinkProtection(src), ); diff --git a/scripts/android/app_env.sh b/scripts/android/app_env.sh index 3835c695c..e63821930 100644 --- a/scripts/android/app_env.sh +++ b/scripts/android/app_env.sh @@ -14,15 +14,15 @@ TYPES=($MONERO_COM $CAKEWALLET) APP_ANDROID_TYPE=$1 MONERO_COM_NAME="Monero.com" -MONERO_COM_VERSION="6.0.3" -MONERO_COM_BUILD_NUMBER=4156 +MONERO_COM_VERSION="6.1.0" +MONERO_COM_BUILD_NUMBER=4157 MONERO_COM_BUNDLE_ID="com.monero.app" MONERO_COM_PACKAGE="com.monero.app" MONERO_COM_SCHEME="monero.com" CAKEWALLET_NAME="Cake Wallet" -CAKEWALLET_VERSION="6.0.3" -CAKEWALLET_BUILD_NUMBER=4407 +CAKEWALLET_VERSION="6.1.0" +CAKEWALLET_BUILD_NUMBER=4408 CAKEWALLET_BUNDLE_ID="com.cakewallet.cake_wallet" CAKEWALLET_PACKAGE="com.cakewallet.cake_wallet" CAKEWALLET_SCHEME="cakewallet" diff --git a/scripts/ios/app_env.sh b/scripts/ios/app_env.sh index a908b0c9b..ab82e58c9 100644 --- a/scripts/ios/app_env.sh +++ b/scripts/ios/app_env.sh @@ -12,13 +12,13 @@ TYPES=($MONERO_COM $CAKEWALLET) APP_IOS_TYPE=$1 MONERO_COM_NAME="Monero.com" -MONERO_COM_VERSION="6.0.3" -MONERO_COM_BUILD_NUMBER=161 +MONERO_COM_VERSION="6.1.0" +MONERO_COM_BUILD_NUMBER=162 MONERO_COM_BUNDLE_ID="com.cakewallet.monero" CAKEWALLET_NAME="Cake Wallet" -CAKEWALLET_VERSION="6.0.4" -CAKEWALLET_BUILD_NUMBER=412 +CAKEWALLET_VERSION="6.1.0" +CAKEWALLET_BUILD_NUMBER=416 CAKEWALLET_BUNDLE_ID="com.fotolockr.cakewallet" diff --git a/scripts/linux/app_env.sh b/scripts/linux/app_env.sh index fbc2547d8..0a66f626c 100755 --- a/scripts/linux/app_env.sh +++ b/scripts/linux/app_env.sh @@ -14,8 +14,8 @@ if [ -n "$1" ]; then fi CAKEWALLET_NAME="Cake Wallet" -CAKEWALLET_VERSION="6.0.2" -CAKEWALLET_BUILD_NUMBER=78 +CAKEWALLET_VERSION="6.1.0" +CAKEWALLET_BUILD_NUMBER=79 if ! [[ " ${TYPES[*]} " =~ " ${APP_LINUX_TYPE} " ]]; then echo "Wrong app type." diff --git a/scripts/macos/app_env.sh b/scripts/macos/app_env.sh index cdd77d0ff..194d12ccf 100755 --- a/scripts/macos/app_env.sh +++ b/scripts/macos/app_env.sh @@ -16,13 +16,13 @@ if [ -n "$1" ]; then fi MONERO_COM_NAME="Monero.com" -MONERO_COM_VERSION="6.0.2" -MONERO_COM_BUILD_NUMBER=78 +MONERO_COM_VERSION="6.1.0" +MONERO_COM_BUILD_NUMBER=79 MONERO_COM_BUNDLE_ID="com.cakewallet.monero" CAKEWALLET_NAME="Cake Wallet" -CAKEWALLET_VERSION="6.0.2" -CAKEWALLET_BUILD_NUMBER=146 +CAKEWALLET_VERSION="6.1.0" +CAKEWALLET_BUILD_NUMBER=147 CAKEWALLET_BUNDLE_ID="com.fotolockr.cakewallet" if ! [[ " ${TYPES[*]} " =~ " ${APP_MACOS_TYPE} " ]]; then diff --git a/scripts/windows/build_exe_installer.iss b/scripts/windows/build_exe_installer.iss index 6573957aa..d8fbc6e7e 100644 --- a/scripts/windows/build_exe_installer.iss +++ b/scripts/windows/build_exe_installer.iss @@ -1,5 +1,5 @@ #define MyAppName "Cake Wallet" -#define MyAppVersion "6.0.2" +#define MyAppVersion "6.1.0" #define MyAppPublisher "Cake Labs LLC" #define MyAppURL "https://cakewallet.com/" #define MyAppExeName "CakeWallet.exe"