Commit Graph
3520 Commits
Author SHA1 Message Date
malik1004xandGitHub 908c8de2e8 Dark and tinted icons for iOS (#2671)
* feat: new ios icon format with dark/tinted icons

* feat: switch monero.com icons to new format

* update gitignore
2025-11-24 14:44:21 +01:00
malik1004xandGitHub 66a8e895af Show fiat amount for tokens on swipe confirmation sheet (#2670)
* fix: fiat amount not showing for tokens on the swipe to send confirmation sheet

* fix: fiat amount not showing for tokens on the swipe to send confirmation sheet
2025-11-22 19:31:58 +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
cyanandGitHub 36aca6e6da deps: update tor to latest version, fix torch build issues (#2669) 2025-11-22 15:37:43 +01:00
OmarHatem a74c97faa2 remove wownero from available wallet types [skip ci] 2025-11-22 00:50:47 +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
c552ab86d2 Cw 1294 fix xo swaps bug (#2645)
* Improve currency parsing with tag support

* changenow currency parsing fix

* exolix currency parsing fix

* letsExchange currency parsing fix

* stealth currency parsing fix

* trocador currency parsing fix

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-11-21 22:45:19 +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
SerhiiandGitHub f05d6ef1b2 Update monero_wallet_service.dart (#2666) 2025-11-21 20:16:16 +01:00
malik1004xandGitHub 46ba15f3f0 feat: parsing addresses+unstoppable domains from twitter profiles (#2663)
* feat: parsing addresses+unstoppable domains from twitter profiles

* fix: address resolution
2025-11-21 18:08:21 +01:00
Konstantin UllrichandGitHub 842b958f8b feat: add Wownero wallet seed backup during migration step 54 (#2667)
* feat: add Wownero wallet seed backup during migration step 54

* feat: add Haven wallet seed backup support in configure tool interface
2025-11-21 16:10:37 +01:00
Karl BuysandGitHub 0e549ba1da fix: fixed text validator to accomodate minLength ints correctly (#2649) 2025-11-21 16:09:17 +01:00
OmarHatem 63136ec47a ignore useless error [skip ci] 2025-11-21 01:50:59 +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
Konstantin UllrichandGitHub c613e59cf4 refactor: improve parseFixed logic and add comprehensive unit tests for edge cases (#2661) 2025-11-19 13:11:54 +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
cyanandGitHub 5ed8e58be2 Fix CONFIG_ARGS formatting in app_config.sh (#2660) 2025-11-18 20:25:49 +01:00
tuxsudoandGitHub d51be0577b Fix navigation gradient (#2657)
* Fix navigation gradient
2025-11-18 12:42:53 -05:00
Konstantin UllrichandGitHub b08a3d8c5a fix-german (#2659)
* chore: update German localization strings for consistency and accuracy

* chore: update German localization strings for consistency and accuracy [skip-ci]
2025-11-18 12:58:05 +01:00
black5boxandGitHub bc7ab20cb8 chore: fix some minor issues in comments (#2654)
Signed-off-by: black5box <black5box@outlook.com>
2025-11-17 20:29:28 +01:00
OmarHatem 954ac34c5b minor fixes [skip ci] 2025-11-17 18:59:56 +01:00
OmarHatem e7d21b8902 fix: apk filename in github actions 2025-11-14 17:58:04 +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
cyanandGitHub 40d2207732 fix: slack messages from CI (#2651) 2025-11-14 13:56:16 +01:00
a6542eade3 Fixes to Arbitrum Wallet (#2646)
* 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

* fix: Address validation for Arbitrum

* Update scripts/android/pubspec_gen.sh [skip ci

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-11-14 11:32:59 +01:00
David AdegokeandGitHub 9775f7a629 fix: Sync bar ETA (#2515)
* fix: Sync bar ETA

* fix: Smooth ETA - WIP

* fix: Show disconnected status when sync disconnects

* feat: Display blocks remaining for the first five seconds and then switch to percentage

* Update

* fix: Extend duration for showing blocks remaining during sync from 5 to 15 seconds; update connectivity check to handle multiple connectivity results, and handle disconnected state while syncing

* feat: Initially display block if the a reconnection is triggered while syncing

* fix: More improvements to syncing
2025-11-12 11:40:04 +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
edcf6ffe6c CW-1238-Solana-Fixes (#2620)
* refactor: optimize SPL token transaction and balance fetching with batch processing

* fix: SPL tokens not populating all fields

* fix:Solana Fixes

- Optimize SPL token transactions and balance fetching
- Auto Populate all fields when fetching SPL tokens
- Gracefully handle errors when sending Solana tokens

* fix: update wallet compatibility check in LinkViewModel

* feat: add Moralis API key to secrets

* Update

* feat: Add error handling for invalid associated token accounts in Solana transactions

* fix: Add cleaning for reown to linux ci

* refactor: Update transactions after eveey batch fetch

* fix: make error messages more readable

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-11-11 20:49:31 +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
David AdegokeandGitHub ddf6043ed9 refactor: Enhance node switching logic to prioritize unused active nodes (#2639) 2025-11-08 21:11:24 +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
David AdegokeandGitHub be170b0d3f fix: Fix issue resulting in tron and solana not displaying estimated fees, also modify estimated fees to display directly instead of formatted display (e.g 0.00005237ETH instead of 5.237e-5 ETH) (#2640) 2025-11-07 16:29:00 +01:00
OmarHatem 78e6660a01 cleaning reown previous folder 2025-11-07 10:42:45 +01:00
David AdegokeandGitHub 68dd3f2809 refactor: Optimize gas fee calculations for Base chain transactions (#2613)
* 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
2025-11-06 15:10:36 +01:00
OmarHatem 507be1402e Code cleanup 2025-11-06 01:29:21 +01:00
OmarHatem df11f87e32 - disable Arbitrum
- Minor fixes
- Code cleanup
2025-11-06 01:04:09 +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
Omar HatemandGitHub 569ee04449 Update issue templates 2025-11-05 16:56:49 +01:00
OmarHatem 743372756c Fix receive address in swap 2025-11-02 17:39:48 +01:00
OmarHatem dd772d84f9 tolerate nullable payment methods 2025-11-02 05:54:27 +01:00
44a4a01b91 languages: add guarani (#2603)
* spanish: some necessary, minor rewording for new background sync strings

* en: fix unmetered network typo

* languages: add guarani

Adds strings_gn.arb file.

* fix: remove `,` from beginning and end of file

* tl_constant: add `gn` value

* flags: add guarani (PY) flag

Adds _gn.png_ file.

* languages: add guarani

* localeCountryCode: fix guarani value to 3 letters (grn); making it cohesive with all others

* res/values: replace strings_gn.arb file for appropriate one

* guarani: remove unnecessary `,` at the beginning and end of file

* guarani: fix a lot of syntax errors...

* guarani: remove all remaining trails of Spanish translation; fix all wrongly translated `${}` values back to English

* fix: gn translation

* ci: add ci check for translations

* Update .github/workflows/are_translations_sane.yml

* res/values: adds fixed `strings_gn.arb` file

* res/values: undoes wrong GN=>ES translations on file

* res/values: fix missing `}` for `strings_gn.arb`

* res/values: adds revised `strings_gn.arb` file

* res/values: adds revised `strings_gn.arb` file

* res/values: adds revised `strings_gn.arb` file

---------

Co-authored-by: Czarek Nakamoto <cyjan@mrcyjanek.net>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-11-01 02:31:54 +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 718525926e fixate grpc version 2025-10-31 17:28:12 +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
cyanandGitHub 00b99a9fa0 fix: report isClosed from ProxySocket and use it to reconnect (#2617) 2025-10-30 02:16:18 +01:00
Konstantin UllrichandGitHub 55bae6c581 chore: update trezor_connect dependency to latest commit hash across pubspec files (#2618) 2025-10-30 02:08:40 +01:00
OmarHatem f47509ebb9 Enable SSL for some nodes [skip ci] 2025-10-28 20:53:13 +01:00
0ac6c60824 cyjan-llm-es-translation (#2607)
* cyjan-llm-es-translation

* Check Spanish translation

* More Spanish translation improvements

---------

Co-authored-by: Jaim3 <github@jaim3.com>
2025-10-28 20:37:45 +01:00