stack_wallet/lib/services/coins
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
..
bitcoin Add BIP44 derivation paths to Bitcoin Cash wallet restoration process (#330) 2023-02-02 09:24:26 -06:00
bitcoincash Add BIP44 derivation paths to Bitcoin Cash wallet restoration process (#330) 2023-02-02 09:24:26 -06:00
dogecoin Add BIP44 derivation paths to Bitcoin Cash wallet restoration process (#330) 2023-02-02 09:24:26 -06:00
epiccash add height change notify 2023-01-30 11:06:28 -06:00
firo only clear out wallet utxos on refresh 2023-01-31 19:26:23 -06:00
litecoin Add BIP44 derivation paths to Bitcoin Cash wallet restoration process (#330) 2023-02-02 09:24:26 -06:00
monero null address fix 2023-01-23 10:37:29 -06:00
namecoin Add BIP44 derivation paths to Bitcoin Cash wallet restoration process (#330) 2023-02-02 09:24:26 -06:00
particl Add BIP44 derivation paths to Bitcoin Cash wallet restoration process (#330) 2023-02-02 09:24:26 -06:00
wownero null address fix 2023-01-23 10:37:29 -06:00
coin_paynym_extension.dart disable PaynymSupport extension and use PaynymWalletInterface instead 2023-01-25 15:49:57 -06:00
coin_service.dart Merge branch 'isar-transactions' into isar_migrate 2023-01-20 15:30:48 -06:00
manager.dart disable PaynymSupport extension and use PaynymWalletInterface instead 2023-01-25 15:49:57 -06:00