Commit graph

1804 commits

Author SHA1 Message Date
julian
66e65736a5 filter unsupported paired currency exception 2023-02-21 13:39:20 -06:00
julian
9a222544ba added new changenow custom exception 2023-02-21 13:29:32 -06:00
julian
cc58379f3b multi search ui fix 2023-02-21 13:15:11 -06:00
julian
f76807d8a5 paynym connected bugfix and connection check caching 2023-02-21 13:13:11 -06:00
likho
928f0e4e51 When default epic server is down default to EU, if that is down do not allow TX sending 2023-02-21 18:48:59 +02:00
Diego Salazar
2917db6bd6
Merge branch 'staging' into update-epic 2023-02-18 18:38:47 -07:00
likho
719f554995 More clean up, handle epicbox config for old wallets 2023-02-17 19:44:21 +02:00
julian
5fecce54cd Merge remote-tracking branch 'origin/staging' into paynyms 2023-02-16 14:20:30 -06:00
julian
99e6d514e5 temporarily disable wownero as a receiving currency in fixed rate trades 2023-02-16 11:40:41 -06:00
julian
196f377228 WIP majestic bank trade status fixes 2023-02-16 09:05:46 -06:00
likho
a28f299c50 Revert to default epicbox node 2023-02-16 16:48:06 +02:00
julian
755115b848 temporarily force refresh bip47 notification tx history on txns refresh 2023-02-16 08:05:41 -06:00
likho
6645febe36 Fix cancel error 2023-02-16 13:41:09 +02:00
julian
774f2071b6 paynym bugfix 2023-02-15 18:39:36 -06:00
julian
7e2276394c ensure utxos are fetched after refreshing transactions to ensure bip47 notification utxos are not included in balances 2023-02-15 17:26:44 -06:00
julian
76794f14b8 update bip47 lib 2023-02-15 16:16:34 -06:00
ryleedavis
a14c9dd878 resync button color for oled theme 2023-02-15 10:41:51 -07:00
Likho
4077af77d8
Merge branch 'staging' into update-epic 2023-02-15 19:31:59 +02:00
ryleedavis
a195a24bce case for coin images without svgs + make svg images bigger 2023-02-14 14:43:10 -07:00
ryleedavis
5477f041f8 adjust coin image size for mobile 2023-02-14 14:30:18 -07:00
ryleedavis
ce98482705 fruit sorbet coin images 2023-02-14 14:29:41 -07:00
ryleedavis
c5e3a0ddb6 persona-easy/incognito pngs for fruitSorbet and oceanBreeze theme 2023-02-14 12:59:34 -07:00
ryleedavis
c37ec4fb81 fruit and ocean easy/incognito pngs + ocean stack img 2023-02-14 11:33:11 -07:00
julian-CStack
057a233604
Merge branch 'staging' into ui-fixes 2023-02-13 17:31:58 -06:00
julian
fbeb7425cb Merge remote-tracking branch 'origin/ui-fixes' into paynyms 2023-02-13 17:24:04 -06:00
julian
1c812b0bf2 extra firo logging 2023-02-13 17:22:47 -06:00
sneurlax
2bee017cb8 Merge branch 'null-mnemonic-passphrase' into paynyms 2023-02-13 17:02:22 -06:00
ryleedavis
f59f9156bd persona-easy and incognito for forest 2023-02-13 16:00:26 -07:00
sneurlax
efbfe4def7 apply null mnemonic passphrase error log to other relevant coins 2023-02-13 16:53:28 -06:00
sneurlax
8ecf6e988a throw error on null bch mnemonic passphrase 2023-02-13 16:52:28 -06:00
sneurlax
00c99cbcc5 Merge remote-tracking branch 'cypherstack/paynyms' into fix/firo 2023-02-13 16:39:06 -06:00
ryleedavis
d5847ae25e move persona-easy/incognito to theme files 2023-02-13 15:24:09 -07:00
ryleedavis
9cc367834e show forest background fix 2023-02-13 16:09:12 -06:00
julian
e50855a4c9 added proper icons for biometrics button 2023-02-13 16:01:18 -06:00
julian
903b39c454 semi graceful paynym.is call failure during btc recover 2023-02-13 15:29:12 -06:00
julian
2bf29a919e don't log full crypto_plugin commit data 2023-02-13 15:08:59 -06:00
julian
9f3ce454b5 only delete logs older than 30 days automatically 2023-02-13 15:08:38 -06:00
julian
4b1ff8fd09 added custom button key to pinpad and used it for biometrics reopen 2023-02-13 14:16:47 -06:00
julian
30ea666a63 added desktop file save logs dialog todo 2023-02-13 14:12:54 -06:00
sneurlax
7666a9383d putAddresses->updateOrPutAddresses
should solve isar unique index violation error
2023-02-13 14:02:52 -06:00
julian
4b5386236a xmr/wow loading fix when opened from fav card 2023-02-13 13:26:29 -06:00
julian
69782a1bb2 sort wallet coins alphabetically 2023-02-13 12:35:40 -06:00
julian
197a2a1f19 do not check addresses until refresh initiated 2023-02-13 12:13:30 -06:00
julian
5c7cc9932d ui layout fix 2023-02-13 11:51:45 -06:00
julian
6e5735b672 manual address entry bug fix 2023-02-13 11:49:22 -06:00
julian
aa91311cca load paired currencies directly with no pair caching 2023-02-13 11:43:35 -06:00
ryleedavis
4b4da3cdce show forest background fix 2023-02-13 09:25:45 -07:00
likho
a378ff751b Remove all things epicpost 2023-02-13 17:46:34 +02:00
likho
0ddc8080e1 Update listen for slates functionality 2023-02-13 16:49:25 +02:00
julian
dd9d59eb12 adjust maxSizeMiB for isar instances 2023-02-10 18:41:21 -06:00
julian
393418f2e7 possible memory bandaid 2023-02-10 18:38:39 -06:00
julian
af7818eb6a explicit db max size isar setting 2023-02-10 17:59:05 -06:00
ryleedavis
47fd7b2e8d Merge remote-tracking branch 'origin/paynyms' into ui-fixes 2023-02-10 14:42:12 -07:00
ryleedavis
7498068a73 file name + themed coin.png fix 2023-02-10 14:39:59 -07:00
julian
e857e28099 asset image getter fix 2023-02-10 15:27:45 -06:00
julian
3003c44005 Merge remote-tracking branch 'origin/ui-fixes' into paynyms
# Conflicts:
#	pubspec.yaml
2023-02-10 15:18:22 -06:00
julian
a75d5224e1 custom text button color 2023-02-10 15:16:32 -06:00
ryleedavis
9a1717859a forest bg + themed coin.png 2023-02-10 14:10:00 -07:00
julian
8bda6640bd mobile settings item text color update 2023-02-10 14:49:23 -06:00
julian-CStack
54dba90825
Merge branch 'staging' into ui-fixes 2023-02-10 14:22:00 -06:00
julian
24cdb0ac36 "all wallets" color fix 2023-02-10 14:17:40 -06:00
julian
d8c833548d gap fix 2023-02-10 14:06:44 -06:00
sneurlax
44074428a9 Merge branch 'staging' into ui-fixes 2023-02-10 13:55:58 -06:00
julian
d5f401132b Desktop paynym ui and some bug fixes 2023-02-10 12:07:57 -06:00
sneurlax
92062fa14a add forest text styles 2023-02-10 12:07:30 -06:00
julian
279d37c06e paynym send bug fix 2023-02-10 11:51:54 -06:00
sneurlax
81c7b9f244 Merge branch 'themescroller' into ui-fixes 2023-02-10 11:35:59 -06:00
sneurlax
23bb519874 Merge branch 'favoritefavorite' into ui-fixes 2023-02-10 11:35:39 -06:00
ryleedavis
8da63b6f3d add forest theme to background.dart 2023-02-10 09:36:15 -07:00
julian
c275f09869 WIP restore mnemonic password ui 2023-02-10 08:25:03 -06:00
julian
218017ca51 populate initial values in exchange form 2023-02-10 08:04:12 -06:00
ryleedavis
a3486b46fc mobile theme order 2023-02-09 21:32:06 -07:00
sneurlax
8cd431a71c key favorite cards
and what Julian's already done automagically reorders the cards according to their order in the list in the edit view

