Commit graph

53 commits

Author SHA1 Message Date
julian
c6150b23d9 untested paynym refactor impl 2023-11-16 10:54:57 -06:00
julian
5b5908196d refactor various electrumx class names 2023-11-14 14:35:53 -06:00
julian
5ba29b7299 mostly (roughly) refactored with new wallet providers as well as using a TxData object in place of dynamic Maps 2023-11-03 13:46:55 -06:00
detherminal
95a0309b8b docs: add header to source code again 2023-05-27 00:21:16 +03:00
detherminal
ccf5e68fc6 Revert "docs: add copyright header to all source code"
This reverts commit 84ac798bb8.
2023-05-27 00:19:24 +03:00
detherminal
84ac798bb8 docs: add copyright header to all source code 2023-05-26 19:33:04 +03:00
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
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
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
16efeea1db project structure 2023-03-01 15:52:13 -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
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