Commit Graph
3438 Commits
Author SHA1 Message Date
OmarHatem 675db37acc fix robinhood dogecoin [skip ci] 2025-10-05 18:14:17 +03:00
OmarHatem 9214fd63ff minor fix [skip ci] 2025-10-05 17:48:56 +03:00
OmarHatem b7156c3f5d minor fix [skip ci] 2025-10-04 04:53:30 +03:00
cyanandGitHub 9843c3c156 feat: handle label restore field from cupcake (#2551) 2025-10-03 20:58:37 +03:00
OmarHatem 2a0bbe059f populate amount only if qr has it [skip ci] 2025-10-03 16:24:19 +03:00
OmarHatem efef498c31 remove swaptrade limit [skip ci] 2025-10-03 13:38:34 +03:00
Konstantin UllrichandGitHub 80bba64c26 feat: integrate getOnramperSignature method and add support for retrieving Onramper signature (#2553)
* feat: integrate `getOnramperSignature` method and add support for retrieving Onramper signature

* fix: make `getOnramperSignature` call asynchronous

* fix: normalize networkWallets parameter to lowercase [skip ci]
2025-10-02 18:45:30 +03:00
cyanandGitHub 2120d01475 fix: use bash for bitbox build script (#2556) 2025-10-02 18:44:25 +03:00
Konstantin UllrichandGitHub 5c21b596a2 refactor: center ConnectDevicePage (#2555) 2025-10-01 23:26:50 +03:00
e4672c75b7 CW-1135-add-support-for-bitbox-hww (#2476)
* chore: add ffi and ffigen dependencies to pubspec.yaml

* refactor: replace method channel with FFI implementation for MWeb module

* fix: correct `cd` command in build_mwebd.sh script

* chore: add go.sum file with dependency checksums

* fix: ensure ANDROID_NDK_VERSION is set before building and dynamically update NDK_BIN path

* fix: update NDK_BIN path to dynamically detect platform in build_mwebd.sh script

* refactor: remove unused mwebd dependencies and clean up CwMwebPlugin code

* Update scripts/android/build_mwebd.sh

Co-authored-by: cyan <cyjan@mrcyjanek.net>

* refactor: replace iOS MoneroWallet framework with Mwebd.xcframework and clean up plugin implementation [skip-ci]

* refactor: extract hardware wallet service abstraction

* refactor: extend BitcoinHardwareWalletService from HardwareWalletService and override account retrieval method

* feat: add BitBox hardware wallet support and implement manufacturer selection page with custom UI components

* refactor: update manufacturer selection UI and integrate custom gradient styles for ManufacturerOptionTile widget

* fix: mwebd ffi ios

* feat: add BitBox hardware wallet support, update derivation paths, and refactor hardware wallet credential implementations

* feat: add bitbox support and refactor the old ledger implementation

* feat: add BitBox hardware wallet support and refactor hardware wallet service implementations

* feat: refactor hardware wallet support to introduce abstraction for BitBox and Ledger; update device scanning, initialization, and UI integration

* fix: BitBox hardware wallet ethereum transaction signing

* chore: update BitBox Flutter path references and include build steps in CI workflows

* chore: update CI workflows to include `--dont-install` flag for BitBox Flutter builds

* refactor: replace if-else logic with switch-case for HardwareWalletViewModel factory

* feat: refactor hardware wallet services to introduce shared interface, improve ledger and bitbox implementations, and support additional transaction signing operations

* feat: add SVG assets for hardware wallet manufacturers (Foundation, Keystone, SeedSigner)

* feat: redesign hardware wallet restoration flow with improved routing, UI updates, and manufacturer-specific device selection handling

* fix: validate required BIP353 fields in transaction builder to prevent potential null value errors

* feat: improve BitBox transaction signing logs with detailed PSBT information

* refactor: update MWebFfi class to use non-nullable `lib` and improve address debug logging

* feat: add BitBox coin type constant and improve hardware wallet service extensibility

* chore: remove unused iOS/Android build scripts for mwebd

* feat: add BitBox SVG asset and update localization for hardware wallet connection instructions

* feat: update manufacturer tags and add Toast Easter egg for device selection interactions

* refactor: replace LedgerViewModel with HardwareWalletViewModel across providers and improve hardware wallet handling

* refactor: replace mweb.so with libmweb.so, use sync methods in MWebFfi, and update iOS/Android frameworks/scripts accordingly

* feat: add Ledger Nano X SVG asset to hardware wallet resources

* chore: unify mwebd build process in workflows, remove unused gomobile init command

* refactor: remove redundant print statement and unnecessary whitespace

* chore: add `gomobile init` to Android PR test build workflow

* chore: update Android PR test build workflow and add file existence check in `build_bitbox_flutter.sh`

* chore: override `ledger_usb_plus` dependency in pubspec_base.yaml

* feat: add verbose logging for BitBox connection and initialization process

* Update lib/view_model/hardware_wallet/bitbox_view_model.dart [skip ci]

* CW-1206-refactor-hardware-wallets-code (#2507)

* feat: add support for new hardware wallet types (Cupcake, Coldcard, SeedSigner) and improve QR Code handling

- Introduced new hardware wallet types (Cupcake, Coldcard, SeedSigner) with corresponding assets and localization updates.
- Updated QR Code format selection for hardware wallets with new formats (BCUR, BBQR) specific to devices.
- Improved hardware wallet restoration flow to include airgapped wallet handling via QR Code scanning.
- Refactored routing, view models, and dependency injection to accommodate new hardware wallet types.
- Enhanced UI for device manufacturer selection and QR Code format dialogs.

* feat: update hardware wallet assets and restoration flow

* feat: add changing airgapped wallet type

* feat: add Cupcake Man SVG asset to hardware wallet resources

* refactor: update Litecoin receive options to require wallet parameter and handle hardware wallets

* fix: debugging keystone integration
feat: support for zpub view only restore

* fix: seed signer restore

* fix: disable bitbox restoring (for now) [skip-ci]

* refactor: rename `isCupcake` to `isBitcoinViewOnly` for clarity [skip ci]

---------

Co-authored-by: Czarek Nakamoto <cyjan@mrcyjanek.net>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>

* refactor: standardize hardware wallet connection handling across wallet types

---------

Co-authored-by: cyan <cyjan@mrcyjanek.net>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-10-01 18:20:40 +03:00
cyanandGitHub e1bb0e4a69 fix: override flutter_secure_storage on linux (#2552) 2025-09-30 13:11:10 +03:00
SerhiiandGitHub 5c34b6193d refactor image handling in ProviderOptionTile (#2549) 2025-09-29 15:26:44 +03:00
cyanandGitHub 958f9469ac fix: bump version code by 4000 to fix app updates (#2550) 2025-09-29 15:25:01 +03:00
SerhiiandGitHub dd4c941d2f Prevent double send actions in SendPage (#2542) 2025-09-28 21:52:39 +03:00
OmarHatem f3b5765f42 meh. [skip ci] 2025-09-26 22:32:49 +03:00
OmarHatem 19852d772a update build no. [skip ci] 2025-09-26 19:17:29 +03:00
OmarHatem f7d7b44ad1 revert reown 2025-09-26 18:32:10 +03:00
OmarHatem 0e6d7d41ed Fix doge coin icon missing on desktop [skip ci] 2025-09-26 14:07:19 +03:00
David AdegokeandGitHub 2f3ec951e0 Filter out spam transactions for Polygon (#2543)
* fix: Polygon transactions not coming up in transactions history page

* fix: Filter out polygon spam transactions
2025-09-26 11:16:57 +03:00
OmarHatem 09127e5e57 update build number for macos monero [skip ci] 2025-09-26 10:17:59 +03:00
David AdegokeandGitHub fb830cc36b fix: Tentative fix for windowsize missing plugin exception (#2544) 2025-09-26 10:16:00 +03:00
OmarHatem 8136b74022 Ease scam token check 2025-09-26 09:56:33 +03:00
Omar HatemandGitHub e70814cf2b update build number (#2539)
* update build number
update swaptrade limit

* add more fixes and update build number
2025-09-25 17:39:39 +03:00
Konstantin UllrichandGitHub 28184e223a feat: add truncateDecimals method to EVMChainFormatter and update transaction logic to improve decimal handling (#2540) 2025-09-25 15:52:10 +03:00
Konstantin UllrichandGitHub b2f8267407 chore: update dependencies in cw_bitcoin (#2538)
* chore: update dependencies in  cw_bitcoin

* chore: use cake-tech sp_scanner
2025-09-25 14:26:15 +03:00
David AdegokeandGitHub 7704ec047c fix: Polygon transactions not coming up in transactions history page (#2537) 2025-09-25 10:45:22 +03:00
Omar HatemandGitHub ff7075aab4 v5.4.1 release candidate (#2535) 2025-09-24 23:44:23 +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
Omar HatemandGitHub a84c563f89 fix mweb build on iOS (#2534) 2025-09-24 16:15:31 +03:00
OmarHatem 429d54a1fa disable ThorChain 2025-09-24 15:20:50 +03:00
cyanandGitHub 95925c0936 chore: migrate forks to cake-tech org (#2532) 2025-09-24 11:27:46 +03:00
juejinyuxituandGitHub 15444249d3 chore: fix typo in comment (#2533)
Signed-off-by: juejinyuxitu <juejinyuxitu@outlook.com>
2025-09-24 11:27:36 +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
5a27f0adcd fix: socket error handling (#2521)
* fix: silence unhandled async errors in bitcoin_base
fix: wrap all ProxySocket calls in try catch just to be sure

* revert to v11 since pr is merged [skip ci]

* revert to v11 since pr is merged [skip ci]

* revert to v11 since pr is merged [skip ci]

* revert to v11 since pr is merged [skip ci]

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2025-09-22 08:16:35 +03:00
Konstantin UllrichandGitHub 47092d629c Add Kraken Wrapped Bitcoin (kBTC) token and Coinbase Wrapped BTC (cbBTC) (#2524)
* feat: add Kraken Wrapped Bitcoin (KBTC) token and fix German translation typo in Silent Payments [skip-ci]

* feat: add Coinbase Wrapped BTC (CBBTC) and Kraken Wrapped BTC (KBTC) tokens [skip-ci]
2025-09-22 08:13:01 +03:00
cyanandGitHub 8452f80e99 chore: bump compileSdkVersion to 36 to prevent warnings during build (#2528) 2025-09-22 08:11:44 +03:00
cyanandGitHub 7010bd9d0f fix: don't include mwebd build outputs (#2525) 2025-09-22 07:55:00 +03:00
Konstantin UllrichandGitHub 3508efb167 Cw 1220 fix payjoin dependency issues (#2519)
* feat: use latest payjoin deps

* build(cw_bitcoin_cash): bump required dart sdk for

* chore: update PR test build workflow container image to latest version

* chore: update container images in PR test build workflows to Flutter 3.29.0

* chore: update container images in PR test build workflows to Flutter 3.29.3

* chore: update uni_links dependency to latest commit hash [skip-ci]

* chore: remove unused PluginRegistrantCallback implementation from Application classes

* fix: CakeTor for PayJoin workers and add retry delay
2025-09-22 07:47:00 +03:00
309ad1836e use ffi for mweb (#2456)
* chore: add ffi and ffigen dependencies to pubspec.yaml

* refactor: replace method channel with FFI implementation for MWeb module

* fix: correct `cd` command in build_mwebd.sh script

* chore: add go.sum file with dependency checksums

* fix: ensure ANDROID_NDK_VERSION is set before building and dynamically update NDK_BIN path

* fix: update NDK_BIN path to dynamically detect platform in build_mwebd.sh script

* refactor: remove unused mwebd dependencies and clean up CwMwebPlugin code

* Update scripts/android/build_mwebd.sh

Co-authored-by: cyan <cyjan@mrcyjanek.net>

* refactor: replace iOS MoneroWallet framework with Mwebd.xcframework and clean up plugin implementation [skip-ci]

* fix: mwebd ffi ios

* refactor: update MWebFfi class to use non-nullable `lib` and improve address debug logging

* chore: remove unused iOS/Android build scripts for mwebd

* refactor: replace mweb.so with libmweb.so, use sync methods in MWebFfi, and update iOS/Android frameworks/scripts accordingly

* chore: unify mwebd build process in workflows, remove unused gomobile init command

---------

Co-authored-by: cyan <cyjan@mrcyjanek.net>
2025-09-12 16:13:00 +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
Konstantin UllrichandGitHub 4aac641f04 fix: replace EVM amount parsing logic with parseFixed for improved precision (#2518) 2025-09-11 15:32:44 +03:00
OmarHatem 2847537588 update macos build number [skip ci] 2025-09-09 20:31:05 +03:00
cyanandGitHub 5b89d1fdd8 fix: tor on macOS (#2514)
This PR fixes missing entitlemends, and ITMS-90291, ITMS-90292 from app review
2025-09-09 14:27:52 +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