Commit Graph
1668 Commits
Author SHA1 Message Date
241503774f dev: add recovery screen when sqlite db doesn't open (#3179)
* dev: add recovery screen when sqlite db doesn't open

* Update cw_core/lib/db/sqlite_debug.dart [skip ci]

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2026-06-15 01:21:14 +02:00
malik1004xandGitHub 9face62eff disable editing coin control from settings (#3284) 2026-06-15 01:17:47 +02:00
malik1004xandGitHub dbbd06aa56 fix padding on NewWalletTypePage (#3333) 2026-06-13 11:34:49 +02:00
Omar dc1b369e08 fix: use buy-specific address for buy/sell flow and restrict lightning invoice generation to bitcoin wallets 2026-06-10 19:55:47 +02:00
David AdegokeandGitHub 782253a653 fix: propagate buy/sell crypto address to providers without needing to focus the field (#3324) 2026-06-10 19:54:54 +02:00
David AdegokeandGitHub f462f0a2d7 tentative fix for evm wallet creation issue after backup restore (#3316) 2026-06-09 00:01:44 +02:00
David AdegokeandGitHub 7c321faf2f Release fixes (#3301)
* fix: Solana GMT token showing the wrong decimal place

* add badge icon to swap confirm sheet, also address book chain icons display correctly

* missing mask icon for mweb
2026-06-06 14:34:56 +02:00
Omar HatemandGitHub 0c72b08f0e v6.2.0 Release Candidate (#3274)
* v6.2.0 Release Candidate

* update zcash

* Update release notes and version
2026-06-05 10:49:30 +02:00
David AdegokeandGitHub 74c7de1c9c Generic fixes (#3292)
* Add masked token image to to currency picker items and adjust estacked badge icon for node share qr

* fix: Missing chain images in bridge flow

* chore: Update image paths

* fix: WC connection not triggering for Solana from scan qr

* fix: Wallet icon and eth currency icon displaying wrongly in various places for Base wallets
2026-06-04 18:17:35 +02:00
malik1004xandGitHub 8c1c700b93 fix sizing (#3298) 2026-06-04 18:08:11 +02:00
86ea17d5bf improved scan screen [cw-1507] (#3281)
* (wip) new scan screen

* improved scan screen

* fixes for ui

* switch to modal sheet

* add urqr (cupcake) progress indicator

* fixes

* Update lib/new-ui/pages/scan_page.dart

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2026-06-03 18:13:22 +02:00
David AdegokeandGitHub 52c380a455 Unify svg and png rendering (#3288)
* Improve token image display with mask and background

* Enhance token image bg and remove wierd halo effect that was showing, also add token bg to disclaimer and picker

* Add token bg to more locations and give another shot at halo

* fix: halo around token images

* add token background to non-transparent images only

* another shot at bg based on transparency

* refactor: enhance token image widget shape handling and add filter quality option to cake image widget

* fix: another shot

* refactor: update token image shape handling for svg, no need to clip

* fix: bnb wallet image not displaying on receive token display

* Remove svg path and render all through token image widget
2026-06-03 17:44:19 +02:00
8af85351e9 feat: redesign for CurrencyPicker and FiatPicker, introduce recents and currency groupings (#3248)
* Redesign for CurrencyPicker and FiatPicker, introduce recents and currency groupings

* chore: cleanup

* refactor: switch recents to previously completed trades, specify stables to be displayed, fix scrollable and adjust badge

* refactor: switch recents to previously completed trades, specify stables to be displayed, fix scrollable, adjust badge, add fiat and multinetwork currency pickers to buy and sell flows

* fresh set of changes and fixes for new currency picker flow

* add chain label to items on search and smooth pop

* add chain pill and label to xstocks

* properly filter search results

* shorten chain pill name for BSC tokens

* Review fixes

* cleanups

* safe pop

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2026-06-03 16:38:16 +02:00
David AdegokeandGitHub 4365462279 Improve token image display with mask and background (#3231)
* Improve token image display with mask and background

* Enhance token image bg and remove wierd halo effect that was showing, also add token bg to disclaimer and picker

* Add token bg to more locations and give another shot at halo

* fix: halo around token images

* add token background to non-transparent images only

* another shot at bg based on transparency

* refactor: enhance token image widget shape handling and add filter quality option to cake image widget

* fix: another shot
2026-06-03 14:10:49 +02:00
malik1004xandGitHub 371c063bc6 fix naming on wallet type page (#3279)
* fix naming on wallet type page

* add long press copy to tx history amount
2026-06-02 16:55:54 +02:00
a8a70f5bb9 Node UI Fixes (#3275)
* UI fixes, updated icons, and temporarily revert Rescan button

* readd ping test button to node list, readd rescan to connections, fixup ui

* increase gap for node edit button

* remove rescan from connections for sp

* remove rescan from connections for mweb

---------

Co-authored-by: Robert Malikowski <malikowskirobert@gmail.com>
2026-06-02 15:45:44 +02:00
Konstantin UllrichandGitHub 45cba318ce refactor: replace deprecated SVG resource, adjust device tap behavior, and improve wallet selection image rendering (#3276)
* refactor: replace deprecated SVG resource, adjust device tap behavior, and improve wallet selection image rendering

* fix: render wallet image and update text style on NewWalletTypePage
2026-06-02 14:12:56 +02:00
5b2a8f6755 Cw 1379 add monero support to trezor rebase dev (#3273)
* refactor: migrate hardware wallet resources to `new-ui`, add Trezor model support, and streamline hardware wallet handling across services

* refactor: migrate hardware wallet resources to `new-ui`, add Trezor model support, and streamline hardware wallet handling across services

* fix: correctly check for Ledger hardware wallet type in `isHardwareWallet` logic

* refactor: unify `isConnected` method for hardware wallets, add Trezor-specific support, and update Monero sync logic

* refactor: add Trezor transaction signing support, streamline hardware wallet handling, and update Monero dependency

* refactor: improve Trezor transaction handling, adjust hardware wallet state logic, and update Monero dependency references

* fix: non-hww tx commit() in xmr
fix: prod monero_c
fix: keyImage import workaround for Trezor/Cupcake
chore: add kotlin's .salive to .gitignore

* fix: universal_ble builds on iOS
chore: remove prints
fix: proper CI prebuilt for linux

* new trezor connection ui

* fix page title

* typo

* fix page title anim

* refactor: enhance Trezor pairing flow, update state management, and simplify UI logic in hardware wallet integration

* fix: correct widget indentation in Trezor pairing failure state UI

* fix: extract Trezor pairing failure state UI to `_errorBox` widget and update Trezor dependency reference

* refactor: simplify hardware wallet pairing error UI, optimize `_errorBox` layout, and streamline widget logic

* Update cw_monero/lib/pending_monero_transaction.dart

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>

* Update lib/buy/robinhood/robinhood_buy_provider.dart

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>

* feat: add USB intent filters, device filter for hardware wallets, and update Trezor dependency reference

* Update cw_monero/pubspec.yaml [skip ci]

* Update cw_wownero/pubspec.yaml [skip ci]

* Update cw_zano/pubspec.yaml [skip ci]

* fix: use CryptoCurrency.title instead of amount-refactor-only .symbol getter

new_wallet_type_page used curr.symbol, which only exists on the
amount-refactor branch (String get symbol => title). On dev the
equivalent is curr.title. Adapts the Trezor feature to dev's API
without pulling in amount-refactor.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* Fix wallet list screen not scrollable
minor fixes

---------

Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
Co-authored-by: Czarek Nakamoto <cyjan@mrcyjanek.net>
Co-authored-by: Robert Malikowski <malikowskirobert@gmail.com>
Co-authored-by: Konstantin Ullrich <konstantin@cakewallet.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-02 02:33:17 +02:00
6c1ee16513 new-node-list-ui-on-dev (#3259)
* node list new ui

# Conflicts:
#	cw_core/lib/node_list.dart

* increase touch target sizes

* fix scroll behavior

* fix concurrent modification

* Update lib/src/screens/settings/manage_nodes_page.dart [skip ci]

* Update lib/src/screens/nodes/node_create_or_edit_page.dart [skip ci]

* run speed test in parallel not sequential

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2026-06-01 21:32:12 +02:00
David AdegokeandGitHub e13d997622 Refactor WalletConnect UI components and enhance transaction approval and signing flow (#3233)
* Refactor WalletConnect UI components and enhance transaction approval and signing flow

* Refactor WalletConnect UI components and enhance transaction approval and signing flow

* Remove unused ui components

* Enhance pairing details page and remove unused ui components

* adjust buttons on details page

* Add warning banner for scam dApps on connection requests

* General cleanup

* Parse and display estimated network fee for WalletConnect approval requests

* Revamp WalletConnect pair listing view

* Remove unused action buttons and walletkit methods

* update svg and sync with dev
2026-06-01 17:27:24 +02:00
0c3b06d3c1 feat Add gradient-only card design and icon style picker (#3054)
* feat Add gradient-only card design and icon style picker

* refactor: Migrate card icon style to index-based storage

* feat: Add new card icons/styles for icon panel

* feat: add generic cake card icon

* Update coin icons and add opacity

* Remove vector icon files

* Remove vector icon files

* add xmr-og.webp

* feat: add animated switcher to icon style panel

* Enhance icson style preview
fix special gradient bug on plain style card

* Fix card styles ignoring special gradient text color combination

* Improve icon mgmt for card design handling, other fixes also based on review too

* fix: Add bounds check to icon style index

* fix: monero classic icon not displaying

---------

Co-authored-by: tuxsudo <tuxsudo@tux.pizza>
2026-05-31 13:29:23 +02:00
OmarandClaude Opus 4.7 ac05166e95 Rebase node-sqlite-migration onto dev
Squashed migration of node Hive→SQLite, default-node handling,
isPow/proxy support, arbitrum node updates, and related fixes.
Replays node-sqlite-migration on top of current dev without the
amount-refactor merge that the original branch carried.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-26 17:04:36 +02:00
baac6eeabc feat: add support for Zcash names resolution (#3237)
* feat: Add memo support for swap

* fix: Error on swap page select receiver bottomsheet when picking receiveing currency that's not a wallet type

* feat: exclude providers that do not support memo when receive currency needs it, also show passed memo in confirmation and trade history sheets

* fix: overflow for destination tag on swap confirmation

* feat: add support for Zcash names resolution

* fix conflict because github is shit

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2026-05-24 13:36:16 +02:00
David AdegokeandGitHub 087c2b9411 fix: Handle ethereum QR for pay anything (#3250) 2026-05-21 17:38:17 +02:00
Omar e4ef1a1141 fix github stupid web editor 2026-05-20 21:57:34 +02:00
d325ece6ea fix: Better handle expired session and auth data for walletconnect (#3228)
* fix: Better handle expired session and auth data for walletconnect

* fix: handle dApp disconnected sessions, reflecting the state locally

* Update lib/src/screens/wallet_connect/services/walletkit_service.dart [skip ci

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2026-05-20 18:22:07 +02:00
David AdegokeandGitHub c684318373 Pay anything fixes (#3224)
* fix: Default to current chain for generic evm format addresses

* fix: Handle pay anything triggers in monero.com builds
2026-05-20 17:41:04 +02:00
Omar HatemandGitHub 4125c5fe80 Allow Exporting transaction history to a CSV file (#3230)
* Allow Exporting transaction history to a CSV file

* fix: improve safety for share dialog bounds and navigation pop
2026-05-18 16:53:06 +02:00
SerhiiandGitHub 2c245040c0 fix cakepay number textfield (#3221) 2026-05-08 21:37:01 +02:00
SerhiiandGitHub 758cb8d8e5 restore swaps xyz tx registration (#3205) 2026-05-08 20:30:34 +02:00
Anton SchmidtandGitHub b142c34f0f fix: Windows file save dialog appearing behind app window (#3214)
Add lockParentWindow: true to all FilePicker.platform.saveFile() calls
so the Win32 save dialog gets the Flutter window as its owner and appears
in front of the application instead of behind it.

Also handle null result (user cancellation) gracefully instead of
force-unwrapping, which would throw an unhandled exception.

Fixes cake-tech/cake_wallet#3107
2026-05-07 04:44:46 +02:00
9f6396f5d8 feat: migrate Trade data to SQLite with TradeLegacy for backward compatibility (#3106)
* feat: migrate Trade data to SQLite with TradeLegacy for backward compatibility

* feat: persist full currency snapshots in sql storage, not raw-only [WIP]

* feat: persist full trade currency snapshots in sql storage

* refactor trade and currency handling for migration

* Minor fixes

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2026-05-07 00:02:04 +02:00
5feee62358 Image cleanup (#3160)
* Remove webp currency icons and switch all to SVG

* Remove more unused images

* Fix base icon

* Fix Polygon, Tron, Bitcoin Cash, and BNB flat icons

* Fix base icon

* Remove more unused icons

* Update icon urls

* Switch support icons to SVGs

* Replace more hero images

* Add back Haven logo temporarily and fix refund icon

* Fix

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2026-05-06 23:00:05 +02:00
2651260fe4 CW-1260: Enable Swap all for EVM wallets and persist amount when currency changes (#2828)
* feat: Enable Swap all for EVM wallets and persist amount when currency changes

* Update local

* ffeat: Recalculate amounts when swapping all and currency changes

* revert formatting

* fix: Review comments

* refactor: streamline currency change logic

* refactor: simplify currency change handling

* fix: handle amount and gas estimation for swap xyz trades for swap all

* Revert "fix: handle amount and gas estimation for swap xyz trades for swap all"

This reverts commit 408c9dbeffdc82e08e9349d0f14b229031060c62.

* feat: exclude specific providers for swap all

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2026-04-30 20:17:21 +02:00
Omar b01d2a6264 minor ui fix [skip ci] 2026-04-28 20:32:49 +02:00
Omar HatemandGitHub 314eb36dd5 6.1.0 fixes (#3190)
* - Fix swap state not maintained (fixed rate can be on or off at the same time)
- Fix Pay Anything putting contract address
- Pick the token of the URI

* fix incorrect function calls [skip ci]
2026-04-18 00:05:14 +02:00
malik1004xandGitHub 1cb05d5211 fix bridge ui (#3189)
* fix bridge ui

* padding on info bottom sheet

* fix cutoff on infobottomsheet

* fix wording on bridge details ui

* no _amountController.clear() on bridge page navigation

* autofocus keyboard on bridge page opened

* remove KeyboardHideOverlay

* fix text field resize

* fix text field padding
2026-04-17 23:46:58 +02:00
0e92111d93 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 <omarh.ismail1@gmail.com>

* 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 <malikowskirobert@gmail.com>
Co-authored-by: cyan <cyjan@mrcyjanek.net>
Co-authored-by: David Adegoke <64401859+Blazebrain@users.noreply.github.com>
2026-04-16 05:09:59 +02:00
586a040e4a 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 <omarh.ismail1@gmail.com>
2026-04-15 05:06:05 +02:00
malik1004xandGitHub c338c6d6b8 add copy indicator on tx details screen (#3152) 2026-04-14 05:45:31 +02:00
malik1004xandGitHub 8ba05dd284 Merge branch 'dev' into list-item-padding 2026-04-13 23:36:16 +02:00
cyanandGitHub 0bd69009cf fix: disable dev options, keep btc logs (#3170) 2026-04-13 19:00:23 +02:00
tuxsudoandGitHub 807c230f3d Merge branch 'dev' into list-item-padding 2026-04-13 15:12:50 +00:00
ef752c747e fix: walletconnect fee refresh (#3153)
* fix: refresh EIP-1559 fees before sign for walletconnect transactions

* fix: add missing data to configure file

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2026-04-09 10:45:14 +02:00
tuxsudo 3ab5c502f2 Remove a change and fix padding on transactions page 2026-04-08 22:03:22 -04:00
tuxsudo 18228aad9e Add padding to list items 2026-04-08 19:24:19 -04:00
malik1004xandGitHub a27e321548 wrap BaseAlertDialog content in Material (#3156) 2026-04-07 18:43:46 +02:00
malik1004xandGitHub ac410f40c9 improve dialog box design (#3145) 2026-04-02 13:04:57 +02:00
David AdegokeandGitHub a22935a474 refactor: Switch preference to moralis when fetching token data for newly added token; allows us get the token iconpath (#3149) 2026-04-01 12:13:22 +02:00
malik1004xandGitHub 915e76d4f9 improve evm ui (#3129)
* improve evm ui

* fix model generation

* add db schema

* bugfixes

* scrollable fav token modal

* make combined balance the default

* add crypto_full_icons to pubspec

* optimize transaction duplication check

* fix format issue

* add chain icons to swap tiles

* decrease asset tile font weight

* show chain icon in swap currency selector

* move chain icon for tokens

* new trade history row

* ui fix

* fix padding on modal

* remove vec
2026-04-01 11:04:58 +02:00