Commit graph

156 commits

Author SHA1 Message Date
Matthew Fosse
ef458d1dae updates 2024-07-17 09:27:31 -07:00
Matthew Fosse
5a2a207aec sync status fixes, potential fix for background state issue 2024-07-16 12:41:13 -07:00
Matthew Fosse
ac6dc67356 minor fix - 2 2024-07-15 21:58:11 -07:00
Matthew Fosse
45f229123f minor fix 2024-07-15 21:56:20 -07:00
Matthew Fosse
a883780653 potential fixes 2024-07-15 12:59:20 -07:00
Matthew Fosse
8efe70fb24 save [skip ci] 2024-07-12 13:40:37 -07:00
Matthew Fosse
720914727e fix txCount for addresses 2024-07-11 17:22:35 -07:00
Matthew Fosse
d81eb0cdfc address balance and txCount fixes, try/catch electrum call 2024-07-11 15:55:37 -07:00
Matthew Fosse
e5e2a8706b coin control fixes 2024-07-11 11:49:14 -07:00
Matthew Fosse
4ec9d7b2e1 unspent coins / coin control fixes 2024-07-11 10:54:44 -07:00
Matthew Fosse
dfdf16a6c2 fix unconfirmed balance not updating when receiving 2024-07-10 12:45:30 -07:00
Matthew Fosse
bee6ad5cc4 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into mweb 2024-07-09 16:19:39 -07:00
Matthew Fosse
4008add46e save [skip ci] 2024-07-09 16:14:53 -07:00
Omar Hatem
f902a644db
Node Auto-reconnect and connectivity enhancements (#1513)
* Add auto-reconnect
Enhance connectivity issues

* minor enhancement [skip ci]

* minor: remove core secrets since it's empty

* pending transactions fix

* temporary fix for RBF

* remove unused hashes from cache key

* fix minimum limits check

* Add authentication to services api

* update polyseed

* override hashlib package
2024-07-06 17:42:17 +03:00
Matthew Fosse
a1dbe3bf2b fix some rescan and address gen issues 2024-07-01 10:05:07 -07:00
Matthew Fosse
dee77a6752 updates 2024-07-01 09:00:41 -07:00
Matthew Fosse
7869334d46 fix tx history not persisting + update build_mwebd script 2024-06-28 12:37:12 -07:00
Matthew Fosse
29f77aae22 add rescan from height feature and test workflow build 2024-06-28 09:16:54 -07:00
Matthew Fosse
1430c4487f [skip ci] Merge branch 'main' of https://github.com/cake-tech/cake_wallet into mweb 2024-06-25 22:41:09 -07:00
Matthew Fosse
e595d2d6cd [skip ci] lots of fixes, still testing 2024-06-24 12:48:42 -07:00
Konstantin Ullrich
7dd15914d0
Normalize text to fix french (#1504)
Some checks failed
Cache Dependencies / test (push) Has been cancelled
* Normalize text to fix french

* Normalize text to fix french

* Fix French?

* Fix French?

* Fix French?

* Polyseed v0.0.5
2024-06-24 19:38:32 +03:00
Matthew Fosse
01ea1f16b9 [skip ci] Merge branch 'main' of https://github.com/cake-tech/cake_wallet into mweb 2024-06-20 08:43:48 -07:00
Matthew Fosse
cb84a47fc7 use mwebutxos box 2024-06-18 19:07:13 -07:00
Matthew Fosse
591342ec6a
electrum updates (#1449)
* hotfixes

* copy over the rest of the fixes

* use hardened derivation path everywhere

* correct balance path for electrum

* revert index nullability and correct balance path for all cases

* only save wallet info if we changed it
2024-06-18 08:08:03 +03:00
Matthew Fosse
006d08fbf6 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into mweb 2024-06-13 09:35:31 -07:00
Omar Hatem
5a6502a35a
SP Enhancments (#1483)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
* fixes and minor enhancements for SP flow

* fix build

* change dfx text

* minor fixes

* pass use electrs to setListeners

* comment out connecting on failure for now
2024-06-10 09:30:58 +02:00
Rafael
1dd2c7da56
Sp fixes (#1487)
* feat: missing desktop setting menu

* fix: sp utxo pending

* fix: change to electrs only scanning, initial migration, and btc-electrum as null ssl
2024-06-10 09:22:57 +02:00
Matthew Fosse
f354ae8c7d updates [skip ci] 2024-06-08 14:26:48 +02:00
Matthew Fosse
126323584e silent payment fixes [skip ci] 2024-05-31 10:38:21 -07:00
Matthew Fosse
6edf0f8186 [skip ci] Merge branch 'main' of https://github.com/cake-tech/cake_wallet into mweb 2024-05-31 09:32:29 -07:00
Rafael
5545137047
Sp fixes (#1471)
* feat: missing desktop setting menu

* fix: sp utxo pending
2024-05-31 14:55:28 +03:00
Matthew Fosse
2377a344bd [skip ci] minor fixes 2024-05-30 09:09:29 -07:00
Matthew Fosse
0882ba016f merge fixes [skip ci] 2024-05-29 19:08:33 -07:00
Matthew Fosse
4e1b96e99b merge fixes [skip ci] 2024-05-29 09:18:21 -07:00
Matthew Fosse
ac1fe6b221 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into mweb 2024-05-29 09:16:31 -07:00
Matthew Fosse
7656752853 small fix 2024-05-29 08:54:50 -07: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
Matthew Fosse
bdc1d0376d Merge branch 'main' of https://github.com/cake-tech/cake_wallet into mweb [skip ci] 2024-05-22 10:00:19 -07: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
Serhii
aeff8972ea
Update electrum_wallet.dart (#1443) 2024-05-21 05:12:12 +03:00
Matthew Fosse
db6eec03c8 Merge branch 'mweb' of https://github.com/cake-tech/cake_wallet into mweb 2024-05-20 15:46:16 -07:00
Matthew Fosse
ec8b3f8476 [skip ci] add dep overrides 2024-05-20 15:45:16 -07:00
Omar Hatem
32bfc3bd92
Merge branch 'main' into mweb 2024-05-19 02:36:04 +03:00
Matthew Fosse
7173c4941e [skip ci] updates 2024-05-17 10:39:28 -07: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
Matthew Fosse
77142e3700 Merge branch 'mweb' of https://github.com/ltcmweb/cake_wallet into mweb 2024-05-17 00:06:06 -07: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
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
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
e87353c012
fix backward compatibility issue with existing electrum wallets (#1424) 2024-05-01 19:21:04 +03:00