Commit graph

26 commits

Author SHA1 Message Date
julian
774f2071b6 paynym bugfix 2023-02-15 18:39:36 -06:00
julian
76794f14b8 update bip47 lib 2023-02-15 16:16:34 -06:00
julian
279d37c06e paynym send bug fix 2023-02-10 11:51:54 -06:00
julian
9b4dee76a5 add derivationPath to Address constructor as required 2023-02-03 17:30:32 -06:00
julian
5b5ee30e41 centralized and cleaned up bip32 utils, and added mnemonic password functionality 2023-02-03 16:34:06 -06:00
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
aec33094d6 payment code lookup fix 2023-02-01 16:46:49 -06:00
julian
b64ffe91b7 paynym receiving address scanning fix 2023-02-01 11:23:09 -06:00
julian
a00340b464 fix hasConnected to return true for sent notification transactions 2023-01-31 17:46:56 -06:00
julian
19bf4c0df6 scan following/followers for paynym history 2023-01-31 17:26:10 -06:00
julian
6a0673bec5 EXTRACT FUNCTION FOR PARSING BLINDED PAYMENT CODE FROM A TRANSACTION 2023-01-31 14:40:54 -06:00
julian
95d1f3c17e check all outputs for payment codes 2023-01-31 14:09:45 -06:00
julian
2e7d55bda4 btc notification tx fix 2023-01-31 12:17:32 -06:00
julian
c06c3935ca handle fee rounding error 2023-01-31 10:37:03 -06:00
julian
3940c88e44 fix notifTx fee calculate bug 2023-01-31 10:03:16 -06:00
julian
17cbc390e4 pass in correct values 2023-01-30 08:28:54 -06:00
julian
3985674525 dirty payment code obfuscation 2023-01-27 18:18:58 -06:00
julian
b09b3d0e1f restore all paynym history function 2023-01-27 14:43:38 -06:00
julian
c7446f1946 receiving address fix 2023-01-27 14:43:00 -06:00
julian
c8783bb032 ignore duplicate unblinded codes 2023-01-27 13:10:35 -06:00
julian
47acad29a5 isar index violation error fix 2023-01-27 11:20:12 -06:00
julian
33660467b1 add notification address derivation 2023-01-27 10:22:55 -06:00
julian
9b74f52ce9 add receiving address derivation to secure storage 2023-01-26 16:17:26 -06:00
julian
9cc0d74b16 check paynym receiving addresses based on payment code notification tx history 2023-01-26 15:25:53 -06:00
julian
828c301af7 mobile paynym send flow implemented 2023-01-26 12:16:38 -06:00
julian
fb3f430edc disable PaynymSupport extension and use PaynymWalletInterface instead 2023-01-25 15:49:57 -06:00
Renamed from lib/services/mixins/paynym_support.dart (Browse further)