Commit graph

378 commits

Author SHA1 Message Date
Matthew Fosse
7874675edd [skip ci] undo some changes 2024-10-24 09:00:20 -07:00
Matthew Fosse
7b276a3bc0 catch electrum call errors 2024-10-23 13:30:28 -07:00
Matthew Fosse
da136425c3 merge main [skip ci] 2024-10-23 10:39:43 -07:00
Konstantin Ullrich
68926c0a33
Cw 679 add ledger litecoin support (#1565)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
* Add Litecoin Hardware Wallet Creation

* Add Litecoin Hardware Wallet Creation

* Fix Bitcoin not sending on Ledger

* Fixes to sending LTC using Ledger

* CW-679 Fix merge conflicts

* CW-679 Fix merge conflicts

* CW-679 Minor fixes

* CW-679 Add derivation Path of change address

* ledger flutter plus refactoring

* ledger flutter plus refactoring

* ledger flutter plus refactoring

* Ups :|

* Ups :| I forgot USB

* Handle BT Off

* Fix Issue with A14 and USB

* Small Ledger Quality of life improvements

* Small Ledger Quality of life improvements

* Small Ledger Quality of life improvements

* Small Ledger Quality of life improvements

* Small Ledger Quality of life improvements

* Small Ledger Quality of life improvements

* Small Ledger Quality of life improvements

* Pls work

* Pls work

* Pls work

* Pls work

* Fix overpopulation

* Fix ble device detection and support for Stax and Flex

* clean up pubspec

* clean up

* MWeb merge fix

* MWeb merge fix

* Fix Merge conflicts

* Fix Requested changes
2024-10-23 18:38:31 +03:00
fossephate
6e441f48e6 confirmation fixes 2024-10-22 14:02:16 -07:00
fossephate
7f9e4a2d07 [skip ci] add export mweb logs screen 2024-10-22 09:58:57 -07:00
fossephate
5967cf54d1 [skip-ci] undo unnecessary changes 2024-10-22 09:11:24 -07:00
fossephate
3c2d1e46b6 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into mweb_enhancements_4 2024-10-22 09:05:58 -07:00
Omar Hatem
3898208a6a
fix send all (#1766)
* shouldn't matter, but still investigating why this fixes it

* got it, but this change is just for consistency [skip ci]
2024-10-22 16:46:25 +03:00
Matthew Fosse
dddb54dcea [skip-ci] undo fix that didn't work 2024-10-21 17:47:40 -07:00
Matthew Fosse
139bb329dc potential send-all fix 2024-10-21 13:18:25 -07:00
Matthew Fosse
91998d452a [skip-ci] show mweb confirmations, show last mweb balance while syncing 2024-10-21 09:18:31 -07:00
Matthew Fosse
239adc2dcc Merge branch 'main' of https://github.com/cake-tech/cake_wallet into mweb-bg-sync-2 [skip-ci] 2024-10-21 08:53:36 -07:00
Omar Hatem
34166c3a11
v4.20.0 (#1759)
* new version

* fix android manifest [skip ci]

* fix sp scanning [skip ci]
2024-10-21 13:03:53 +03:00
Matthew Fosse
50825a62c1
Mweb enhancements 3 (#1744)
* version 4.20.0

* update build numbers

* UI updates and script fix for ios bundle identifier

* disable mweb for desktop

* change hardcoded ltc server ip address
electrum connection enhancement

* MWEB enhancements 2.0 (#1735)

* additional logging and minor fixes

* additional logging and minor fixes

* addresses pt.1

* Allow Wallet Group Names to be the same as Wallet Names (#1730)

* fix: Issues with imaging

* fix: Allow group names to be the same as wallet names

* fix: Bug with wallet grouping when a wallet is minimized

* fix: Bug with wallet grouping when a wallet is minimized

* logs of fixes and experimental changes, close wallet before opening next

* save

* fix icon

* fixes

* [skip ci] updates

* [skip ci] updates

* updates

* minor optimizations

* fix for when switching between wallets

* [skip ci] updates

* [skip ci] updates

* Update cw_bitcoin/lib/litecoin_wallet.dart

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

* Update cw_bitcoin/lib/litecoin_wallet.dart

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

* mobx

* mostly logging

* stream fix pt.1 [skip ci]

* updates

* some fixes and enhancements

* [skip ci] minor

* potential partial fix for streamsink closed

* fix stream sink closed errors

* fix mweb logo colors

* save

* minor enhancements [skip ci]

* save

* experimental

* minor

* minor [skip ci]

---------

Co-authored-by: David Adegoke <64401859+Blazebrain@users.noreply.github.com>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>

* fix menu list removing from original list

* detach sync status from mwebsyncstatus

* minor

* keep sync status in sync where necessary

* minor

* wip

* appears to work?

* updates

* prevent mwebd from submitting non mweb transactions

* fix unspent coins info not persisting for mweb coins + other minor fixes

* [skip ci] minor

* Polish MWEB card UI

* make sure current chain tip is updated correctly [skip ci]

* [skip ci] review fixes

* [skip ci] detect mweb outputs more thoroughly (fix peg-in commit error)

* fix change address on send ui

* fix qr code scan issue

* get segwit address for pegout even if mweb is selected on the receive screen [skip ci]

* - Fix adding nodes twice
- Fix mempool API parsing error

* (potentially) fix duplicate tx history bug

* [skip ci] fix bc1 address

* don't show contacts prompt on pegin/out + potential unconfirmed balance fixes

* [skip ci] minor cleanup

* fix mweb input detection

* fix showing mweb address for non-mweb transactions

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
Co-authored-by: David Adegoke <64401859+Blazebrain@users.noreply.github.com>
Co-authored-by: tuxpizza <tuxsudo@tux.pizza>
2024-10-19 03:05:48 +03:00
Rafael
7faca38cfa
fix: sp input calc (#1756) 2024-10-19 02:24:15 +03:00
Omar Hatem
ebe8c65407
Peg in and peg out flow (#1745)
* version 4.20.0

* update build numbers

* UI updates and script fix for ios bundle identifier

* disable mweb for desktop

* change hardcoded ltc server ip address
electrum connection enhancement

* additional logging and minor fixes

* additional logging and minor fixes

* addresses pt.1

* logs of fixes and experimental changes, close wallet before opening next

* save

* fix icon

* fixes

* [skip ci] updates

* [skip ci] updates

* updates

* minor optimizations

* fix for when switching between wallets

* [skip ci] updates

* [skip ci] updates

* Update cw_bitcoin/lib/litecoin_wallet.dart

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

* Update cw_bitcoin/lib/litecoin_wallet.dart

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

* mobx

* mostly logging

* stream fix pt.1 [skip ci]

* updates

* some fixes and enhancements

* [skip ci] minor

* potential partial fix for streamsink closed

* fix stream sink closed errors

* fix mweb logo colors

* add initial whitelisting for coin types on send screen

* MWEB enhancements 2.0 (#1735)

* additional logging and minor fixes

* additional logging and minor fixes

* addresses pt.1

* Allow Wallet Group Names to be the same as Wallet Names (#1730)

* fix: Issues with imaging

* fix: Allow group names to be the same as wallet names

* fix: Bug with wallet grouping when a wallet is minimized

* fix: Bug with wallet grouping when a wallet is minimized

* logs of fixes and experimental changes, close wallet before opening next

* save

* fix icon

* fixes

* [skip ci] updates

* [skip ci] updates

* updates

* minor optimizations

* fix for when switching between wallets

* [skip ci] updates

* [skip ci] updates

* Update cw_bitcoin/lib/litecoin_wallet.dart

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

* Update cw_bitcoin/lib/litecoin_wallet.dart

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

* mobx

* mostly logging

* stream fix pt.1 [skip ci]

* updates

* some fixes and enhancements

* [skip ci] minor

* potential partial fix for streamsink closed

* fix stream sink closed errors

* fix mweb logo colors

* save

* minor enhancements [skip ci]

* save

* experimental

* minor

* minor [skip ci]

---------

Co-authored-by: David Adegoke <64401859+Blazebrain@users.noreply.github.com>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>

* fix menu list removing from original list

* handle pegin and pegout

* fix text color

* fix import

* pegin/out button ui updates

* update spacing + tx creation fix

* add correct args for link view model [skip ci]

---------

Co-authored-by: Matthew Fosse <matt@fosse.co>
Co-authored-by: fossephate <matt.cfosse@gmail.com>
Co-authored-by: David Adegoke <64401859+Blazebrain@users.noreply.github.com>
2024-10-15 00:28:38 +03:00
Omar Hatem
380f7653b2
V4.20.0 rc2 (#1727)
* version 4.20.0

* update build numbers

* UI updates and script fix for ios bundle identifier

* disable mweb for desktop

* change hardcoded ltc server ip address
electrum connection enhancement

* MWEB enhancements 2.0 (#1735)

* additional logging and minor fixes

* additional logging and minor fixes

* addresses pt.1

* Allow Wallet Group Names to be the same as Wallet Names (#1730)

* fix: Issues with imaging

* fix: Allow group names to be the same as wallet names

* fix: Bug with wallet grouping when a wallet is minimized

* fix: Bug with wallet grouping when a wallet is minimized

* logs of fixes and experimental changes, close wallet before opening next

* save

* fix icon

* fixes

* [skip ci] updates

* [skip ci] updates

* updates

* minor optimizations

* fix for when switching between wallets

* [skip ci] updates

* [skip ci] updates

* Update cw_bitcoin/lib/litecoin_wallet.dart

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

* Update cw_bitcoin/lib/litecoin_wallet.dart

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

* mobx

* mostly logging

* stream fix pt.1 [skip ci]

* updates

* some fixes and enhancements

* [skip ci] minor

* potential partial fix for streamsink closed

* fix stream sink closed errors

* fix mweb logo colors

* save

* minor enhancements [skip ci]

* save

* experimental

* minor

* minor [skip ci]

---------

Co-authored-by: David Adegoke <64401859+Blazebrain@users.noreply.github.com>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>

* fix menu list removing from original list

---------

Co-authored-by: Matthew Fosse <matt@fosse.co>
Co-authored-by: David Adegoke <64401859+Blazebrain@users.noreply.github.com>
2024-10-13 02:13:52 +03:00
Rafael
8acf8bdfb2
feat: add onError exception (#1743)
Some checks failed
Cache Dependencies / test (push) Has been cancelled
2024-10-10 17:10:12 +03:00
Matthew Fosse
37b822b7f5
Mweb enhancements (#1715)
* node peer enhancement, delay mweb address generation, increase logging

* prevent unnecessary sync status changes if we can't connect to the ltc node

* handle potential errors

* set nodeUri to null for testing

* [skip ci] redo good changes

* [skip ci] draft

* [skip ci] minor

* [skip ci] cleanup

* [skip ci] minor

* [skip ci] minor

* [skip ci] localization

* [skip ci] save

* [skip ci] wip

* use proxy layer

* ui

* minor changes
Add ToDos for later

* fixes

* [skip ci] minor

* [skip ci] minor

* [skip ci] ui

* handle case where there are no addresses with txcount > 0

* comment out pegin button

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-10-05 03:30:52 +03:00
Omar Hatem
6dba73a1d5
Generic fixes (#1716)
Some checks failed
Cache Dependencies / test (push) Has been cancelled
* reset brightness after using

* set default qr to auto detect

* minor safety enhancement

* close socket after checking connectivity

* fix incorrect parent exception class

* pump medium and fast priorities even if they are equal to slow

* Add Ton to exchange

* fix silent payments
add Seth bitcoin node

* deselect quantex
add seth node for existing users

* fix node uri
2024-10-04 23:00:36 +03:00
Serhii
3348213e39
fix min fee not met exception (#1726) 2024-10-04 19:38:07 +03:00
fossephate
91ffe6c18f Merge branch 'main' of https://github.com/cake-tech/cake_wallet into mweb-bg-sync-2 2024-09-30 08:57:27 -07:00
cyan
f8b0c0ad2a
CW-611-Refactor-Address-Handling (#1630)
* subaddress fix

* fix subaddress generation

* rewrite usedAddresses for xmr and wow

* [skip ci] remove print statements

* refactor address handling

* do not remove manual addresses, just mark them

* monero display latest address on receive page when autogenerate is enabled [skip ci]

* WIP subaddresses, hidden addresses, and UI improvements for monero

* update configure script

* fix subaddress generation, display latest address

* Update lib/core/wallet_loading_service.dart

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

* Exclude manually created addresses

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

* don't call .save function multiple times

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

* - revert usedAddress functinality
- add mutex to prevent crashes
- fix UI flashing in tx screen
- fixes from comments

* account index fixes
added code to wownero
code comment

* - added subaddress index
- fixed received count also accounting for change (we don't want that)
- fix bad state: no element
- fix search
- fix automatic generation

* prevent crashes by acquiring mutex before setting the pointer

* - fix ttDetails generation in larger/restored wallets
- show manual add icon in monero/wownero even when autogeneration is enabled
- disable colors on non-debug builds
- cache getAddress call in xmr/wow
[skip ci]

* fix: silent payment error in address setter
enable fancy new features only for xmr / wow

* refresh subaddress list, when we add new address
fix manual addresses marking

* add toggle to hide and show address

* update transaction details after restore

* show only one address in address book for xmr, wow and haven

* fix address book
reset address only when autogenerate is on

* enable isEnabledAutoGenerateSubaddress on new wallets

* hide addresses after exchange only for XMR and WOW

* fix: bad-state no element

* Update cw_monero/lib/monero_wallet_addresses.dart

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

* Update cw_monero/lib/monero_wallet_addresses.dart

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

* improvements to performance

* 0, 0 -> accountIndex, addressIndex

* make constant variables final

* Update cw_wownero/lib/wownero_wallet_addresses.dart [skip ci]

* Update cw_wownero/lib/wownero_wallet_addresses.dart [skip ci]

* Update cw_monero/lib/monero_wallet.dart [skip ci]

* fix potential exception

* fix after removing late

* remove orElse, replaced it with a try catch block.
fix strings

* fix valid seed function

* fix null check error [skip ci]

* fix updateSubaddressList for wow and haven

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-09-28 05:38:23 +03:00
Matthew Fosse
62e0c2a592
litecoin mweb support (#1455)
* Fix stub creation

* Generate MWEB addresses

* Fix mweb address derivation

* Use camel-case

* Show utxos in tx list

* A few fixes

* Add spent processing

* Update balance

* Balance fixes

* Update address records

* Get rid of debounce hack

* Get sending up to the confirmation box

* Fee estimation

* Stop the daemon if plugin is unloaded

* Normal fee for non-mweb txns

* Fix fee estimation for send all

* Don't hash mweb addresses

* More fee fixes

* Broadcast mweb

* Remove test files

* One more

* Confirm sent txns

* Couple of fixes

* Resign inputs after mweb create

* Some more fixes

* Update balance after sending

* Correctly update address records

* Update confs

* [skip ci] updates

* [skip ci] add dep overrides

* working

* small fix

* merge fixes [skip ci]

* merge fixes [skip ci]

* [skip ci] minor fixes

* silent payment fixes [skip ci]

* updates [skip ci]

* save [skip ci]

* use mwebutxos box

* [skip ci] lots of fixes, still testing

* add rescan from height feature and test workflow build

* install go

* use sudo

* correct package name

* move building mweb higher for faster testing

* install fixes

* install later version of go

* go fixes

* testing

* testing

* testing

* testing

* testing

* should workgit add .github/workflows/pr_test_build.yml

* ???

* ??? pt.2

* should work, for real this time

* fix tx history not persisting + update build_mwebd script

* updates

* fix some rescan and address gen issues

* save [skip ci]

* fix unconfirmed balance not updating when receiving

* unspent coins / coin control fixes

* coin control fixes

* address balance and txCount fixes, try/catch electrum call

* fix txCount for addresses

* save [skip ci]

* potential fixes

* minor fix

* minor fix - 2

* sync status fixes, potential fix for background state issue

* workflow and script updates

* updates

* expirimental optimization

* [skip ci] minor enhancements

* workflow and script fixes

* workflow minor cleanup [skip ci]

* minor code cleanup & friendlier error message on failed tx's

* balance when sending fix

* experimental

* more experiments

* save

* updates

* coin control edge cases

* remove neutrino.db if no litecoin wallets left after deleting

* update translations

* updates

* minor fix

* [skip ci] update translations + minor fixes

* state fixes

* configure fix

* ui updates

* translation fixes

* [skip ci] addressbook updates

* fix popup

* fix popup2

* fix litecoin address book

* fix ios mwebd build script

* fix for building monero.com

* minor fix

* uncomment fix for state issues

* potential mweb sync fix (ios)

* remove print [skip ci]

* electrum stream potential fix

* fix ios build issues [skip ci]

* connection reliability updates, update kotlin code to match swift code, minor electrum error handling

* dep fixes

* minor fix

* more merge fixes

* bitcoin_flutter removal fixes

* [skip ci] fix always scan setting, swift updates

* updates

* fixes

* small fix

* small fix

* fix

* dart:convert != package:convert

* change address fixes

* update bitcoin_base to fix mweb address program checking

* fix ios xcode project [skip ci]

* updates

* more fixes

* more fixes

* ensure we don't initialize mweb until we really have to

* fix regression

* improve mweb reliability

* [skip ci] wip adress generation

* wip

* wip

* [skip ci] wip

* updates [skip ci]

* ios fixes

* fix workflows + ios fix

* test old mweb version

* update go version and mwebd hash

* review updates pt.1

* Update cw_bitcoin/lib/litecoin_wallet.dart

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

* remove non-litecoin address types regex [skip ci]

* more minor fixes

* remove duplicate [skip ci]

* Update lib/store/settings_store.dart

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

* script updates, swap params on createLitecoinWalletService

* topup fix

* [skip ci] wip

* [skip ci] testing

* [skip ci] file didn't get saved

* more address generation reliability fixes

* [skip ci] minor

* minor code cleanup

* hopefully prevents send issue

* [skip ci] wip address changes

* [skip ci] save

* save mweb addresses, auto-restart sync process if it gets stuck [skip ci]

* address generation issues mostly resolved

* more performance fixes

* [skip ci]

* this should maybe be refactored, pt.1

* separate mweb balances, pt.2

* [skip ci] save

* add translations [skip ci]

* fix sending with mweb amounts

* works for simple mweb-mweb case, further testing needed

* found an edge case

* [skip ci] make failed broadcast error message less serious

* minor

* capture all grpc errors and much better error handling overall

* [skip ci] minor

* prevent transactions with < 6 confirmations from being used + hide mweb balances if mweb is off

* fix

* merge fixes pt.1 [skip ci]

* fix mweb tags

* fix

* [skip ci] fix tag spacing

* fix transaction history not showing up

* fix mweb crash on non-fully deleted mweb cache, sync status ETA, other connection fixes

* [skip ci] minor code cleanup

* [skip ci] minor code cleanup

* additional cleanup

* silent payments eta fixes and updates

* revert sync eta changes into separate pr

* [skip ci] minor

* [skip ci] minor

* revert sync status title

* review fixes, additional cleanup

* [skip ci] minor

* [skip ci] minor

* [skip ci] minor

* trigger build

* review fixes, pt.2

* check if still processing utxos before updating sync status [skip ci]

* [skip ci] minor

* balance fix

* minor

* minor

* [skip ci] minor

* [skip ci] fix test net btc

* don't use mwebd for non-mweb tx's

* [skip ci] minor cleanup

* don't show all 1000+ mweb addresses on receive page

* minor cleanup + additional logging

---------

Co-authored-by: Hector Chu <hectorchu@gmail.com>
Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
Co-authored-by: Czarek Nakamoto <cyjan@mrcyjanek.net>
2024-09-28 05:22:25 +03:00
Serhii
4c55d96647
reset address balances before updating unspents (#1707) 2024-09-28 02:02:37 +03:00
Omar Hatem
11584844d5
Verify seed phrase (#1700)
* add confirm passphrase field and show/hide passphrase feature

* change error message
allow force appending translation to overwrite

* minor fix for showing frozen balance correctly [skip ci]

* remove debug prints [skip ci]
2024-09-26 04:51:38 +03:00
fossephate
69bef9d28b Merge branch 'mweb' of https://github.com/cake-tech/cake_wallet into mweb-bg-sync-2 2024-09-25 12:41:44 -07:00
fossephate
dcac601b8f [skip ci] minor cleanup 2024-09-25 10:42:42 -07:00
fossephate
48061ea3a1 don't use mwebd for non-mweb tx's 2024-09-25 10:36:37 -07:00
fossephate
1de4ccd83d [skip ci] fix test net btc 2024-09-25 09:19:10 -07:00
fossephate
6f2cb4dff5 [skip ci] minor 2024-09-24 16:52:44 -07:00
fossephate
d040793dd5 minor 2024-09-24 16:31:33 -07:00
fossephate
55d8b96bc8 [skip ci] minor 2024-09-24 16:19:45 -07:00
fossephate
efa8324b53 check if still processing utxos before updating sync status [skip ci] 2024-09-24 16:05:58 -07:00
fossephate
ea929982c3 review fixes, pt.2 2024-09-24 15:56:03 -07:00
fossephate
29164b2608 trigger build 2024-09-24 15:10:14 -07:00
fossephate
5cb8c4f406 [skip ci] minor 2024-09-24 14:22:58 -07:00
fossephate
4e6f0dd3aa Merge branch 'mweb' of https://github.com/cake-tech/cake_wallet into mweb-bg-sync-2 2024-09-24 13:39:44 -07:00
fossephate
967e33329e [skip ci] minor 2024-09-24 13:38:49 -07:00
fossephate
31affa69ea [skip ci] minor 2024-09-24 13:20:04 -07:00
fossephate
840287c72d review fixes, additional cleanup 2024-09-24 12:57:12 -07:00
fossephate
948eb64121 Merge branch 'mweb' of https://github.com/cake-tech/cake_wallet into mweb-bg-sync-2 2024-09-24 12:16:28 -07:00
fossephate
633d5242c2 [skip ci] minor 2024-09-23 17:20:46 -07:00
fossephate
ea1d4cbb41 [skip ci] minor 2024-09-23 17:20:17 -07:00
fossephate
af2f0e2abe Merge branch 'main' of https://github.com/cake-tech/cake_wallet into mweb 2024-09-23 17:00:22 -07:00
fossephate
7435db03a8 silent payments eta fixes and updates 2024-09-23 16:18:38 -07:00
fossephate
371fb8ce86 [skip ci] minor code cleanup 2024-09-23 14:29:33 -07:00
fossephate
dbc2fb3fb1 [skip ci] minor code cleanup 2024-09-23 14:29:13 -07:00
fossephate
e48cd0df41 fix mweb crash on non-fully deleted mweb cache, sync status ETA, other connection fixes 2024-09-23 14:26:56 -07:00
Matthew Fosse
8034d9111e Merge branch 'mweb' of https://github.com/cake-tech/cake_wallet into mweb-bg-sync-2 2024-09-23 10:12:17 -07:00
Matthew Fosse
8d7bad37f4 fix transaction history not showing up 2024-09-23 10:07:39 -07:00
cyan
bab45a9e36
add missing error messages (#1696) 2024-09-23 19:18:21 +03:00
Matthew Fosse
491ea452d2 Merge branch 'mweb' of https://github.com/cake-tech/cake_wallet into mweb-bg-sync-2 2024-09-23 08:41:55 -07:00
Matthew Fosse
69e254732d Merge branch 'main' of https://github.com/cake-tech/cake_wallet into mweb 2024-09-23 08:41:25 -07:00
tuxsudo
6592b7a3c5
Generic enhancements (#1668)
* Add more choices for pin code required duration

* Fix spacing in Cake Features

* Update Cake Features cards

* Update Cake Pay image

* Add NanoGPT image

* Update Sign/Verify strings

* Update more flags

* update moonpay currency name

* Update more icons

* Add friendly message for less than minimum fee

* fix translation [skip ci]

* Fix icon theming and add Telegram link

* Fix color issue for restore screen

* rename matic poly to pol

* minor potential fix [skip ci]

* minor fix [skip ci]

* Update analysis_options.yaml

* fix translations

* fix translation

* revert regex changes

* Update bitcoin_cash_electrum_server_list.yml

* Update address_validator.dart

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-09-23 17:10:40 +03:00
fossephate
fb6cea2df7 fix 2024-09-22 22:29:37 -07:00
Matthew Fosse
b9961cfce3 Merge branch 'mweb' of https://github.com/cake-tech/cake_wallet into mweb-bg-sync-2 2024-09-20 19:21:06 -07:00
Matthew Fosse
4f046fe585 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into mweb 2024-09-20 19:19:53 -07:00
Serhii
32e119e24f
rbf-fixes-recomended-fee-rate (#1684)
* rbf fixes

* Revert "rbf fixes"

* fix replaced transactions

* re-format electrum_wallet.dart [skip ci]

* minor fixes [skip ci]

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-09-20 23:57:43 +03:00
Matthew Fosse
f2ddbcf740 merge fixes pt.1 [skip ci] 2024-09-20 11:56:04 -07:00
David Adegoke
4e2e5e708c
CW-580: BIP39 Wallets Shared Seed Implementation: "One Seed - Multiple Wallets" (#1307)
* feat: Implement creating new BIP39 wallet with same seed used for other owned BIP39 wallets

* feat: Use same seed for BIP39 Wallets

* Update pre_existing_seeds_page.dart

* Feat: BIP39 Same seed wallet creation using the Common Parent Wallet Strategy

* feat: Finalize implementing preexisting seeds

* feat: Implement shared bip39 wallet seed for Bitcoin wallet type

* feat: Implement shared bip39 wallet seed for Litecoin wallet type

* feat: Implement shared bip39 wallet seed for BitcoinCash wallet type

* feat: Implement shared bip39 wallet seed for Nano wallet type, although disabled entry for now

* fix: Remove non bip39 seed wallet type from listing

* feat: Implement grouped and single wallets lists in wallets listing page and implement editing and saving group names

* fix: Issue where the ontap always references the leadwallet, also make shared seed wallets section header only display when the multi wallet groups list is not empty

* fix: Add translation and adjust the way the groups display

* feat: Activate bip39 as an option for creating Nano wallet types

* fix: Handle edgecase with creating new wallet with group address, handle case where only bip39 derivation type is allowed with child wallets, activate nano wallet type for shared seed

* chore: Modify the UI to fit adjustment made on figma

* fix: Disposed box triggering error in hive and causing wallet list view to display error

* fix: Switch wallet groups title in wallets list page and also fix issue with renaming groups

* Update lib/reactions/bip39_wallet_utils.dart [skip ci]

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

* Update lib/router.dart [skip ci]

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

* fix: Review fixes: Combine New Wallet Page Type arguments into a single model

* fix: Review fixes: Add failure guard when fetching mnemonic for selected wallet in pre-existing wallets page

* fix: Review fixes - Add loading indicator when mnemonic is being selected for wallet

* fix: Review fixes - Modify variable name to avoid clashes

* fix: Review fixes - Access WalletManager through dependency injection instead of service location

* fix: Review fixes - Add testnet to convertWalletInfoToWalletlistItem function, and adjust according where used

* fix: Review fixes - Add walletPassword to nano, tron and wownero wallets and confirm it is properly handled as it should be

* fix: Remove leadWallet, modify filtering flow to reflect this and not depend on leadWallet, and adjust privacy settings

* fix: Review Fixes - Modify restore flow to reflect current nature of bip39 as default for majority of wallet types

* fix: QA Fixes - Modify preexisting page to display wallet group names if set, and display them in incremental order if not set

* fix: Add wallet group description page and rename pre-existingseeds page to wallet group display page

* fix: Product Fix - Rename pre-existing seeds file name to wallet group display filename

* fix: Product fix - Separate multiwallets groups from single wallets and display separately

* fix - Product Fix - Add empty state for wallet group listing when creating a new wallet, adjust CTAs across buttons relating to the flow also

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
2024-09-20 21:25:08 +03:00
Matthew Fosse
fc51847915 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into mweb [skip ci] untested 2024-09-20 09:29:53 -07:00
Rafael
3a391f10a3
Sp enhancements (#1672)
* fix: enhance regex, fix multiline

* feat: improve scan msg, fix missing txs, use date api

* feat: node fixes, enhance send modal, TX list tag & filter, refactors

* fix: continuous scanning

* fix: missing close

* fix: resubscribe tweaks

* feat: use mempool api setting toggle

* handle any failure of height API and fallback to the old method [skip ci]

---------

Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
2024-09-20 17:24:25 +03:00
Matthew Fosse
03a3fb8d74 fix 2024-09-19 17:16:17 -07:00
Matthew Fosse
7ee8949a71 prevent transactions with < 6 confirmations from being used + hide mweb balances if mweb is off 2024-09-19 17:15:37 -07:00
Matthew Fosse
618a2c2296 Merge branch 'mweb' of https://github.com/cake-tech/cake_wallet into mweb-bg-sync-2 2024-09-19 15:40:39 -07:00
Matthew Fosse
8d4443e504 capture all grpc errors and much better error handling overall 2024-09-19 15:35:47 -07:00
Matthew Fosse
c42928e932 round robin 2.0 2024-09-18 11:32:01 -07:00
Matthew Fosse
82757b31cb Merge branch 'mweb' of https://github.com/cake-tech/cake_wallet into mweb-bg-sync-2 2024-09-18 10:28:03 -07:00
Matthew Fosse
34d5d96cc7 [skip ci] Merge branch 'main' of https://github.com/cake-tech/cake_wallet into mweb 2024-09-18 10:27:43 -07:00
Matthew Fosse
4411f7bea6 updates - slow when syncing multiple wallets 2024-09-17 15:56:46 -07:00
Serhii
c6a4c69084
CW-719 Transaction dates shows incorrectly (#1685)
Some checks are pending
Cache Dependencies / test (push) Waiting to run
* ignore 0 height

* fix date format
2024-09-18 01:50:31 +03:00
Matthew Fosse
4f9d602ee4 working! 2024-09-17 12:35:25 -07:00
Matthew Fosse
35c4f3e2f1 save 2024-09-16 13:46:48 -07:00
Matthew Fosse
e51d6ea8c0 Merge branch 'mweb' of https://github.com/cake-tech/cake_wallet into mweb-bg-sync-2 2024-09-16 08:32:59 -07:00
Matthew Fosse
17695d1878 found an edge case 2024-09-13 13:59:10 -07:00
Matthew Fosse
4503ad5401 works for simple mweb-mweb case, further testing needed 2024-09-13 13:03:02 -07:00
Matthew Fosse
3a969acc6d fix sending with mweb amounts 2024-09-13 11:49:03 -07:00
Matthew Fosse
5c9a902b1f [skip ci] save 2024-09-12 22:53:04 -07:00
Matthew Fosse
6a4327a53b separate mweb balances, pt.2 2024-09-12 13:15:20 -07:00
Matthew Fosse
9dd696a474 this should maybe be refactored, pt.1 2024-09-12 11:36:29 -07:00
Matthew Fosse
756fb3d0e2 ui improvements, still figuring out silent payments issues 2024-09-12 10:44:44 -07:00
Matthew Fosse
cb8929173e Merge branch 'mweb' of https://github.com/cake-tech/cake_wallet into mweb-bg-sync-2 2024-09-11 20:44:58 -07:00
Matthew Fosse
ec25c2bad5 [skip ci] 2024-09-11 20:44:32 -07:00
Matthew Fosse
ce7de06c94 Merge branch 'mweb' of https://github.com/cake-tech/cake_wallet into mweb-bg-sync-2 2024-09-11 18:45:04 -07:00
Matthew Fosse
8aa95a2eb7 more performance fixes 2024-09-11 18:44:25 -07:00
Matthew Fosse
f8d76fb2e1 address generation issues mostly resolved 2024-09-11 18:17:45 -07:00
Matthew Fosse
554df09c99 save mweb addresses, auto-restart sync process if it gets stuck [skip ci] 2024-09-11 16:14:04 -07:00
Matthew Fosse
cd307bf6e8 [skip ci] save 2024-09-11 14:28:58 -07:00
Matthew Fosse
c94c10cc05 [skip ci] wip address changes 2024-09-11 14:17:06 -07:00
Matthew Fosse
f53f96c667 Merge branch 'mweb' of https://github.com/cake-tech/cake_wallet into mweb-bg-sync-2 2024-09-11 13:01:27 -07:00
Matthew Fosse
a673d3977f hopefully prevents send issue 2024-09-11 13:00:10 -07:00
Matthew Fosse
180b967c18 updates 2024-09-11 12:33:11 -07:00
Matthew Fosse
c35908cdfb Merge branch 'mweb' of https://github.com/cake-tech/cake_wallet into mweb-bg-sync-2 2024-09-11 08:51:29 -07:00
Matthew Fosse
1e73a517fd minor code cleanup 2024-09-11 08:50:50 -07:00
Matthew Fosse
2573ca6b68 [skip ci] minor 2024-09-10 15:18:20 -07:00
Matthew Fosse
2c38641d5c more address generation reliability fixes 2024-09-10 14:58:03 -07:00
Matthew Fosse
5bda80fd7d Merge branch 'mweb' of https://github.com/cake-tech/cake_wallet into mweb-bg-sync-2 2024-09-10 14:01:14 -07:00
Matthew Fosse
d8d26a00a4 Merge branch 'main' of https://github.com/cake-tech/cake_wallet into mweb 2024-09-10 14:00:56 -07:00