so you can list which favorite is your favorite
2023-02-09 18:00:15 -06:00
sneurlax
7a4832e873 wrap theme column in SingleChildScrollView
is this... it?  surely not.  surely we need more than this
2023-02-09 17:49:42 -06:00
ryleedavis
b2a4a2dc5e forest theme colors added 2023-02-09 16:12:09 -07:00
julian
8fa5aa779a json object serialize/deserialize 2023-02-09 16:02:01 -06:00
ryleedavis
d1f22cdc06 prep for adding in forest theme colors 2023-02-09 14:37:25 -07:00
julian
75c5a1d7d9 epic transaction migration 2023-02-09 10:27:39 -06:00
julian
14b2424c3f epic address fix 2023-02-09 10:26:58 -06:00
julian
86ca402401 close exchange step 4 back to wallet or exchange home view 2023-02-09 07:31:31 -06:00
ryleedavis
aec279cb6b desktop oled name fix 2023-02-08 16:59:06 -07:00
julian
e78fc3ef9e wallet to exchange nav fix 2023-02-08 16:51:13 -06:00
julian
2eb0b2e123 clean up exchange rate type enum, build runner mocks 2023-02-08 16:46:30 -06:00
julian
15a44d9dff centralize exchange rate type parameter 2023-02-08 14:48:09 -06:00
julian
5c29a543a9 reduce unneeded providers 2023-02-08 14:22:22 -06:00
julian
4630d616cd only show exchanges supported by selected aggregate currency pair based on exchange flow type 2023-02-08 14:06:58 -06:00
julian
b1c8a56ba6 aggregate currency 2023-02-08 13:06:26 -06:00
julian
a14cca58ee unsupported pair error propagation 2023-02-08 13:04:55 -06:00
julian
24baeb9ff5 show all available paired coins across exchange providers 2023-02-08 11:42:45 -06:00
julian
ae697928a6 no caching or switching of currencies based on exchange selection 2023-02-08 11:37:58 -06:00
julian
7616538248 exchange form field ui tweak 2023-02-08 11:25:31 -06:00
julian
83bc26921b epic address fix 2023-02-08 09:57:26 -06:00
julian
8c0f675852 majestic bank order tracking link 2023-02-08 09:34:59 -06:00
julian
3416ffdda6 restore mnemonic passphrase field 2023-02-08 09:20:34 -06:00
julian
8206972309 add loading screen if not exchange data cache exists while waiting for it to be populated for the first time. Added checks for incognito mode 2023-02-08 08:43:42 -06:00
julian
998967245e migrate wallet on open 2023-02-08 07:29:27 -06:00
julian
c034413bc7 do not attempt to recover address or tx data from hive 2023-02-07 15:11:22 -06:00
julian
e1f5a2431a mb refcode 2023-02-07 13:10:57 -06:00
julian
174f849db0 mb refcode 2023-02-07 13:09:52 -06:00
julian-CStack
0e2c423d71
Merge branch 'staging' into paynyms 2023-02-07 11:47:03 -06:00
julian
d4db845494 Merge branch 'exchange_refactor' into paynyms
# Conflicts:
#	test/pages/send_view/send_view_test.mocks.dart
#	test/widget_tests/managed_favorite_test.mocks.dart
#	test/widget_tests/table_view/table_view_row_test.mocks.dart
#	test/widget_tests/wallet_card_test.mocks.dart
#	test/widget_tests/wallet_info_row/sub_widgets/wallet_info_row_balance_future_test.mocks.dart
#	test/widget_tests/wallet_info_row/wallet_info_row_test.mocks.dart
2023-02-07 11:17:16 -06:00
julian
62f7ebbc3c Merge branch 'majestic_bank' into paynyms 2023-02-07 11:16:26 -06:00
julian
2366c40dcd currency loading performance increase 2023-02-07 11:10:35 -06:00
sneurlax
5173aec491 update simplex url
need to also update simplex_api
2023-02-07 10:32:46 -06:00
julian
842593d6b2 ensure exchange is updated properly 2023-02-06 17:49:27 -06:00
julian
287c226416 clean up exchange_form.dart 2023-02-06 16:16:17 -06:00
julian
aa3d6f4102 show loading while updating rate on newly selected currency 2023-02-06 15:58:20 -06:00
julian
243acd09ba fix when leaving and returning to exchange view 2023-02-06 15:50:18 -06:00
julian
a94feef80e theme switching color fixes 2023-02-06 15:45:00 -06:00
julian
05934e28d9 exchange icon alignment fix 2023-02-06 15:44:47 -06:00
julian
57c31e9fa2 mb icon and refcode 2023-02-06 15:34:17 -06:00
julian
8061f0811d handle refund address support 2023-02-06 13:45:22 -06:00
julian
b19a3dbbf8 limit rate calls on amount entry 2023-02-06 13:08:24 -06:00
julian
f578ce9c0c clean up 2023-02-06 13:07:49 -06:00
julian
15207fc7f1 cache currencies and revert if needed on switching exchanges where currencies aren't available on both exchanges 2023-02-06 12:29:00 -06:00
julian
f4737c5d95 show unsupported pair message per exchange 2023-02-06 12:19:43 -06:00
julian
3fde042c8e verify paired currency selection list options are valid 2023-02-06 10:50:32 -06:00
julian
f174efcec0 clean up and exchange form state bug fixes 2023-02-06 10:27:24 -06:00
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
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
likho
e3101d98af Update Epicbox config to match latest epic version 2023-02-03 20:34:19 +02: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
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
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
julian
e666928d63 majestic bank limits and rates api calls 2023-02-01 18:24:41 -06:00
julian
773c5fad9c Merge remote-tracking branch 'origin/paynyms' into majestic_bank 2023-02-01 16:55:52 -06: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
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
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
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
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
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
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
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
bcb8f2cd41 "choose from stack" fixes 2023-01-31 08:41:40 -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
julian
4f58483e82 show min/max crypto amounts returned by simplex api on quote request 2023-01-30 14:08:21 -06:00
julian
13721df803 ensure fiat amount validation updates on use fiat amount selected 2023-01-30 13:42:19 -06:00
julian
bed518d061 ensure fiat amount validation updates on fiat type changed 2023-01-30 13:40:40 -06:00