jwinterm
04203654f1
Rename Flutter project + binary: cake_wallet -> hash_wallet
...
The big one. Touches 760+ files. Locks in the user's decision to break
import-line compatibility with upstream cake-tech/cake_wallet in exchange
for a binary named hash_wallet on every platform.
Changes:
- pubspec_description.yaml: project name cake_wallet -> hash_wallet
- 762 Dart files: every 'package:cake_wallet/...' import rewritten to
'package:hash_wallet/...' (lib/, cw_*/lib/, tool/, test/, integration_test/)
- linux/CMakeLists.txt: BINARY_NAME cake_wallet -> hash_wallet
- windows/CMakeLists.txt: project + BINARY_NAME (CakeWallet -> HashWallet)
- windows/runner/Runner.rc: company / file / product strings to Hash Wallet
+ Such Software LLC copyright
- macos/Runner.xcodeproj/project_base.pbxproj: cake_wallet_new.app refs
-> hash_wallet.app (macOS output bundle name)
- com.suchsoftware.HashWallet.yml (Flatpak): all binary path refs
cake_wallet -> hash_wallet (e.g. /app/hash_wallet/hash_wallet)
- linux/com.suchsoftware.HashWallet.desktop: Exec=hash_wallet
- scripts/android/copy_monero_deps.sh: CW_DIR target path
- configure_hash_wallet.sh: error message typo (old filename)
INTENTIONALLY UNCHANGED:
- cw_* subpackage names (cw_core, cw_bitcoin, cw_wownero, etc.) — they
remain as the historical 'cake wallet' naming; renaming them would
cascade through every sub-package's internal structure
- Method channel name 'com.cake_wallet/native_utils' in iOS/macOS/Android
AppDelegates and MainActivity — it's a string identifier that has to
match the Dart side exactly. Renaming requires both-sides change; it's
internal-only and not user-visible.
- ghcr.io/cake-tech/cake_wallet:debian13-... docker image references in
build scripts — that's Cake Labs' published image we use as the build
environment, not ours.
User data directory now follows the new binary name:
~/.local/share/hash_wallet/ (was ~/.local/share/cake_wallet/)
~/.config/hash_wallet/ (was ~/.config/cake_wallet/)
Existing users on the old name will need migration if any exist.
2026-05-16 11:33:25 -04: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
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
Serhii and GitHub
557e1c9839
Cw 935 get exchange payment method recommendations from on ramper ( #2235 )
...
* fix: default to recommended payment method in Onramper
* fix: support displaying unknown payment methods
* feat: fetch recommended Onramper payment type
2025-05-15 19:48:06 +03:00
Serhii and GitHub
eb136efb27
Cw 995 buy sell issues ( #2127 )
...
* add not supported warning
* warning localisation
* providers depend on the selected pair
2025-03-29 07:46:16 +02:00
1aad8366c4
Cw 793 implement kryptonim dfx to fiat buy sell option ( #2068 )
...
* init commit
* add authorization data
* Update lib/buy/kryptonim/kryptonim.dart
---------
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com >
2025-03-06 19:39:41 +02:00
02f53055b1
Cw 657 new buy sell flow ( #1553 )
...
* init commit
* onramper
* moonPay
* dfx provider
* meld
* dfx payment methods
* fiat buy credentials
* moonpay payment method
* payment loading state
* dfx sell quote
* onramper launch trade
* meld launch trade
* country picker
* update option tile
* buy/sell action
* meld refactor
* update pr_test_build.yml
* ui fixes
* revert country picker commit
* update the ui
* recommended providers
* payment method [skip ci]
* provider option tile
* remove buy action
* minor fixes
* update the best rate when the amount is changed
* fixes for currency title
* fix icons
* code refactoring
* null issue
* code review fixes
* Update pr_test_build_linux.yml
* Update meld_buy_provider.dart
* Update meld_buy_provider.dart
* add show wallets action
* remove default sell / buy provider setting
* localisation
* providerTypes
* icons
* remove duplicate file [skip ci]
* minor changes [skip ci]
* fixes from review
* disable dfx for non eur/chf currencies
fix providers to be fetched with the selected currency
* fix breaking from loop if one element failed
* fix minor naming issue from merging conflicts
* add fiat check for moonpay
* fix address validation
* merge conflict
* fix destination and source currency
* minor fix
* minor fix
* update the flow
* fix bch address format
* fix wallet addresses
* fix initial fetching amount.
* Update address_validator.dart
* review comments
* revert switch case to return null
* minor fix
---------
Co-authored-by: OmarHatem <omarh.ismail1@gmail.com >
2024-11-09 21:00:56 +02:00
5eabdcdca1
Cw 604 integrate bitcoin ledger ( #1407 )
...
* CW-503 Prepare Ledger integration
* CW-503 Revert Tor ignore
* CW-503 Add Connect Device Page
* CW-503 Add createWalletFromDevice for monero
* CW-503 Add Connect Device Page
* CW-503 Add Connect Device Page
* CW-503 Add Debug Options
* CW-503 Add proper hardware wallet selection screen
* CW-503 Minor design changes on connect_device_page
* CW-503 Add Create Wallet from Ledger
* CW-503 Spent Ledger ETH Funds
* CW-503 Minor fixes
* CW-503 Fix Merge conflicts
* CW-503 Fix Merge conflicts
* CW-503 Fix Merge conflicts
* CW-503 Fix minor conflicts
* CW-503 Improve Ledger BLE Communication
* CW-503 Improve Ledger BLE Communication
* CW-503 Rollback Monero Test code
* CW-503 Fix Execution failed for task :app:checkReleaseDuplicateClasses
* CW-503 Better Error-Exceptions
* CW-503 Add SetPinScreen before restore from hardware-wallet
* CW-503 override web3dart to use cake's git hosted version
* CW-503 Implement ledger sign messages
* CW-503 Implement ledger sign messages and send erc20 tokens
* CW-503 Fix merge conflicts
* CW-503 Fix merge conflicts
* CW-503 Use dep override for ledger_flutter
* CW-503 Ledger ERC20 finalisation
* CW-503 More graceful error handling
* CW-503 Even more graceful error handling & remove debug code
* CW-503 Minor Changes for Vik
* CW-503 Fix USB connection
* CW-503 Maybe this overrides web3dart finally
* Indicate Loading on the first 5 Wallet Accounts
* Prepare Ledger Bitcoin
* Fix conflicts with main
* Add Bluetooth permission to iOS [skip ci]
* add privacyinfo for ios [skip ci]
* update PrivacyInfo.xcprivacy [scip ci]
* ios shit [skip ci]
* Improve bitcoin xpub
* Resolve open Todos regarding iOS Support
* Minor debug
* Remove erc20 dependency to have more granular control over the tx UX
* Create Bitcoin Wallets using xpub
* Create Bitcoin Wallets using xpub
* Better error handling
* Improve Ledger account handling
* Add Bitcoin Support for Ledger
* Add Bitcoin Support for Ledger
* Add Bitcoin Support for Ledger
* Implement requested Changes
* Implement requested Changes
* Minor fix
* Implement requested Changes
* Implement requested Changes
* Add comment to remind me
* Enable RBF for Bitcoin Ledger
* Fix merge conflicts
* Update wallet_info.dart
* Cw 503 ledger support (#1310 )
* CW-503 Prepare Ledger integration
* CW-503 Revert Tor ignore
* CW-503 Add Connect Device Page
* CW-503 Add createWalletFromDevice for monero
* CW-503 Add Connect Device Page
* CW-503 Add Connect Device Page
* CW-503 Add Debug Options
* CW-503 Add proper hardware wallet selection screen
* CW-503 Minor design changes on connect_device_page
* CW-503 Add Create Wallet from Ledger
* CW-503 Spent Ledger ETH Funds
* CW-503 Minor fixes
* CW-503 Fix Merge conflicts
* CW-503 Fix Merge conflicts
* CW-503 Fix Merge conflicts
* CW-503 Fix minor conflicts
* CW-503 Improve Ledger BLE Communication
* CW-503 Improve Ledger BLE Communication
* CW-503 Rollback Monero Test code
* CW-503 Fix Execution failed for task :app:checkReleaseDuplicateClasses
* CW-503 Better Error-Exceptions
* CW-503 Add SetPinScreen before restore from hardware-wallet
* CW-503 override web3dart to use cake's git hosted version
* CW-503 Implement ledger sign messages
* CW-503 Implement ledger sign messages and send erc20 tokens
* CW-503 Fix merge conflicts
* CW-503 Fix merge conflicts
* CW-503 Use dep override for ledger_flutter
* CW-503 Ledger ERC20 finalisation
* CW-503 More graceful error handling
* CW-503 Even more graceful error handling & remove debug code
* CW-503 Minor Changes for Vik
* CW-503 Fix USB connection
* CW-503 Maybe this overrides web3dart finally
* Indicate Loading on the first 5 Wallet Accounts
* Fix conflicts with main
* Add Bluetooth permission to iOS [skip ci]
* add privacyinfo for ios [skip ci]
* update PrivacyInfo.xcprivacy [scip ci]
* ios shit [skip ci]
* Resolve open Todos regarding iOS Support
* Remove erc20 dependency to have more granular control over the tx UX
* Better error handling
* Improve Ledger account handling
* Implement requested Changes
* Implement requested Changes
* Implement requested Changes
* Implement requested Changes
* Fix merge conflicts
* Update wallet_info.dart
---------
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com >
* Fix merge conflicts
* Fix merge conflicts
* Minor Fix to derivations
* Update cw_bitcoin/lib/bitcoin_wallet.dart [skip ci]
* Update cw_bitcoin/lib/bitcoin_wallet.dart [skip ci]
* Update cw_bitcoin/lib/electrum_wallet.dart [skip ci]
* Fix backward compatibility issues
* Merge Tron
* Fix Tron with HW changes
* fix ble on iOS
fix tron address validation
---------
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com >
2024-05-05 04:44:50 +03:00
Omar Hatem and GitHub
133fa2987a
Generic fixes ( #1245 )
...
* Remove error message if buy action is disabled
* Fix wallet list selected wallet issue
* Check if the widget is still mounted before showing popup
* minor code readability enhancement [skip ci]
* Code enhancement [skip ci]
* Revert removing ask each time localization
* Add Moonpay to sell flow
Code Enhancements
* remove error popup when sell option is disabled
2024-01-01 15:05:37 +02:00
Serhii and GitHub
914565eb72
CW-539-DFX-off-ramp-sell-provider ( #1229 )
...
* buy_provider_types refactoring
* refactor MoonPay and sell option flow
* dfx sell flow
* add default sell provider flow
* localization
* Update other_settings_page.dart
* [skip ci] update localization
* [skip ci] providers fixes
* [skip ci] ui fixes
* refactor sell and buy flow
* handle dfx availability by country
* PR fixes
2023-12-28 21:20:59 +02:00
M
1beb18b045
Flutter upgrade
2022-10-12 13:09:57 -04:00
M
e6b1da376d
Configure wallet types for the app
2021-12-24 14:41:34 +02:00
OleksandrSobol
0d367c4b45
CAKE-343 | added bitcoin_wallet_addresses.dart and litecoin_wallet_addresses.dart tj the app; moved addresses from wallets to wallet addresses classes; deleted wallet addresses credentials
2021-07-13 08:46:34 +03:00
OleksandrSobol
19ffffa6cc
CAKE-306 | applied buy_webview_page.dart to the app; fixed order_details_view_model.dart and order_row.dart; applied localization to the pre_order_page.dart; deleted unused files
2021-04-13 21:40:44 +03:00
OleksandrSobol
346a034d0a
CAKE-306 | added MoonPay option for BTC buying; applied PreOrderPage to the app; created Wyre and MoonPay buy providers
2021-04-12 21:22:22 +03:00