Commit graph

2080 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
Diego Salazar
bd05d6dddf
Merge pull request #334 from cypherstack/paynyms
Paynyms
2023-02-01 16:25:31 -07:00
julian
aec33094d6 payment code lookup fix 2023-02-01 16:46:49 -06:00
julian
ce5586d675 extra percent notifier 2023-02-01 16:46:27 -06:00
julian
5ede544893 add wrapped exceptions to MainDB to hopefully catch stack traces 2023-02-01 16:46:01 -06:00
julian
9dc5f91a04 add logging to fee btc calc 2023-02-01 15:37:58 -06:00
julian
18db74d57d Merge remote-tracking branch 'origin/staging' into paynyms 2023-02-01 15:20:57 -06:00
julian
72cb62774c revert and modify tx size calc for two outputs 2023-02-01 15:20:49 -06:00
julian
6a07672437 paynym mobile ui sizing changes 2023-02-01 15:02:41 -06:00
Diego Salazar
f966656ac4
Merge pull request #333 from cypherstack/paynyms
Paynyms
2023-02-01 11:42:56 -07:00
julian
b64ffe91b7 paynym receiving address scanning fix 2023-02-01 11:23:09 -06:00
julian
68be62e3ef bch fetch derivation by address fix 2023-02-01 10:38:49 -06:00
julian
266a433aa3 add paynym share 2023-02-01 10:08:30 -06:00
julian
bc5dc9a5d7 simple receiving addresses list view 2023-02-01 09:30:29 -06:00
Diego Salazar
4eb495901f
Merge pull request #331 from cypherstack/paynyms
Paynyms
2023-01-31 19:39:11 -07:00
julian
eab33331fe Merge remote-tracking branch 'origin/staging' into paynyms 2023-01-31 19:31:15 -06:00
julian
588d715a61 only clear out wallet utxos on refresh 2023-01-31 19:26:23 -06:00
julian
dc2f344779 bottom nav text color change for fruit sorbet 2023-01-31 18:37:04 -06:00
julian
a05121b62e update sorbet theme images 2023-01-31 18:31:14 -06:00
julian
e5464a9c3c pop buy to wallets as well as exchange 2023-01-31 18:14:06 -06:00
julian
a00340b464 fix hasConnected to return true for sent notification transactions 2023-01-31 17:46:56 -06:00
julian
7e05abec43 show green "connected" in paynym details ui 2023-01-31 17:46:30 -06:00
julian
19bf4c0df6 scan following/followers for paynym history 2023-01-31 17:26:10 -06:00
julian
a25c03cb5c modify bip47 utils 2023-01-31 16:21:09 -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
6df782647e btc send exact value of output fix 2023-01-31 13:44:56 -06:00
Diego Salazar
1e92f96ff1
Update pubspec.yaml 2023-01-31 11:29:04 -07:00
Diego Salazar
72b823b786
Merge pull request #329 from cypherstack/paynyms
Paynyms
2023-01-31 11:28:45 -07:00
julian
2e7d55bda4 btc notification tx fix 2023-01-31 12:17:32 -06:00
julian
95ff076d3d add paynym bot image background 2023-01-31 11:35:58 -06:00
julian
e0dbdfc5b8 Merge remote-tracking branch 'origin/staging' into paynyms 2023-01-31 11:15:43 -06:00
julian
57dd566906 paynym bot head icon 2023-01-31 11:11:42 -06:00
julian
dcd7f312a5 dynamics... 2023-01-31 11:09:21 -06:00
julian
0a264a97c5 pass p2pkh change address to paynym interface 2023-01-31 10:37:53 -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
Diego Salazar
b9ce5d6d42
Merge pull request #328 from cypherstack/paynyms
"choose from stack" fixes
2023-01-31 08:59:12 -07:00
julian
69934fb871 clean up transaction list item ui state update key 2023-01-31 09:42:55 -06:00
julian
92076bf12a add image assets 2023-01-31 09:17:25 -06:00
julian
d1fe2e9206 Merge remote-tracking branch 'origin/staging' into paynyms 2023-01-31 08:42:50 -06:00
julian
bcb8f2cd41 "choose from stack" fixes 2023-01-31 08:41:40 -06:00
Diego Salazar
9f3ebb7e0f
Merge pull request #327 from cypherstack/paynyms
missing fixes
2023-01-30 15:29:13 -07:00
Diego Salazar
19789aacd3
Merge branch 'staging' into paynyms 2023-01-30 15:28:42 -07:00
Diego Salazar
83cf471b6f
Update pubspec.yaml 2023-01-30 15:03:12 -07:00
julian
fdf291630b Merge remote-tracking branch 'origin/staging' into paynyms 2023-01-30 15:41:17 -06:00
julian
2f1853ef92 update default stackwallet paynym code 2023-01-30 15:38:01 -06:00
julian
69435f4807 rename and fix text button style update bug 2023-01-30 15:34:21 -06:00
Diego Salazar
29bf67b2ce
Update pubspec.yaml 2023-01-30 14:18:45 -07:00
Diego Salazar
5252c3efff
Merge pull request #326 from cypherstack/paynyms
Paynyms
2023-01-30 14:18:09 -07:00