Commit graph

2233 commits

Author SHA1 Message Date
julian
be2a52301e clean up and QoL mods to exchange_form_state.dart 2023-02-06 09:44:23 -06:00
julian
18e089179b simplify Currency class and fixed image loading issue 2023-02-06 09:23:31 -06:00
julian
3d01ec8598 reduce size of Pair class 2023-02-06 08:43:16 -06:00
julian
10605d96a2 WIP exchange refactor and clean up 2023-02-05 17:50:40 -06:00
julian
4345a67d3f currency select function fix 2023-02-05 15:25:35 -06:00
julian
5aab115b96 form state provider fix 2023-02-05 15:11:58 -06:00
julian
1455808d7a WIP refactor exchange to use isar as cache instead of in memory using riverpod 2023-02-05 14:32:39 -06:00
julian
585a684ecc apply majestic bank api to an exchange class 2023-02-04 11:48:07 -06:00
julian
4cbf8b8cd9 refactor exchange exception 2023-02-04 11:15:42 -06:00
julian
a3b5ba5b04 majestic bank dart api impl 2023-02-04 09:16:05 -06:00
julian
d4499ac3bc firo bug fix and test update 2023-02-03 19:04:43 -06:00
julian
255020f1d8 Merge remote-tracking branch 'origin/staging' into paynyms 2023-02-03 18:54:38 -06:00
julian
5145d4fc01 query/filter bch addresses using derivation path components 2023-02-03 18:51:30 -06:00
julian
74ca8e1e07 add delete address labels and tx notes functionality (isar notes unimplemented atm) 2023-02-03 18:17:39 -06:00
julian
eb42493e4d bch derivePath bug fix 2023-02-03 18:05:19 -06:00
julian
9b4dee76a5 add derivationPath to Address constructor as required 2023-02-03 17:30:32 -06:00
julian
0c8e561995 bch constructDerivePath bug fix 2023-02-03 17:22:34 -06:00
julian
ad0059508c move wallet constructors below class declaration 2023-02-03 16:48:16 -06:00
julian
4d891e0f31 clean up 2023-02-03 16:42:27 -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
julian
7f15c1e6f4 fix share button on receiving qr generate 2023-02-03 10:26:11 -06:00
julian
19d0cb378d sort receiving addresses by lowest index first 2023-02-03 08:27:27 -06:00
Diego Salazar
a7bff0f018
121 2023-02-02 18:12:11 -07:00
Diego Salazar
7064db6b7a
Merge pull request #336 from cypherstack/paynyms
various
2023-02-02 18:11:38 -07:00
julian-CStack
ab37018642
Update test.yaml 2023-02-02 18:02:23 -06:00
Diego Salazar
fe148ff8a0
Merge branch 'staging' into paynyms 2023-02-02 15:43:20 -07:00
julian
f0a8d65b3e show sent tx immediately in history 2023-02-02 16:19:14 -06:00
julian
afc25e3f06 paynym home view app bar button icon color fix 2023-02-02 15:57:48 -06:00
julian
a781b24c5c paynym home view button icon color fix 2023-02-02 15:54:48 -06:00
julian
4ca5cf0978 ocean breeze secondary button text color fix 2023-02-02 15:54:29 -06:00
julian
97604a792f fix offline wallet creation for namecoin and particl 2023-02-02 15:48:06 -06:00
julian
5ccc868c9b update amount changed state on send view when tapping send all 2023-02-02 15:41:54 -06:00
julian
a22973cd35 WIP addresses list ui 2023-02-02 15:37:59 -06:00
julian
1d4812c5b2 pull down to refresh paynym home view on mobile 2023-02-02 14:34:35 -06:00
julian
4fbf38fd11 buy warning popup refactor for desktop style/size 2023-02-02 14:20:57 -06:00
julian
e2ee38bc83 Merge remote-tracking branch 'origin/majestic_bank' into majestic_bank
# Conflicts:
#	lib/services/exchange/majestic_bank/majestic_bank_api.dart
2023-02-02 14:20:25 -06:00
julian
3ba9f7d61b WIP majestic bank order calculate api call 2023-02-02 14:18:27 -06:00
julian
991f128416 buy warning popup refactor for desktop style/size 2023-02-02 14:07:03 -06:00
Diego Salazar
0d9066b517
Merge pull request #335 from cypherstack/paynyms
bug fixes
2023-02-02 12:19:14 -07:00
julian
8bdf0413bd majestic bank limits and rates api calls 2023-02-02 12:56:55 -06:00
julian
fca09fbe02 helper 2023-02-02 12:56:55 -06:00
julian
b504059735 WIP initial majestic bank api work 2023-02-02 12:56:55 -06:00
sneurlax
80611d1a31 use bch44 derivation if bip44 is null 2023-02-02 11:40:42 -06:00
julian
a6dae8d9e0 address overflow fix 2023-02-02 09:43:08 -06:00
julian
b2d7414cb6 merge clean up 2023-02-02 09:41:33 -06:00
julian
dc581cd4fc Merge remote-tracking branch 'origin/staging' into paynyms
# Conflicts:
#	lib/services/coins/bitcoincash/bitcoincash_wallet.dart
2023-02-02 09:29:30 -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
16d4384525 possible putAddresses index violation error during full rescan fix 2023-02-02 09:03:57 -06:00
julian
eaf8fe7094 possible epic cash address get fix 2023-02-02 08:48:03 -06:00