Commit graph

2892 commits

Author SHA1 Message Date
OmarHatem
784cd33772 merge main 2024-05-29 18:48:49 +03:00
OmarHatem
5571536c96 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into cw_linux_direct_input_password
 Conflicts:
	cw_bitcoin/lib/bitcoin_wallet.dart
	cw_bitcoin/lib/bitcoin_wallet_service.dart
	cw_bitcoin/lib/electrum_transaction_history.dart
	cw_bitcoin/lib/electrum_wallet.dart
	cw_bitcoin/pubspec.lock
	cw_monero/ios/Classes/monero_api.cpp
	lib/bitcoin/cw_bitcoin.dart
	lib/core/wallet_creation_service.dart
	lib/di.dart
	lib/src/screens/dashboard/desktop_widgets/desktop_wallet_selection_dropdown.dart
	lib/src/screens/dashboard/pages/cake_features_page.dart
	lib/src/screens/settings/security_backup_page.dart
	model_generator.sh
	tool/configure.dart
2024-05-29 18:39:01 +03:00
Rafael
96b9b60f50
Cw 453 (#1306)
* feat: rebase btc-addr-types, migrate to bitcoin_base

* feat: allow scanning elect-rs using get_tweaks

* feat: scanning and adding addresses working with getTweaks, add btc SP address type

* chore: pubspec.lock

* chore: pubspec.lock

* fix: scan when switching, fix multiple unspents in same tx

* fix: initial scan

* fix: initial scan

* fix: scanning issues

* fix: sync, storing silent unspents

* chore: deps

* fix: label issues, clear spent utxo

* chore: deps

* fix: build

* fix: missing types

* feat: new electrs API & changes, fixes for last block scanning

* feat: Scan Silent Payments homepage toggle

* chore: build configure

* feat: generic fixes, testnet UI improvements, useSSL on bitcoin nodes

* fix: invalid Object in sendData

* feat: improve addresses page & address book displays

* feat: silent payments labeled addresses disclaimer

* fix: missing i18n

* chore: print

* feat: single block scan, rescan by date working for btc mainnet

* feat: new cake features page replace market page, move sp scan toggle, auto switch node pop up alert

* feat: delete silent addresses

* fix: red dot in non ssl nodes

* fix: inconsistent connection states, fix tx history

* fix: tx & balance displays, cpfp sending

* feat: new rust lib

* chore: node path

* fix: check node based on network

* fix: missing txcount from addresses

* style: padding in feature page cards

* fix: restore not getting all wallet addresses by type

* fix: auto switch node broken

* fix: silent payment txs not being restored

* feat: change scanning to subscription model, sync improvements

* fix: scan re-subscription

* fix: default nodes

* fix: improve scanning by date, fix single block scan

* refactor: common function for input tx selection

* fix: nodes & build

* fix: send all with multiple outs

* refactor: unchanged file

* Update pr_test_build.yml

* chore: upgrade

* chore: merge changes

* refactor: unchanged files [skip ci]

* fix: scan fixes, add date, allow sending while scanning

* feat: sync fixes, sp settings

* feat: fix resyncing

* fix: date from height logic, status disconnected & chain tip get

* fix: params

* feat: electrum migration if using cake electrum

* fix nodes
update versions

* re-enable tron

* update sp_scanner to work on iOS [skip ci]

* fix: wrong socket for old electrum nodes

* Fix unchecked wallet type call

* fix: double balance

* feat: node domain

* fix: menu name

* fix: update tip on set scanning

* fix: connection switching back and forth

* feat: check if node is electrs, and supports sp

* chore: fix build

* minor enhancements

* fixes and enhancements

* solve conflicts with main

* fix: status toggle

* minor enhancement

* Monero.com fixes

* update sp_scanner to include windows and linux

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-05-29 17:43:48 +03:00
Konstantin Ullrich
faa49d21e8
Potential fix for missing polyseeds in the future (#1468) 2024-05-28 16:32:48 +03:00
Adegoke David
24f6541fa6
CW-647-Birdpay-Trc20 (#1469)
* fix: Desktop resize bug

* fix: Birdpay working for trc20 and adjust transaction fee currency

* fix: Filter logic

* fix: Solana token balance not fully displaying

* fix: Minor enhancements
2024-05-28 16:32:36 +03:00
Omar Hatem
058522caf1
Fix Contact page reaction excuted more than once (#1467) 2024-05-26 18:09:39 +03:00
Konstantin Ullrich
8c1206ea04
Hide "Show Seed" Option on Hardware Wallets (#1463) 2024-05-25 17:59:29 +03:00
tuxsudo
0dc53895c6
Fix connection leak when service bulletin is disabled (#1465)
* Fix connection leak when service bulletin disabled

* Update dashboard_view_model.dart

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-05-25 17:57:30 +03:00
Omar Hatem
7d0720b21d
Generic enhancements (#1464)
* Fix wallet not considering seed length for Tron, Polygon and Solana

* Change Trocador to be prioritized if same rate [skip ci]
2024-05-23 19:43:05 +03:00
Adegoke David
461fe1c859
fix: Desktop resize bug (#1461)
* fix: Desktop resize bug

* Change default spl tokens

* Minor enhancements [skip ci]

* minor enhancements [skip ci]

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-05-23 18:21:51 +03:00
OmarHatem
556b79bdcd Add Tron
Update Linux version
2024-05-22 04:22:01 +03:00
OmarHatem
37f6d1c281 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into cw_linux_direct_input_password 2024-05-22 04:19:57 +03:00
Omar Hatem
dfba5be2cd
bump android build number [skip ci] 2024-05-22 04:19:33 +03:00
Omar Hatem
7b5204fdaa
Generic enhancements (#1456)
* minor enhancement

* show camera consent at least once, even if camera permission is granted already

* minor enhancement [skip ci]

* Add taproot derivation path to electrum_derivations.dart

* remove unused import [skip ci]

* Initialize Ledger only when necessary

* Update app versions
2024-05-22 04:18:04 +03:00
Omar Hatem
f846f91e5f
Maybe Fix Bluetooth Popup (#1458)
Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
2024-05-21 05:26:49 +03:00
Serhii
aeff8972ea
Update electrum_wallet.dart (#1443) 2024-05-21 05:12:12 +03:00
OmarHatem
3ed6c1b149 update version 2024-05-18 04:02:44 +03:00
OmarHatem
2a538ca3aa Merge branch 'main' of https://github.com/cake-tech/cake_wallet into cw_linux_direct_input_password
 Conflicts:
	cw_bitcoin/lib/bitcoin_wallet.dart
2024-05-18 04:02:08 +03:00
Konstantin Ullrich
82391d4a5b
Generic fixes (#1454)
* Handle Bluetooth is disabled

* Allow signMessage using ledger_bitcoin

* Fix desktop wallet selection dropdown
2024-05-17 16:15:19 +03:00
Adegoke David
fbecc5c994
fix: Tron Timeout Issue (#1448)
* fix: Tron timeout issue

* fix: Revert

* fix: Tron transaction expiry error
2024-05-15 02:54:39 +03:00
Matthew Fosse
4947e231e9
Cw 613 quantex (#1377)
* save progress

* [skip ci]

* forgot to add [skip ci]

* not sure what exactly I changed but it just works now! ¯\_(ツ)_/¯

* status updates

* minor cleanup

* minor fix (toUppercase needed)

* remove unnecessary apikey + keep original raw values

* fix track url for quantex

* only increment raw values

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-05-14 05:07:16 +03:00
Omar Hatem
c12b4f5ff6
improve error handling (#1451) 2024-05-14 04:27:16 +03:00
OmarHatem
e56fe44db4 merge main and update version 2024-05-14 00:01:27 +03:00
OmarHatem
95711f619b Merge branch 'main' of https://github.com/cake-tech/cake_wallet into cw_linux_direct_input_password
 Conflicts:
	cw_monero/example/pubspec.lock
2024-05-14 00:00:50 +03:00
Omar Hatem
e92e8df3aa
Generic enhancements (#1447)
* Disable hardware wallets for Monero.com

* disable ble permission on Monero.com

* code cleanup [skip ci]

* Fix missing Trade bytes issue
2024-05-13 23:59:11 +03:00
OmarHatem
5d961a96da remove tron 2024-05-10 21:37:48 +03:00
OmarHatem
6145396c91 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into cw_linux_direct_input_password
 Conflicts:
	lib/di.dart
2024-05-10 21:35:39 +03:00
Omar Hatem
97555f2ce1
V4.16.0 (#1445)
* update build numbers

* fix UI issue

* Add Nano to secret generation properly [skip ci]

* remove to utc from expiration time

* update app version
Remove tron
2024-05-10 21:34:28 +03:00
Omar Hatem
678dc3b135
update build numbers (#1441)
* update build numbers

* fix UI issue

* Add Nano to secret generation properly [skip ci]

* remove to utc from expiration time
2024-05-10 21:28:49 +03:00
Adegoke David
cfe4401ccb
Desktop-refresh-error-fix (#1442)
* fix: Desktop refresh issue

* chore: Removing comments
2024-05-09 17:10:49 +03:00
Omar Hatem
8325181253
Revert flutter secure storage update (#1440)
* Revert flutter secure storage update

* Fix app start slowness
2024-05-09 16:00:26 +03:00
Adegoke David
1fdc848b3a
fix: Modify tron fee to eliminate spike due to first tx (#1439) 2024-05-09 14:03:30 +03:00
OmarHatem
cfc596a688 reformatting [skip ci] 2024-05-09 00:53:14 +03:00
OmarHatem
47078b0bc5 fix conflicts 2024-05-08 23:48:46 +03:00
OmarHatem
34b484f568 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into cw_linux_direct_input_password
 Conflicts:
	lib/core/auth_service.dart
	lib/core/backup_service.dart
	lib/core/key_service.dart
	lib/core/wallet_creation_service.dart
	lib/di.dart
	lib/entities/default_settings_migration.dart
	lib/entities/fs_migration.dart
	lib/entities/get_encryption_key.dart
	lib/ionia/ionia_service.dart
	lib/main.dart
	lib/src/screens/support_chat/support_chat_page.dart
	lib/src/screens/support_chat/widgets/chatwoot_widget.dart
	lib/store/secret_store.dart
	lib/store/yat/yat_store.dart
	lib/view_model/backup_view_model.dart
	lib/view_model/edit_backup_password_view_model.dart
	tool/configure.dart
2024-05-08 23:36:21 +03:00
Adegoke David
bfb78eded9
CW-599-Extract-Secure-Storage (#1353)
* feat: Modify app to depend on secure storage abstraction instead of the direct package

* chore: Revert command

* Update configure.dart [skip ci]

* Update configure.dart

* Fix conflicts

* clean up and fixes

* minor fix

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-05-08 23:23:27 +03:00
OmarHatem
5a30aa98f9 fix missing encryption utils in hardware wallet functions [skip ci] 2024-05-08 22:18:26 +03:00
OmarHatem
b082cd5f4e Merge branch 'main' of https://github.com/cake-tech/cake_wallet into cw_linux_direct_input_password
 Conflicts:
	pubspec_base.yaml
2024-05-08 21:19:57 +03:00
Omar Hatem
c35929f28e
update flutter secure storage (#1437)
* update flutter secure storage

* fix flutter secure storage version
2024-05-08 21:04:25 +03:00
OmarHatem
18bc37540a update app version [skip ci] 2024-05-08 19:37:18 +03:00
OmarHatem
42155c913d Merge branch 'main' of https://github.com/cake-tech/cake_wallet into cw_linux_direct_input_password
 Conflicts:
	cw_bitcoin/lib/bitcoin_wallet.dart
	cw_bitcoin/lib/bitcoin_wallet_service.dart
	cw_bitcoin/lib/electrum_wallet.dart
	cw_bitcoin/lib/litecoin_wallet.dart
	cw_bitcoin/lib/litecoin_wallet_service.dart
	cw_bitcoin_cash/lib/src/bitcoin_cash_wallet.dart
	cw_bitcoin_cash/lib/src/bitcoin_cash_wallet_service.dart
	cw_ethereum/lib/ethereum_wallet_service.dart
	cw_evm/lib/evm_chain_wallet.dart
	cw_evm/lib/evm_chain_wallet_service.dart
	cw_nano/lib/nano_wallet_service.dart
	cw_solana/lib/solana_wallet_service.dart
	lib/di.dart
	lib/entities/get_encryption_key.dart
	lib/main.dart
	lib/router.dart
	lib/view_model/wallet_new_vm.dart
	pubspec_base.yaml
	tool/configure.dart
2024-05-08 18:16:03 +03:00
Omar Hatem
12e3001b3a
Generic enhancements (#1435)
* Disable Ledger for MacOS

* increase update duration for Solana [skip ci]

* change tron default Node
Update build number

* Add disabling tron grid to privacy settings

* update monero.com versions [skip ci]
2024-05-08 17:26:57 +03:00
Matthew Fosse
baad7f7469
Nano-GPT (#1336)
* init

* updates

* nano updates

* updates

* updates

* [skipci] wip deep link changes

* fix deep links

* minor fix

* add reminder message on buy and exchange routes

* [skip ci] font fixes

* review updates

* [skip ci] minor fix

* save

* fixes

* minor code cleanup

* minor potential fix
2024-05-08 03:00:01 +03:00
Matthew Fosse
e5be737236
bio auth on mac + package updates for 3.19.3/5 (#1398)
* bio auth mac fix

* remove comment and change duration from 2 to 0

* cherry pick previous changes

* workaround for secure storage bug on mac

* bump version to 3.19.5 (because breez will need this version anyways)

* some code cleanup

* some changess didn't get saved

* just documenting the issue [skip ci]

* undo accidental removal + minor code cleanup

* merge conflicts

* Minor UI change [skip ci]

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-05-06 22:55:05 +03:00
Serhii
3f3cd10158
thor name to address lookup (#1390)
* thor name to address lookup

* minor fix [skip ci]

* Addressing code review comments

* minor fix
2024-05-06 22:16:25 +03:00
Adegoke David
cd41766e69
Desktop-Enhancements (#1434)
* feat: Add minimum size for macos app

* fix: Adjust font sizing and spaces in wallet list page and wallet selection dropdown
2024-05-06 22:14:43 +03:00
Adegoke David
2a88b32eee
fix: Add another node, handle errors gracefully (#1433) 2024-05-06 22:11:18 +03:00
rottenwheel
55cdec810e
fix: remove comma in OpenAlias title (#1430) 2024-05-06 14:32:31 +03:00
Konstantin Ullrich
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
043d7d7c8b
Generic fixes (#1427)
* fix for private key solana

* Fix Solana wallet open
2024-05-04 15:35:26 +03:00