stack_wallet/lib/services
sneurlax 4aec78f0ed
Add BIP44 derivation paths to Bitcoin Cash wallet restoration process (#330)
* add new derive path for bch

and make it the new default.  we currently use slip44 (coinType 145) as the default

* add default cases to DerivePathType switches now failing

* normalize DerivePathType errors

log failing derivePathType or type, as appropriate

* add default derive path case to paynym interface

* use slip44 in bch wallet

* linting

* WIP look up both bip44 and slip44 addresses

slip44 is used by default

* typo fix

* typo fix

thanks Julian

* remove print

* use slip44 addresses by default

* use AddressType unknown for bip44 derive path type

* use address type unknown in _getCurrentAddressForChain, too

* generate different keys for SLIP44 and BIP44 paths

* couple more slips

* return slip44 from addressType

* slip before bip

* revert slip44-bip44, bch's bip44->bch44

* set bch44 derive path to type unknown

do not comingle paths in later output selection by index

* handle bip44 and bch44 path addresses when handling outputs

* use bip44 by default

* typofix

* typo fix in the typo fix

yo dawg

* separate new derivation path functions into their own non-testnet block

* cleanup

* disable test

should re-enable if it can be fixed with the test mnemonic in hand

---------

Co-authored-by: julian <julian@cypherstack.com>
2023-02-02 09:24:26 -06:00
..
buy dynamics... 2023-01-31 11:09:21 -06:00
coins Add BIP44 derivation paths to Bitcoin Cash wallet restoration process (#330) 2023-02-02 09:24:26 -06:00
event_bus first commit 2022-08-26 16:11:35 +08:00
exchange can exchange check updated 2022-10-14 12:21:00 -06:00
mixins Add BIP44 derivation paths to Bitcoin Cash wallet restoration process (#330) 2023-02-02 09:24:26 -06:00
address_book_service.dart fix display bug not showing contacts without addresses 2022-11-29 10:45:48 -06:00
auto_swb_service.dart force usage of adkVersion parameter 2023-01-24 10:30:00 -06:00
debug_service.dart debugPrints that aren't needed ? 2022-12-12 17:17:02 -07:00
locale_service.dart disable unsupported device locale on windows 2022-12-29 10:48:12 -06:00
node_service.dart persist isFailover settings changes across app closes 2023-01-06 17:10:17 -06:00
notes_service.dart added another todo: check print 2022-12-19 09:29:47 -07:00
notifications_api.dart first commit 2022-08-26 16:11:35 +08:00
notifications_service.dart handle dropped mempool/blockchain transactions 2023-01-27 12:49:25 -06:00
price.dart add litecoin back to coingecko call 2022-11-30 10:43:39 -06:00
price_service.dart init prefs before doing any network calls 2022-10-18 10:36:25 -06:00
trade_notes_service.dart first commit 2022-08-26 16:11:35 +08:00
trade_sent_from_stack_service.dart first commit 2022-08-26 16:11:35 +08:00
trade_service.dart desktop all trades view 2022-11-29 13:31:48 -06:00
transaction_notification_tracker.dart handle dropped mempool/blockchain transactions 2023-01-27 12:49:25 -06:00
wallets.dart do not partially open monero wallets at the same time on startup 2023-01-02 09:13:00 -06:00
wallets_service.dart update delete wallet function to handle wallet isar data 2023-01-16 17:00:32 -06:00