stack_wallet/lib/utilities
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
..
enums Add BIP44 derivation paths to Bitcoin Cash wallet restoration process (#330) 2023-02-02 09:24:26 -06:00
theme desktop exchange toggle color fix 2023-01-25 16:48:50 -07:00
address_utils.dart add optional prefix param to address to script conversion 2023-01-16 09:17:32 -06:00
assets.dart add paynym bot image background 2023-01-31 11:35:58 -06:00
barcode_scanner_interface.dart first commit 2022-08-26 16:11:35 +08:00
biometrics.dart debugPrints that aren't needed ? 2022-12-12 17:17:02 -07:00
bip32_utils.dart paynym clean up to use isar transaction and address upgrades 2023-01-23 12:19:13 -06:00
bip47_utils.dart modify bip47 utils 2023-01-31 16:21:09 -06:00
block_explorers.dart Remove testnet 2022-11-29 13:14:11 -06:00
clipboard_interface.dart first commit 2022-08-26 16:11:35 +08:00
constants.dart Merge remote-tracking branch 'cypherstack/ui-fixes' into simplex 2023-01-24 12:29:13 -06:00
custom_text_selection_controls.dart override paste in first text field on mnemonic restore form 2022-08-26 10:38:17 -06:00
db_version_migration.dart migrate bugfix 2023-01-23 10:37:27 -06:00
default_nodes.dart Merge branch 'isar-transactions' into isar_migrate 2023-01-20 15:30:48 -06:00
delete_everything.dart add delete all functionality for IOS 2022-10-11 14:45:11 -06:00
desktop_password_service.dart update to versioned desktop secure storage and login key blob 2023-01-26 10:02:36 -06:00
featured_paynyms.dart update default stackwallet paynym code 2023-01-30 15:38:01 -06:00
flutter_secure_storage_interface.dart dirty payment code obfuscation 2023-01-27 18:18:58 -06:00
format.dart WIP paynym home view 2022-12-21 10:17:53 -06:00
listenable_list.dart add map() functionality to listenable list 2022-09-26 12:15:24 -06:00
listenable_map.dart first commit 2022-08-26 16:11:35 +08:00
logger.dart max log message length to store in db 2023-01-16 08:34:52 -06:00
name_generator.dart first commit 2022-08-26 16:11:35 +08:00
paynym_is_api.dart paynym api slightly better error message handling 2023-01-04 08:33:54 -06:00
prefs.dart add signupEpoch to prefs 2023-01-25 11:08:05 -06:00
stack_file_system.dart add windows path 2022-12-29 10:48:12 -06:00
test_epic_box_connection.dart epic node changes and fixes 2022-12-12 15:59:06 -06:00
test_monero_node_connection.dart format sha1 string 2022-11-08 11:41:12 -06:00
text_styles.dart paynym mobile ui sizing changes 2023-02-01 15:02:41 -06:00
util.dart add paynym share 2023-02-01 10:08:30 -06:00