Commit graph

91 commits

Author SHA1 Message Date
julian
9749443472 clean up notif node calls 2023-04-26 16:12:24 -06:00
julian
b14263eca5 clean up root node calls 2023-04-26 16:11:28 -06:00
julian
1dc2a3ce15 fix signing paynym received inputs 2023-04-26 15:12:36 -06:00
julian
a236316291 unused code cleanup 2023-04-26 13:11:24 -06:00
julian
8018a887cf paynym address generation clean up 2023-04-26 12:27:29 -06:00
julian
fea0aeea64 paynym amount fixes 2023-04-25 15:08:00 -06:00
julian
cf694d6cdd init fix 2023-04-25 11:32:57 -06:00
julian
5ad161e6a9 add initial segwit paynym support 2023-04-25 10:45:02 -06:00
julian
6fb93b00ff organize constants 2023-04-25 09:24:14 -06:00
julian
f9aac8ea36 clean up remaining add derivation stuff in btc and paynyms 2023-04-20 18:47:07 -06:00
julian
8e73e3ecba pass bip32 root node is available to save generation time 2023-04-20 12:35:08 -06:00
julian
5bf678d41a Balance class clean up 2023-04-10 12:00:23 -06:00
julian
c0105a2058 available balance fix 2023-04-09 13:07:09 -06:00
julian
72d6e636f0 Merge remote-tracking branch 'origin/staging' into ui-fixes
# Conflicts:
#	lib/services/coins/manager.dart
2023-04-07 18:56:59 -06:00
julian
839ee314a2 xpub refactor to include coin network type in generation 2023-04-07 18:44:43 -06:00
julian
25ff880280 move amount.dart file 2023-04-06 15:24:56 -06:00
julian
81c612ddd7 WIP use Amount 2023-04-05 16:06:31 -06:00
julian
c8139007e3 use new transaction nonce property 2023-03-31 10:18:51 -06:00
julian
5e5730d5a5 eth token wallet general ui and wallet selection interface 2023-03-28 16:18:11 -06:00
julian
b2b9accee1 add serialized amount string to transaction 2023-03-24 15:31:05 -06:00
julian
b1d5b7f6ea store user added token contracts in wallet hive box for now 2023-03-23 09:39:22 -06:00
julian
9fa2d4535d merge fixes 2023-03-22 09:25:21 -06:00
julian
702054ac61 Merge remote-tracking branch 'origin/staging' into add-ethereum
# Conflicts:
#	assets/svg/themed/forest/ethereum.png
#	assets/svg/themed/forest/ethereum.svg
#	lib/pages/add_wallet_views/create_or_restore_wallet_view/create_or_restore_wallet_view.dart
#	lib/pages/receive_view/addresses/edit_address_label_view.dart
#	lib/pages/receive_view/addresses/receiving_addresses_view.dart
#	lib/pages/wallet_view/sub_widgets/wallet_navigation_bar.dart
#	lib/pages/wallet_view/wallet_view.dart
#	lib/route_generator.dart
#	lib/utilities/assets.dart
#	lib/utilities/constants.dart
#	lib/widgets/animated_widgets/rotate_icon.dart
#	pubspec.lock
#	pubspec.yaml
2023-03-22 08:54:25 -06:00
julian
260771061c prepare paynym interface to use SigningData 2023-03-09 12:31:36 -06:00
julian
79dc8e5329 balance display update events to properly reflect changes done in coin control, as well as clean up of old future builders no longer used 2023-03-08 13:21:25 -06:00
julian
ea49ed32ab update balance after viewing coin control 2023-03-08 12:22:33 -06:00
julian
7319f509f0 add coin control option to mobile more menu + assets fix 2023-03-06 10:34:41 -06:00
julian
babbd75da3 use database contract data and contract management updates 2023-03-02 18:40:12 -06:00
julian
16efeea1db project structure 2023-03-01 15:52:13 -06:00
julian
e732c4f1b7 eth wallet token list fixes 2023-03-01 15:27:10 -06:00
julian
e3548c5ecc WIP wallet token management 2023-02-28 18:36:54 -06:00
julian
fcd8f01d93 convert token service to change notifier, add token cache per eth wallet, token balances, and fix routing issues 2023-02-27 10:01:06 -06:00
julian
05d14b0e42 blinding bugfix 2023-02-24 20:26:32 -06:00
julian
6bb133c552 notification tx absurd fees error fix when estimating a tx size 2023-02-22 15:12:17 -06:00
julian
8b777655ca missing inputs notification tx fix 2023-02-22 06:21:19 -06:00
julian
4bd55f6ee3 disable broken paynym connection status caching 2023-02-22 05:47:30 -06:00
julian
f76807d8a5 paynym connected bugfix and connection check caching 2023-02-21 13:13:11 -06:00
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
julian
b0c00d8ec7 db refactor and added address labels 2023-02-03 13:22:21 -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