Commit Graph
3347 Commits
Author SHA1 Message Date
Konstantin UllrichandGitHub af35c28152 CW-1143-Fix-Ledger-wallets-getting-corruption-popups (#2447)
* fix: handle errors differently if it is a ledger wallet

* fix: improve ledger error code regex
2025-08-12 16:39:34 +03:00
cyanandGitHub 1a173e7e1e fix: prevent writes to socket after closing (#2449) 2025-08-12 16:23:39 +03:00
d24cb84e16 CW-1132-Cake-Pay-flow-does-not-use-MWEB-funds (#2434)
* add MWEB coin selection for Cake Pay flow

* add MWEB checks

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-08-12 16:06:03 +03:00
Konstantin UllrichandGitHub d64a58389b feat: add currency override support in fiat conversion service (#2445) 2025-08-11 20:21:07 +03:00
Omar HatemandGitHub ce1102187e Add custom background (#2442)
* Add ability to put a custom background to the home page

* add translation [skip ci]
2025-08-09 14:30:55 +03:00
OmarHatem f556603392 update bitcoin_base to fix version conflict issue 2025-08-09 04:58:58 +03:00
JyftandGitHub faa6f50001 BUG-2441: Currency input field auto-highlighting fixed (#2443) 2025-08-09 03:48:36 +03:00
Omar HatemandGitHub 601a6a5a8f limit when to check for thornames to only if the text does not match an address and less than or equal 30 char (#2438) 2025-08-08 05:26:22 +03:00
b6244cdd44 CW-1099-Add-Doge-coin-to-Cake-Wallet (#2396)
* add wallet create, restore and server integration

* update transaction fee calculation

* Updated tool/configure.dart

* Add dogecoin support to app_config

* minor fix [skip ci]

* Update model_generator.sh

* remove cw_bitcoin import from  lib/ directory

* update bitcoin base

* update default node

* add passphrase an QR restore option

* add Dogecoin support for message signing

* add Dogecoin support across wallet features

* fix edit subaddress

Updated the isElectrum getter to include WalletType.dogecoin, ensuring Dogecoin wallets are correctly identified as Electrum-compatible.

* Update configure.dart

* fix: address label not saved

* remove unused derivationPath

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

* address review comments

* fix generateInitialAddresses type

* enable auto switching for Dogecoin nodes

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-08-07 22:07:20 +03:00
OmarHatem 9053a3d726 fix silent payment null check on view only wallets 2025-08-07 20:14:29 +03:00
cyanandGitHub 9d30c1d4e2 fix(dev): don't build in initState (#2433) 2025-08-07 05:46:12 +03:00
778ac4783e sp improvements (#2418)
* feat: show sp keys

* fix: merge fixes

* feat: show sp receive address on tx details page

* feat(keys): show silent payment keys tab & keys tab

* Update lib/src/screens/wallet_keys/wallet_keys_page.dart

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-08-06 21:02:08 +03:00
4dc5be7640 sp debugging (#2426)
* feat(sp): debug logging feature

* fix(sp): Receiver

* feat(sp): handle and log failures and early returns

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-08-06 16:26:19 +03:00
cyanandGitHub c0ad8e2f70 fix: pin hashlib version (#2432) 2025-08-06 02:59:59 +03:00
OmarHatem 9a8db26e0f re-add LetsExchange 2025-08-05 18:26:48 +03:00
JorgeandGitHub 80dfb45fd2 Fix Spanish translation of search field text (#2429) 2025-08-04 19:05:44 +03:00
Luis MiguelandGitHub f35cc1b26e Spanish translation minor fixes (#2431)
* Improving spanish translation

* Fixes for correctness and to fit labels into the UI
2025-08-04 19:04:09 +03:00
OmarHatem 1312bd00de handle more ledger cases [skip ci] 2025-08-04 03:47:52 +03:00
OmarHatem 155b9ab32c change send button text when disabled 2025-08-04 03:13:20 +03:00
OmarHatem 20b455d6e1 enable restore option for desktop dropdown [skip ci] 2025-08-02 04:19:00 +03:00
OmarHatem 441091ff93 update build number [skip ci] 2025-08-02 01:16:19 +03:00
Omar HatemandGitHub df39ddf64d v5.2.0 Release Candidate (#2423) 2025-08-01 21:11:04 +03:00
SerhiiandGitHub 8315d6ec78 set minimum card amount to 10 USD (#2425) 2025-08-01 18:36:01 +03:00
OmarHatem c67a0f2346 minor fix [skip ci] 2025-07-31 20:39:26 +03:00
cyanandGitHub 7468fed91b fix: use async api to checkNodeHealth (#2421) 2025-07-31 19:49:17 +03:00
8bf8c83f0e fix: Sell action symbol swap (#2422)
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-07-31 19:48:16 +03:00
David AdegokeandGitHub a41c23952f CW-1155: Mask fiat amounts to be more readable (#2420)
* feat: Mask fiat amounts to be more readable, with comma formating for large numbers

* fix: Add fiat masking to buy and sell
2025-07-31 19:46:13 +03:00
OmarHatem d44d527f55 update crypto currencies order 2025-07-31 17:37:28 +03:00
David AdegokeandGitHub 186247d849 CW-1078: Electrum Wallets not reconencting correctly if the OS closes the connection (#2405)
* fix: Electrum Wallets not reconencting correctly if the OS closes the connection

* fix: Electrum connectivity bug. Enahnced checks and reconnect when needed, and Socket health logs page for logs

* fix: Add extra checks

* chore: Migrate to static log list instead of file storage

* fix: Electrum connectivity review comments

This change:
- Adds reset count for used trusted nodes
- Adds context guards for ScaffoldMessenger calls

* fix: Reset the state for _resetCount when there is a wallet switch
2025-07-31 17:24:54 +03:00
OmarHatem 723103d429 do not set SP listeners on hardware/view-only wallets 2025-07-30 05:57:42 +03:00
Konstantin UllrichandGitHub d32569fc84 feat: Add solana to Open Crypto Pay (#2417) 2025-07-30 02:24:26 +03:00
OmarHatem 86831d1f05 Merge remote-tracking branch 'origin/main' 2025-07-29 17:16:18 +03:00
OmarHatem c4a1fb2a7c minor fixes 2025-07-29 17:16:08 +03:00
e4806ad141 CW948: feat: bitcoin view-only (#2261)
* feat: bitcoin view-only

* fix: add UR to cw_bitcoin, fix payjoin issue

* feat: add unsignedPsbt to PendingBitcoinTransaction

* wip

* feat: xpub restore from bitcoin URI QR

* feat(dev): debug UR codes [skip ci]

* fix: master fingerprint default in create bitcoin transaction

* fix: handle empty private key in bitcoin transaction building

* fix: show success dialog after btc ur transaction

* fix(ui): remove SP from UI in view only wallet

* fix(cw_bitcoin): tx sending on non-airgap

* fix(cw_bitcoin): disable all non-segwit addresses

* feat(ur): support BBQR for coldcard qr

* flutter 3.27.0 -> 3.27.4

* feat: raw xpub qr support for coldcard q

* fix: update ledger_bitcoin
fix: update switching button

* fix: restore button not showing up after scanning

* feat: commit raw tx (from coldcard Q)

* feat: legacy crypto-psbt support for seed signer

* chore: address comments from review

* fix(cw_bitcoin): disable sp and payjoin for cupcake

* feat: enable DNSSEC BIP353 in PSBT (#2397)

* feat: enable DNSSEC BIP353 in PSBT

* chore: put bitcoin view only behind a featureflag

* fix: update Monero wallet to work with new internal URQR return format

* feat: add "Restore from Cupcake App" option with localized strings

* feat: enable DNSSEC BIP353 in PSBT using dnssec-prover (#2401)

* fix: use dnssec-prover
chore: bump ndk to r28c

* fix: validate DNSSEC proof before updating the UI

* fix: rename button to copy debug info to not hide actions on URQR widget

---------

Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
2025-07-29 17:01:33 +03:00
10499814bb warn sp dust (#2402)
* feat: warn sp dust

* Update lib/view_model/send/send_view_model.dart

* fix condition

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-07-29 15:50:11 +03:00
SerhiiandGitHub 888319dd7a Add support for HBAR, RUNE, and SCRT extra info in exchange (#2411)
* Add support for HBAR, RUNE, and SCRT extra info in exchange

* remove shouldAddExtraId
2025-07-26 19:06:10 +03:00
cyanandGitHub 995a3bb750 fix: monero_c hash (#2412) 2025-07-25 20:38:05 +03:00
Omar HatemandGitHub 61ace0b377 Update prepare_moneroc.sh 2025-07-25 20:37:13 +03:00
David AdegokeandGitHub 4b2af63fa5 CW-974: Add support for automatic node switching. (#2361)
* feat: Add support for automatic node switching.

This change:
- Adds isTrustedNodeForSwitching property to Node class.
- Adds UI Checkbox to mark a node as trusted for automatic switching in Node create or edit form.
- Implements checkNodeHealth method in wallet classes to verify node connectivity.
- Adds NodeSwitchingService for managing automatic node switching based on health checks.
- Adds setting option for user to enable/disable automated node switching

* fix(automatic-node-switch): Set node health check interval to 5 minutes in NodeSwitchingService

* refactor: Update handler method

* feat: Automatic Node Switching Improvements

This change:
- Moves enable automatic node switch to the Manage Nodes Page
- Adds check to verify node health before attempting to sync in EVM, Sol and Tron Wallets.
- Modifies trusted ndoes list for monero
- Adds trigger for Node Health Check when app resumes from background

* fix: Increase default request timeout for Tron and update health check interval for node switch

* feat: Enhance Node health check functionality.

This change adds additional checks for token balance in EVM, Solana and Tron Wallets in checkNodeHealth.

* fix: Update health check interval to 30 seconds in NodeSwitchingService

* Update bitcoin_electrum_server_list.yml

* fix: Electru wallet not connecting to new node after switching

* fix: Automated Node Switch not working on Decred Wallet

* fix: Add more nodes for AutoSwitching

This change:
- Enables more nodes across wallet types for auto switching
- Modifies CTA for checkbox
- Renames flags to fit

* fix: Add migration function for setting up default nodes for autoswitching

* fix: Review and testing fixes

* chore: Adjust balance and history fetch timer
2025-07-25 16:42:59 +03:00
JorgeandGitHub 8f4eed4d9b Fixes to Spanish translation (#2407) 2025-07-25 15:09:34 +03:00
Konstantin UllrichandGitHub 93d3582e8e Cw 1106 enable ledger for desktop through ble (#2410)
* fix: remove redundant mobile check for hardware wallet support and add macOS BLE permission handling

* fix: update connect_device_page platform check and add macOS Bluetooth entitlements

* fix: Ledger Monero on Windows
2025-07-25 15:07:17 +03:00
rottenwheelandGitHub b24ebd8ba9 spanish: miscellaneous fixes (#2408)
* fix: remove comma in OpenAlias title

* spanish: some necessary, minor rewording for new background sync strings

* en: fix unmetered network typo

* en: fix 'Estabilishing Tor connection' typo start-up screen

* readme: update Cake Wallet logo in banner

* spanish: miscellaneous fixes
2025-07-24 04:12:57 +03:00
Konstantin UllrichandGitHub dea9f3d8a1 feat: add NDEPS and DEPS ERC20 Tokens (#2403) 2025-07-23 23:48:09 +03:00
David AdegokeandGitHub 15f1b95dd2 fix: Confirm Send Button Blank in Accessible Navigation Mode (#2406) 2025-07-23 22:13:40 +03:00
Konstantin UllrichandGitHub ce5b838d96 fix: improve German translations and button color logic in exchange trade page (#2400) 2025-07-23 01:51:35 +03:00
SerhiiandGitHub 696699e457 Merge pull request #2399 from cake-tech/CW-1133-Add-ability-to-copy-Cake-Pay-trade-ID-from-send-bottom-sheet
CW-1133-Add-ability-to-copy-Cake-Pay-trade-ID-from-send-bottom-sheet
2025-07-22 12:58:10 +03:00
Serhii 37e9d2c6e3 ui: extract RoundedIconButton 2025-07-22 11:46:26 +03:00
Serhii cff10f3a51 ui: add copy button 2025-07-21 19:49:08 +03:00
Konstantin UllrichandGitHub 9b768e8ff1 Better windows installer (#2387)
* feat: Add redist to windows installer

* feat: Add new windows icon
2025-07-19 01:47:28 +03:00
43f2225e0c CW-1130-deuro-fixes-improvements (#2392)
* feat: add support for Ethereum EIP-681 URIs in PaymentRequest and implement test coverage

* test: add unit test for EIP-681 URI handling with contract and no chainId [skip-ci]

* fix(CW-1114): rounding error for really large numbers

* fix: wrong decimals for eth fee display

* fix: limit fractional digits to a maximum of `decimals` in `format_fixed` function [skip-ci]

* test: add unit tests for `formatFixed` function

* refactor: replace custom balance formatting with `formatFixed` utility function

* refactor: improve dEuroViewModel formatting and computation logic

* refactor: extract and simplify interest action handlers in dEuro savings page

* fix: deuro add should show edit Add bottom sheet

* feat: block user from entering amount bigger than the max

* feat: use new tooltip bottomsheet for dEuro

* feat: add pull down to refresh dEuro savings

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-07-19 01:47:06 +03:00