Commit Graph
1579 Commits
Author SHA1 Message Date
SerhiiandGitHub 5bfc2d8a76 fix: fiat amount mapping key in unspent coins list (#2785) 2026-01-08 00:30:43 +01:00
malik1004xandGitHub 78913fc3f0 change sync status display mode on long-press (#2780)
* change sync status display mode on long-press

* move status toggle function to viewmodel action
2026-01-07 23:14:42 +01:00
malik1004xandGitHub f2508d1eb4 fix: scrolling in filter widget (#2792) 2026-01-07 20:18:05 +01:00
malik1004xandGitHub 95dc0313ff fix: scrollable other settings page (#2771) 2025-12-29 19:31:40 +01:00
malik1004xandGitHub f13b1ad8a0 fix: show close button for cake pay filters popup (#2773) 2025-12-29 19:29:34 +01:00
David AdegokeandGitHub f5754ed2d3 fix: Minor fixes - Solana (#2737)
* fix: Minor fixes

* refactor: handle updates to connectivity status for swipe to send button

* fix: Remove Future.wait
2025-12-24 04:24:23 +01:00
malik1004xandGitHub ab0e3b65ed fix: keyboard dismissal on ios send page (#2747)
* fix: keyboard dismissal on ios send page

* further keyboard action fixes on send page
2025-12-23 02:30:11 +01:00
David AdegokeandGitHub efcd38e6b1 Remove print (#2764) 2025-12-23 01:45:48 +01:00
6c12ed157d Cw 1291 ledger fixes (#2741)
* fix: handle unexpected ViewModel in ledger connection process

* fix: add missing exception handler for `_QueuedFuture.execute` in `exception_handler.dart`

* fix: handle hardware wallet connection flow in exchange trade page

* refactor: replace hardware wallet conditional logic with switch statement for improved readability and future extensibility

* feat: add hardware wallet support for dEURO savings actions and approval flow

---------

Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
2025-12-20 01:58:22 +02:00
malik1004xandGitHub c7e9a4e68d fix seed page on desktop (#2752) 2025-12-19 22:31:34 +02:00
malik1004xandGitHub fb6054cb5d add save as dialog for seed on desktop (#2753) 2025-12-19 22:30:13 +02:00
Omar HatemandGitHub aea855d023 Fix db getting deleted on iOS (#2736)
* Fix db getting deleted on iOS

* Fix db getting deleted on iOS and add a patch for users who updated

* remove prints [skip ci]
2025-12-15 04:49:51 +02:00
Konstantin UllrichandGitHub f122ce0c57 fix: handle unexpected ViewModel in ledger connection process (#2716)
* fix: handle unexpected ViewModel in ledger connection process

* fix: add missing exception handler for `_QueuedFuture.execute` in `exception_handler.dart`
2025-12-12 17:32:07 +02:00
OmarHatem 9458f604aa minor fix [skip ci] 2025-12-12 04:08:33 +02:00
malik1004xandGitHub 7464ead41c Remove SecretStore class for Backup viewmodels (fix for backup password not restoring) (#2723)
* backup page viewmodels without secretstore class

* minor reaction optimization

* minor reaction optimization
2025-12-12 00:23:49 +02:00
OmarHatem 42fcc9465b v5.6.2 2025-12-10 04:15:03 +02:00
malik1004xandGitHub a2e4e463b5 fix: alert close button clipping under navbar (#2715) 2025-12-09 04:18:07 +02:00
malik1004xandGitHub 3bdfb5bc97 New design for wallet connection guide (#2706)
* new design for wallet connection guide

* fix: cleanup
2025-12-08 15:52:31 +02:00
Konstantin UllrichandGitHub 8d41a110b4 feat: add built_in_tor metadata to support chats (#2712) 2025-12-08 15:07:15 +02:00
tuxsudoandGitHub 1d715d3963 Improve seed grid sizing (#2687)
* Attempt to improve seed grid layout and sizing

* Cleanup
2025-12-02 00:19:27 +01:00
OmarHatem ae81b11f99 minor fixes [skip ci] 2025-11-28 19:14:36 +01:00
77812016ac LCW-1144 cupcake litecoin (#2557)
* Add psbt rpcs

* Only build arm64

* Rebuild protos

* Update proto

* Add psbt create rpc

* Restore wallet stuff

* more stuff

* more stuff

* more stuff

* Fix open wallet

* Fix mweb enabled

* Start of buildPsbt

* Update proto

* Psbt add recipients

* fixes

* slightly better

* more fixes

* decode ur

* add more commit code

* Update proto

* use new proto

* Don't eat psbt rpc errors

* Use unix domain socket for mwebd

* add gitignore

* Undo build only arm64

* fix pure mweb txns

* fix mweb txids

* fix ci

* fix blank pegin address

* chore: update cw_mweb dependencies
chore: remove cw_core as dependency from cw_mweb

* fix: Ltub restore

* fix: address review crashes, fix non-mweb view only wallets

* minor fixes

---------

Co-authored-by: Hector Chu <hectorchu@gmail.com>
Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2025-11-24 17:58:12 +01:00
OmarHatem f0524bcef1 minor fixes [skip ci] 2025-11-24 14:46:56 +01:00
1b354c70d2 CW-1290-Add-Duress-pin-feature (#2664)
* add duress PIN feature

* add localization

* Update configure.dart

* Update configure.dart

* add duress PIN validation logic

* - fix error popup
- put behind a feature flag

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2025-11-22 19:24:46 +01:00
ccfe424b28 CW-1186-Show-the-fiat-amount-for-UTXOs-in-coin-control (#2595)
* Add fiat amount display to unspent coins list

* refactor fiat amount handling for unspent coins

* Update lib/view_model/unspent_coins/unspent_coins_list_view_model.dart [skip ci]

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-11-21 23:05:15 +01:00
malik1004xandGitHub 7172928e1e Hide available balance in send card (#2662)
* hide available balance on send page when balance is hidden

* hide available balance on send page when balance is hidden

* allow show/hide of balance from send card
2025-11-21 22:15:30 +01:00
a7734c5c44 CW1272 tails, linux generic fixes (#2630)
* fix: linux/tails fixes, sqlite fix on linux

* add sqlite deps

* fix: old/new dir migration from .local

* fix: tails path, local/share old names for compatibility

* Update cw_core/lib/db/sqlite.dart

Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>

* fix: close icon on desktop [skip ci]

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
Co-authored-by: Konstiantin Ullrich <konstantin@cakewallet.com>
2025-11-20 19:25:37 +01:00
David AdegokeandGitHub 7f757a92a0 fix: block wrongly parsed addresses (#2656)
* fix: block wrongly parsed addresses

* fix: move parsed address check into handlePaymentFlow method

* fix: Handle QR URLs separately for pay anything flow
2025-11-18 20:26:06 +01:00
tuxsudoandGitHub d51be0577b Fix navigation gradient (#2657)
* Fix navigation gradient
2025-11-18 12:42:53 -05:00
OmarHatem 954ac34c5b minor fixes [skip ci] 2025-11-17 18:59:56 +01:00
cbf8e7d05d Cw 1247 improve tabs navigation (#2634)
* add dashboard page indicator

* refactor dashboard page indicator and UI

* refactor fade animation

* smoother UI transitions

* Improve accessibility for page indicator

* localize action names

* Update page indicator colors and blur effect

* fix page indicator layout

* Update Spanish translations for 'apps', 'history', and 'home'

* update dashboard labels

* changed settings page label

* Modify page_indicator.dart

* refactor page indicator animation

* review fixes

---------

Co-authored-by: Jaim3 <github@jaim3.com>
Co-authored-by: tuxsudo <tuxsudo@tux.pizza>
2025-11-14 15:34:54 +01:00
238022c466 CW-1208: Pay Anything EVM enahancements (#2600)
* feat: Pay Anything EVM enahancements

* ifx: Add baseEth to address validator switch case

* fix: Error detecting other wallet types

* feat: Preserve QR amount and other data through evm chain selection flow

* Update container color to surfaceContainer

* feat: Add support for Bitcoin Lightning Network detection

- Identify Base QR codes when scanned
- Display all available currencies for network
- Enhance detector to recognize lightning addresses

* fix: Update token selection for currently selected wallet

* fix: Improve token matching logic for EVM networks

* feat: Update selected currency when wallet is switched

* ui: Add chain badge to the swap confirmation bottomsheet

* fix: Asks to switch wallets even if the current wallet type is the same as the QR. Fix merge conflicts too

* fix: Handle matching logic internally and general cleanups

* fix: Terminate flow if address is not a valid parsed address

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
Co-authored-by: tuxsudo <tuxsudo@tux.pizza>
2025-11-11 21:15:54 +01:00
David AdegokeandGitHub c74f0e5f82 Update estimated fee on currency change (#2644)
* refactor: Optimize gas fee calculations for Base chain transactions

* feat: Added an abstract method for priority fee calculations in EVMChainWallet class, and implemented it across the evm wallets.

* fix: Estimated fee on send screen for base wallet different from fee on swipe to send bottomsheet

* fix: Update currency selection to calculate estimated fees upon selection in SendCard widget
2025-11-11 20:54:14 +01:00
David AdegokeandGitHub 9fa4584d97 CW-1190: Minor Fixes (#2614)
* fix: Enhance WalletConnect URI handling and validation, better handle errors

* fix: Disable swipe to send if wallet is not synchronized

* fix: Handle session expiry gracefully

* fix: Disable swipe to send if wallet is not synced
2025-11-08 22:46:51 +01:00
tuxsudoandGitHub 19362df209 Fix untappable area of wallets page (#2636)
* Fix untappable area of wallets page

* Cleanup
2025-11-08 21:07:47 +01:00
OmarHatem 507be1402e Code cleanup 2025-11-06 01:29:21 +01:00
2da3ba5730 CW-1194-Add-Arbitrum-Wallet (#2587)
* feat: initialize cw_arbitrum package with essential files

- Implement ArbitrumClient for transaction handling
- Add ArbitrumWallet and related classes for wallet management
- Establish transaction history and info classes for Arbitrum transactions
- Add ArbitrumWalletService for wallet operations and management

* feat: Add arbitrum related secrets to workflow

* feat: Add nodes for arbitrum

* feat: Add Arbitrum support to cryptocurrency handling

* refactor: Update Arbitrum currency references from 'ARB' to 'ETH'

* feat: Add Arbitrum support to wallet type and transaction handling

* feat: Add Arbitrum URL schemes to Android and iOS configurations

* feat: Add Arbitrum SVG icons and a WebP image

* feat: Setup Arbitrum proxy

* fix: Add localization

* feat: Integrate Arbitrum support across various configurations and files

- Updated cakewallet.bat to include Arbitrum in app configuration.
- Added Arbitrum node list to pubspec_base.yaml.
- Modified Android, iOS, Linux, and macOS app configuration scripts to support Arbitrum.
- Introduced Arbitrum output path and generation logic in configure.dart.
- Enhanced wallet type and pubspec generation to include Arbitrum.
- Added Arbitrum-related secrets in secret_key.dart.

* feat: Enhance Arbitrum integration with new URI class and updates across various components

- Introduced ArbitrumURI class for handling Arbitrum payment URIs.
- Updated seed validator, wallet creation service, and other components to support Arbitrum.
- Added Arbitrum node handling in default settings migration and node list management.
- Enhanced preferences and settings store to include Arbitrum-specific configurations.
- Updated QR utility and token utilities to accommodate Arbitrum functionalities.

* feat: Add Arbitrum support to various buy providers

- Updated DFXBuyProvider, KryptonimBuyProvider, OnRamperBuyProvider, and RobinhoodBuyProvider to include Arbitrum wallet type and blockchain references.
- Enhanced integration for Arbitrum across multiple components to ensure consistent support.

* feat: Implement Arbitrum support in wallet selection and settings

- Added Arbitrum wallet type handling in common test flows and wallet services.
- Integrated Arbitrum icons in desktop wallet selection and menu widgets.
- Updated privacy settings to include ArbiScan options.
- Enhanced key service to support Arbitrum private and public key retrieval.

* feat: Expand Arbitrum support across various view models and components

- Integrated Arbitrum wallet type handling in advanced privacy settings, transaction details, and wallet management.
- Added Arbitrum-specific methods for transaction and wallet creation, restoration, and fee management.
- Updated dashboard and home settings to accommodate Arbitrum functionalities, including token management and transaction display.
- Enhanced exchange and send view models to support Arbitrum transactions and currency handling.
- Included Arbitrum in wallet address list and privacy settings for improved user experience.

* refactor: Simplify token initialization in Arbitrum wallet service

- Removed the migration flag from the addInitialTokens method in ArbitrumWalletService.
- Updated addInitialTokens method in ArbitrumWallet to handle existing tokens more efficiently.
- Enhanced initial token retrieval logic in DefaultArbitrumErc20Tokens to prioritize iconPath assignment.
- Improved token update logic in BaseWallet for consistency across wallet services.

* chore: Update Dart SDK constraints in pubspec.yaml

* fix: Update file paths for arbitrum assets

* fix: Correct box name formatting in Arbitrum wallet initialization

* Update .github/workflows/pr_test_build_android.yml [skip ci

* Update .github/workflows/pr_test_build_android.yml

* fix: Add missing evm params

* fix: Remove duplicate method declaration

* refactor: simplify isSwapsXyzSendingEVMTokenSwap check

* fix: Update arbitrum configs with sql storage update

* feat: Add estimated fee retrieval for Arbitrum and revamp priority fee handling for EVMChainWallet

* refactor: Update transaction priority handling and estimated fee calculations across EVMChain chains, also remove priority fee levels for Arbitrum

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-11-06 00:30:23 +01:00
OmarHatem 743372756c Fix receive address in swap 2025-11-02 17:39:48 +01:00
cyanandGitHub 76876181e5 feat: initial hive -> SQLite (#2502)
* feat: initial hive -> SQLite

Includes migration script and initial work done to
remove dependency on hive generators.

Also contains some refactoring to make sync code
async.

Features new dev screen that lists all SQLite tables

Aspects that need testing:
- backups (from this version, and from previous versions as well)
- wallet loading / wallet list
- almost everything else
- renaming
- deletion
- sorting in wallet list
- wallet groups
- wallet seed/keys
- wallet switching
- wallet creation / restore - all methods
- wallet address page
- hardware wallet connection (and prompts from mall screens)
- contacts
- advanced settings in wallet creation
- derivation paths
- some minor wownero fixes
- base, hardware wallets

* fix: build errors

* fix: Bad state: No element in backup restore

* address comments from review

* fix: HardwareWalletType
2025-10-31 22:37:15 +01:00
OmarHatem f5119d262a fix: better handle exchange url launching 2025-10-31 15:00:33 +01:00
OmarHatem 3f9840233a chore:
- disable SideShift
- minor fixes
2025-10-31 01:55:09 +01:00
Konstantin UllrichandGitHub 47d93bd418 Add support for Ledger Nano Gen 5 (#2609)
* chore: update `ledger_flutter_plus` dependency to new repository URL and commit hash in `pubspec_base.yaml`

* feat: add support for Ledger Nano Gen 5 hardware wallet and include new SVG asset

* chore: update `ledger_flutter_plus` dependency reference and remove redundant method call in `LedgerViewModel`
2025-10-28 20:15:09 +01:00
OmarHatem 7b9cd9ec2b Cleanup and Bug fixes 2025-10-27 16:34:49 +01:00
Omar HatemandGitHub b46aea00b3 v5.5.1 Release Candidate (#2598)
* v5.5.1 Release Candidate
changes:
- Enable Trezor for iOS
- Add Swaps.xyz DEX

* update versions [skip ci]
2025-10-21 01:32:45 +02:00
ee0996f535 CW-1175-Implement-swaps.xyz-swap-provider (#2526)
* Integrate SwapsXYZ

* Remove print

* enhance SwapsXyz EVM token swap handling

* Disable fixed rate support in SwapsXyz provider

* enable fixed rate swap

* fix timestamp parsing

* remove sender and recipient address from fetchRate

* Improve SwapsXYZ trade approval logic

* fix trade ID overflow

* add Base chain support for  swaps xyz

* Update lib/view_model/exchange/exchange_trade_view_model.dart

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

* add missing support for Base

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-10-20 23:22:01 +02:00
JoeGruffinsandGitHub 32dd69b24b dcr: Point widget to correct image. (#2586) 2025-10-16 22:24:12 +02:00
Omar HatemandGitHub b1ee2acdc0 v5.5.0 Release candidate (#2574)
* v5.5.0 Release candidate

* RC contents:
- Trezor
- Bitbox
- Base
- Hardware/Air-gapped wallets flow enhancements
- New Theme
- UI enhancements
- Bug fixes

fixes:
- Disable LTC for bitbox
- Fix missing coins icons

* RC contents:
- Trezor
- Bitbox
- Base
- Hardware/Air-gapped wallets flow enhancements
- New Theme
- UI enhancements
- Bug fixes

fixes:
- Disable LTC for bitbox
- Add USDE icon
- Fix missing images

* RC contents:
- Trezor
- Bitbox
- Base
- Hardware/Air-gapped wallets flow enhancements
- New Theme
- UI enhancements
- Bug fixes

fixes:
- Disable LTC for bitbox
- Add USDE icon
- Fix missing images
- Refactor code and remove `normalizedIconPath`

* RC contents:
- Trezor
- Bitbox
- Base
- Hardware/Air-gapped wallets flow enhancements
- New Theme
- UI enhancements
- Bug fixes

fixes:
- Disable LTC for bitbox
- Add USDE icon
- Fix missing images
- Refactor code and remove `normalizedIconPath`

* RC contents:
- Trezor
- Bitbox
- Base
- Hardware/Air-gapped wallets flow enhancements
- New Theme
- UI enhancements
- Bug fixes

fixes:
- Disable LTC for bitbox
- Add USDE icon
- Fix missing images
- Refactor code and remove `normalizedIconPath`

* - Add xstocks to existing wallets
- Add xstocks initial icons

* - Add All xStocks icons
- Fix All tokens issues and persistent
2025-10-15 05:26:56 +03:00
tuxsudoandGitHub 03c3a3624c Fix menu action icons (#2582)
* Fix menu action icons

* Fix a couple picker icons
2025-10-14 14:52:53 +03:00
226d8d9197 Minor fixes (#2575)
* Actually fix settings_theme_choice.dart container this time

* Switch crypto icons to webp

* Fix crypto image extensions

* Fix support images and add Base icon

* Fix image links

* Fix more image links

* Update lib/src/screens/dashboard/desktop_widgets/desktop_wallet_selection_dropdown.dart [skip ci]

* Update cw_core/lib/crypto_currency.dart [skip ci]

* Update cw_core/lib/crypto_currency.dart

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-10-14 03:04:55 +03:00
Konstantin UllrichandGitHub 8ebfafba38 feat: update support page design (#2579) 2025-10-13 18:09:19 +03:00