Commit Graph
2306 Commits
Author SHA1 Message Date
Omar HatemandGitHub e6385b8084 Add doge coin to pay anything feature (#2481)
Fix cakepay token issue
2025-08-24 23:06:01 +03:00
OmarHatem c385c6bec5 disable payjoin for desktop platforms [skip ci] 2025-08-23 03:28:33 +03:00
cyanandGitHub 7b600c9cd8 ui: better QR switcher (#2477) 2025-08-23 01:27:01 +03:00
1a4ac1a07c Add SafeArea to base page (#2473)
* Add SafeArea to base page

* chore: Move SafeArea to wrap body instead of being at top level

---------

Co-authored-by: Blazebrain <davidadegoke16@gmail.com>
2025-08-22 22:33:35 +03:00
7d67d2ffc7 feat: add Zano support to Open CryptoPay (#2475)
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-08-22 14:50:24 +03:00
Omar HatemandGitHub 1a47ded016 v5.3.0 Release Candidate (#2471)
* v5.3.0 Release Candidate

* update app versions [skip ci]
2025-08-21 23:56:14 +03:00
9292fb5487 User token swap improvements (#2470)
* Handle null currency in trade

* Improve trade network handling and error reporting

* update Polygon network tag

* Update exchange_trade_view_model.dart

* handle nullable network fields

* Update lib/exchange/provider/letsexchange_exchange_provider.dart

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-08-21 21:14:15 +03:00
13a74133f5 feat: Pay Anything from Any Wallet (#2450)
* feat: Pay Anything from Any Wallet

* feat: Trigger payment flow when address is pasted

* chore: Remove unneeded changes

* feat Expand address checks and fix scanning bch qrs

* fix: Add support for dogecoin

* feat: More modifications for Pay from Any Wallet

This change:
- Adds the pay from any wallet flow to externally signed QR codes
- Adds fixes for review comments
- Fixes failing tests

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-08-21 18:37:50 +03:00
16f058e9e2 sp improv (#2437)
* fix(sp): proper address on details screen

* fix(sp): fields to update on incoming msg

* Update lib/bitcoin/cw_bitcoin.dart

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-08-21 05:06:35 +03:00
SerhiiandGitHub f6dc65424d Cw 1161 add user added tokens to swap currencies (#2455)
* Add user ETH and SOL tokens to exchange currency lists

* Update default_spl_tokens.dart

* fix solana token icon issue

* add user currency to Trade and update usage

* add support for user Tron and Polygon tokens in exchange

* removing the providersForCurrentPair method and related logic

* Improve currency search

* prevent crash in EVM wallets for unknown token symbols

* Improve asset lookup in XOSwap provider

* revert token enabled state for tron solana

* Move SPL and Tron token classes to cw_core

* fix updating trades for user tokens

* Improve token matching by including tag comparison

* safer currency parsing across all exchange providers

* Update edit_token_page.dart
2025-08-21 03:34:09 +03:00
David AdegokeandGitHub 09d10fce27 CW-1174: Add warning for sending to contract addresses (#2463)
* feat: add warning for sending to contract addresses

* feat: Add wallet type icon to full screen qr page
2025-08-19 18:30:07 +03:00
Konstantin UllrichandGitHub cb53840332 CW-1146-Enable-Zano-buy-sell-for-DFX (#2458)
* feat(CW-1148): Add Zano wallet support for message

* refactor(CW-1148): Simplify `signMessage` logic in Zano wallet API

* fix: remove unsupported wallet types from DFX Buy provider

* fix: correct DFX Buy provider parameter name from `amount` to `amount-in`
2025-08-19 18:28:37 +03:00
c8dca29f68 sync status eta (#1701)
* sync status eta

* other necessary changes

* feat: Enhance Sync ETA display mode

- Enhance block rate calculation with weighted averages(accounts for network flunctuations and sync speed of more recent blocks while calculating eta, basically giving us more accuracy)
- Add option to switch between ETA and blocks remaining display in display settings
- Add placeholder ETA while gathering block data

* chore: Listen to smaller changes in eta

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
Co-authored-by: Blazebrain <davidadegoke16@gmail.com>
2025-08-19 18:09:51 +03:00
OmarHatem 3dd26c8c08 disable custom background temporarily [skip ci] 2025-08-15 14:33:39 +03:00
328422cfb5 CW-1139-Migrate-CakePay-mobile-to-use-the-new-backend-APIs (#2416)
* migrate to new backend API

* hide value_type filter

* Improve vendor card parsing

* Update country.dart

* Update lib/cake_pay/src/models/cake_pay_card.dart

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

* Update lib/cake_pay/src/models/cake_pay_card.dart

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

* address review comments

* fix min limit value

* Update lib/view_model/cake_pay/cake_pay_buy_card_view_model.dart

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

* refactor denomination handling and min value logic

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-08-13 09:07:30 +03:00
cyanandGitHub b8a9863a21 feat: CakeTorSocks respect SOCKS_SERVER (#2444) 2025-08-13 01:00:39 +03:00
OmarHatem 66adb00d16 Replace Zano default node 2025-08-13 00:19:47 +03:00
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
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
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
OmarHatem 9a8db26e0f re-add LetsExchange 2025-08-05 18:26:48 +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
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
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
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
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
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
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
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
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
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