Commit Graph
2332 Commits
Author SHA1 Message Date
David AdegokeandGitHub 7704ec047c fix: Polygon transactions not coming up in transactions history page (#2537) 2025-09-25 10:45:22 +03:00
c51c2dc105 Pay Anything Enhancements (#2529)
* fix: update Bitcoin and Litecoin Bech32 address patterns for improved detection for pay anything flow

* feat: add Litecoin MWEB address detection patterns for pay anything flow

* feat: Add support for ERC-681 payment scheme to QR and link to exchange send from external QR

* feat: Introduce TokenUtilities to centralize token management across viewmodels

- Added TokenUtilities class to centralize token-related operations for EVM, Solana, and Tron tokens.
- Refactored existing methods in ExchangeTradeViewModel and SendViewModel to utilize TokenUtilities.
- Updated PaymentRequest to include contractAddress.
- Enhanced payment QR scanning to fetch token details for QRs with contract addresses - ERC-681 QR scheme

* fix: Prefill amount with other data when app is brought up via payment deeplink on QR scan

* fix: Reduce trade not created errors WIP

* feat: Add exchange provider logging functionality

* feat: Enhance ERC681URI with amount normalization, prevents parsing issues with various input formats for amounts

* - Use regex from address validator for btc/ltc manual checks
- Add check for solana addresses
- Handle failures in normalizeToInteger method
- fix issue with address only being added when there's an amount

* wrap in try/catch just in case [skip ci]

* Update lib/utils/token_utilities.dart

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-09-24 20:24:52 +03:00
OmarHatem 429d54a1fa disable ThorChain 2025-09-24 15:20:50 +03:00
OmarHatem 8b7c67fc74 minor fix [skip ci] 2025-09-24 09:31:32 +03:00
OmarHatem cb39b8ef40 re-enable letsExchange and xStocks 2025-09-23 13:22:36 +03:00
OmarHatem bbb9246c5c skip swaptrade if trade is larger than 2k 2025-09-23 13:21:28 +03:00
cyanandGitHub e4726c2242 fix: initial 16KB pages support (#2523)
* fix: initial 16KB pages support

all .so dependencies other than reown walletkit (`libuniffi_yttrium.so`) which is a prebuild are 16KB now

* chore: update flutter to 3.29.3

* build: 16KB align go builds
ci: update action to check for 16KB align
[skip ci]

* chore: bump flutter to 3.32.0

* fix: replace prebuilds with built versions for 16KB alignment
fix: walletkit secure storage fix
2025-09-23 11:30:10 +03:00
David AdegokeandGitHub cb9ac69e31 fix: Fix QR Code Icons (#2517)
* fix: Fix QR Code Icons

* Update QR Code images

* fix: QR Codes Wallet Type Images
- Added missing solana qr code image to receive page
- Added wallet type image to QR on AnonPay invoice and donation pages
- Added a getQRImage util for easy access to the qr images

* fix: Update eth_pol image for receive page
2025-09-22 15:56:47 +03:00
cyanandGitHub 52e778f275 feat: monero cache debugging (#2436)
* feat: monero cache debugging
feat: better JSON explorer for network traffic

* frozen coins debugging
2025-09-12 15:47:19 +03:00
Konstantin UllrichandGitHub e1747f41b8 fix: update DFX Buy provider currency support and parsing logic (#2516)
* fix: update DFX Buy provider currency support and parsing logic

* fix: adjust Monero node URI handling for consistency with query parameters

* fix: correct German translations for wallet-related text and terminology
2025-09-12 15:44:50 +03:00
OmarHatem 2847537588 update macos build number [skip ci] 2025-09-09 20:31:05 +03:00
Omar HatemandGitHub c3b61dfbfa v5.4.0 Release Candidate (#2505)
* v5.4.0 Release Candidate (without new contacts flow)

* uncomment potential scam [skip ci]
2025-09-09 03:48:05 +03:00
David AdegokeandGitHub c61215683c Pay Anything RC Fixes (#2511)
* feat: Swap flow for Pay Anything. [WIP]

* feat: Pay Anything Swap Flow [WIP]

* feat: Pay anything swap flow [WIP]
- Add fiat values for send and receive amounts to swap details confirmation bottomsheet

* feat: Pay anything swap flow [WIP]
- Switch exchangeviewmodel back to factory
- Expand address box to fill width

* Handle second swipe to swap cta

* Add fiat for receive amount

* Scope Observers for bottomsheets and add validator

* fix: Repeated instances issue for exchangeVM

* fix: Estimated fee and balance not correctly updating after wallet switching occurs

* fix: Available balance not updating properly after wallet switching

* fix: Available balance and fee rate not displaying after wallet is switched in pay anything flow

* fixes: Pay anything related RC fixes
- Recieve fiat amount showing as 0.0
- ID overlapping when there's enough space
- receive amount changing even in fixed rate mode
- Invalid double error for setReceiveFiatAmount
2025-09-09 03:36:39 +03:00
SerhiiandGitHub 3bd4aaa113 Update cake_pay_buy_card_page.dart (#2506) 2025-09-08 18:28:30 +03:00
Konstantin UllrichandGitHub c83f5a2653 fix: handle username/password parsing for Monero node URIs with fallback to query parameters (#2510) 2025-09-08 18:26:14 +03:00
Konstantin UllrichandGitHub bac14e2d25 fix: improve error handling and messaging in DFX Buy and OpenCryptoPay services (#2509)
* fix: improve error handling and messaging in DFX Buy and OpenCryptoPay services

* fix: adjust error handling in DFX Buy provider by updating `_getErrorMessage` function parameters and removing unused imports
2025-09-08 18:22:34 +03:00
David AdegokeandGitHub 198a9a122b Pay Anything Swap Flow (#2503)
* feat: Swap flow for Pay Anything. [WIP]

* feat: Pay Anything Swap Flow [WIP]

* feat: Pay anything swap flow [WIP]
- Add fiat values for send and receive amounts to swap details confirmation bottomsheet

* feat: Pay anything swap flow [WIP]
- Switch exchangeviewmodel back to factory
- Expand address box to fill width

* Handle second swipe to swap cta

* Add fiat for receive amount

* Scope Observers for bottomsheets and add validator

* fix: Repeated instances issue for exchangeVM

* fix: Estimated fee and balance not correctly updating after wallet switching occurs

* fix: Available balance not updating properly after wallet switching

* fix: Available balance and fee rate not displaying after wallet is switched in pay anything flow
2025-09-07 01:31:56 +03:00
d1b62f2664 feat: Swap flow for Pay Anything. (#2489)
* feat: Swap flow for Pay Anything. [WIP]

* feat: Pay Anything Swap Flow [WIP]

* feat: Pay anything swap flow [WIP]
- Add fiat values for send and receive amounts to swap details confirmation bottomsheet

* feat: Pay anything swap flow [WIP]
- Switch exchangeviewmodel back to factory
- Expand address box to fill width

* Handle second swipe to swap cta

* Add fiat for receive amount

* Scope Observers for bottomsheets and add validator

* fix: Repeated instances issue for exchangeVM

* fix: Estimated fee and balance not correctly updating after wallet switching occurs

* fix: Available balance not updating properly after wallet switching

* Fix: Give wallet some time to open before populating send info

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2025-09-06 19:16:56 +03:00
David AdegokeandGitHub 31b9bb7f53 Ease potential scam checks and handle case-insensitive addresses (#2497) 2025-09-06 00:05:06 +03:00
cyanandGitHub 2dc95b2bf0 feat: use better embedded Tor (#2453)
* feat: use better embedded Tor

* update docs [skip ci]

* fix: update torch properly add minimum os version for iOS

* fix: use of invalid thread api on iOS

* fix: disable use of lzma and zstd system libraries

* fix: update torch_dart to work on linux
2025-09-05 23:07:26 +03:00
David AdegokeandGitHub f0ca065a48 fix: Node Issues (#2498)
- Allow adding new nodes without port
- Replace default port number for empty string when there's no port added
2025-09-05 16:41:11 +03:00
David AdegokeandGitHub 067313e077 fix: Handle black space and nav bar issue (#2499) 2025-09-05 15:03:04 +03:00
SerhiiandGitHub 2d52d4585f CW-1200-Dust-amount-error-when-sending-All (#2495)
* Add isSendAll parameter to exchange provider trade creation

* Improve send-all transaction handling and fee calculation

change.
2025-09-05 05:26:53 +03:00
4b7a89d397 CW-1138-Add-CakePay-orders-to-the-transaction-history-screen (#2446)
* 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>

* cake pay order row

* order provider adapter

* add Cake Pay order filtering

* Update cake_pay_buy_card_view_model.dart

* fix hidden order balance

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

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

* Update lib/cake_pay/src/services/cake_pay_api.dart

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

* address review comments

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-09-01 19:09:26 +03:00
OmarHatem ec7b9ccb51 ignore NoNullnessRewrite in proguard-rules.pro 2025-08-29 13:58:54 +03:00
Omar HatemandGitHub 8528941e1b disable pay anything feature (#2484)
disable letsExchange
remove xstocks
2025-08-26 05:16:11 +03:00
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