Commit graph

48 commits

Author SHA1 Message Date
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
julian
61ad20e919 Merge remote-tracking branch 'origin/simplex' into paynyms
# Conflicts:
#	lib/utilities/enums/coin_enum.dart
2023-01-27 15:05:29 -06:00
sneurlax
4ddd4a292e do not display buy icon for non-Simplex currencies 2023-01-27 14:08:34 -06:00
julian
5de22ca858 Merge branch 'simplex' into paynyms 2023-01-26 10:16:01 -06:00
julian
7cb497f4f7 remove coin enum hasPaynymSupport getter in favor of type checking 2023-01-25 15:46:48 -06:00
julian
79db4f048c use derive path type extension method per coin 2023-01-25 13:49:14 -06:00
julian
6b08acf225 single DerivePathType enum declaration 2023-01-25 12:08:48 -06:00
sneurlax
32ca83673a Merge remote-tracking branch 'cypherstack/ui-fixes' into simplex 2023-01-24 12:29:13 -06:00
sneurlax
83da7a2680 add fiat enums for pretty names 2023-01-24 10:05:15 -06:00
julian
2259e15da8 re enable paynym 2023-01-23 15:39:19 -06:00
sneurlax
49f024b656 use Julian's isStackCoin helper func
very nice.  didn't realize I could catch an error.  learning every day round here
2023-01-20 18:26:13 -06:00
sneurlax
3c664bfef5 remove duplicate declaration 2023-01-20 17:58:31 -06:00
sneurlax
50a3815946 get coin images for coins we support 2023-01-20 17:58:18 -06:00
julian
5badeab621 temp disable partial paynym support in ui 2023-01-19 09:41:10 -06:00
sneurlax
863c59c25d add fiat enums and coins -> fiats 2023-01-11 12:03:50 -06:00
julian
a0df73551e update generated files 2023-01-10 10:02:54 -06:00
julian
f9491f8215 Merge branch 'xmr-sync' into paynyms
# Conflicts:
#	lib/utilities/enums/coin_enum.dart
2023-01-02 13:47:10 -06:00
julian
7013e99081 enable wow on desktop 2022-12-29 13:38:39 -06:00
julian
1ae4f40d63 some basic ui prep for paynym integration 2022-12-20 14:29:25 -06:00
sneurlax
046a5c9506 Merge branch 'tests/bitcoindart-particl' into tests/particl 2022-11-29 13:42:43 -06:00
sneurlax
ec399ade0a Remove testnet 2022-11-29 13:14:11 -06:00
sneurlax
c7abf3a7e8 WIP: Add particle 2022-11-29 13:11:30 -06:00
sneurlax
17f080417e Merge remote-tracking branch 'cypherstack/staging' into tests/particl 2022-11-29 11:02:20 -06:00
julian
172b3d157b wownero disable on desktop fix 2022-11-22 15:37:47 -06:00
sneurlax
3306cf8b99 expand the ternary for readability 2022-11-22 15:34:06 -06:00
sneurlax
c3a3dd3180 remove Wownero if isDesktop
or isLinux or isWindows or isMacOS, respectively
2022-11-22 15:34:01 -06:00
julian
be952d3e35 manually add bch uri fixes from 28da2b8900 2022-11-10 09:54:58 -06:00
julian
5b2d9ce141 Coin enum clean up and bug fixes 2022-10-29 09:14:59 -06:00
Marco
c0fddcd822 add litecoin support 2022-10-28 12:03:52 -06:00
likho
9baa30c1a4 REmove testnet 2022-10-26 10:52:02 +02:00
Likho
7e92be4b67 WIP: Add particle 2022-10-25 17:06:37 +02:00
julian
b6a2840368 check and update primary node if primary node is a default node that was updated 2022-10-20 11:01:25 -06:00
julian
88653f96df missing wow enum and price values 2022-09-27 10:27:51 -06:00
Marco
26b7306d22 Merge branch 'staging' into wow
# Conflicts:
#	assets/images/wownero.png
#	lib/pages/add_wallet_views/restore_wallet_view/restore_wallet_view.dart
#	lib/services/coins/coin_service.dart
#	lib/utilities/address_utils.dart
#	lib/utilities/assets.dart
#	lib/utilities/cfcolors.dart
#	lib/utilities/constants.dart
#	lib/utilities/default_nodes.dart
#	lib/utilities/enums/coin_enum.dart
#	pubspec.yaml
2022-09-27 16:16:20 +08:00
Marco
d3767ed31e more wow fixes 2022-09-27 16:09:31 +08:00
julian
8e05d4ef56 various small bch fixes, temp disable tests 2022-09-26 14:44:07 -06:00
julian
84db4ac17f enable bch 2022-09-26 14:32:53 -06:00
julian
2e965e45ae enable namecoin 2022-09-23 15:02:53 -06:00
julian
43b673ec0d dark mode testing without partial nmc+bch 2022-09-22 18:06:19 -06:00
julian
4d594e3251 a couple small Coin enum fixes and added missing coin colors 2022-09-16 13:10:32 -06:00
Likho
aba579f64e WIP: Fix bch failing tests, add testnet 2022-09-16 13:13:30 +02:00
Likho
84694fa1dd WIP: Add namecoin 2022-09-12 14:01:42 +02:00
Likho
6a418c4215 WIP : Adding name coin 2022-09-12 10:30:32 +02:00
Likho
6fab5c9976 Add images for bch 2022-09-09 12:59:40 +02:00
Likho
e365bb0c16 Update blockexplorer for bch and fix USD amount not showing in send view 2022-09-07 17:43:39 +02:00
Likho
d5b82f26f7 WIP: Add bitcoincash 2022-09-06 16:17:45 +02:00
Marco
7bd2b6b38a fixes firo but removes firo testnet 2022-08-29 21:50:02 +08:00
Marco
b41d31fd32 first commit 2022-08-26 16:11:35 +08:00