Commit graph

796 commits

Author SHA1 Message Date
sneurlax
6f27184619 type handling
hack not fix (model is fix)
2023-03-01 18:09:25 -06:00
julian
8466180b47 get token abi fixes 2023-03-01 18:02:53 -06:00
sneurlax
a8e079bd84 pass config param to wallet deletion method
had to add param because existing rust wallet deletion method can't check for existence without it but I'd like to do this differently on the rust side and revert this change

plus the type handling (`decoded is String`) is a hack vs making a model like it probably should be
2023-03-01 17:59:20 -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
11177b50c3 tx parsing fix 2023-03-01 15:19:53 -06:00
julian
8812efaefb temp disable broken blockscout api 2023-03-01 14:50:14 -06:00
julian
100ab39847 add get token balance for address function 2023-03-01 14:04:25 -06:00
julian
508fc48462 dirty proxy contract function injection hack 2023-03-01 14:03:23 -06:00
likho
ca6fa2d101 Add check for domain for epicbox address 2023-03-01 14:27:35 +02:00
julian
e3548c5ecc WIP wallet token management 2023-02-28 18:36:54 -06:00
julian
70335286be custom eth api exception 2023-02-28 16:03:36 -06:00
julian
0c11e859aa changenow v2 currencies call to access tokenContract param 2023-02-28 14:27:42 -06:00
julian
f1bfe72b73 eth token price service updates 2023-02-28 10:36:24 -06:00
julian
305b252573 replace 'net_*' calls with 'eth_*' alternatives 2023-02-27 16:49:20 -06:00
julian
82842f1aa0 token view refresh, and WIP token icon assets and other small fixes 2023-02-27 11:42:22 -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
2287cd751e Merge remote-tracking branch 'origin/paynyms' into add-ethereum 2023-02-27 08:42:35 -06:00
likho
716dbe706b Fix epicbox config issue when creating new wallet 2023-02-25 11:42:21 +02:00
julian
3d668c2cba Merge remote-tracking branch 'origin/staging' into paynyms 2023-02-24 20:26:53 -06:00
julian
05d14b0e42 blinding bugfix 2023-02-24 20:26:32 -06:00
julian
9c8fd22bfb WIP load and display token transactions 2023-02-24 14:07:59 -06:00
julian
057066950e get token transactions refactor 2023-02-24 10:22:25 -06:00
julian
58280010f8 refactor import 2023-02-24 08:45:34 -06:00
julian
5aed55235c WIP eth refactor 2023-02-23 16:59:58 -06:00
julian
1653bb2096 Merge remote-tracking branch 'origin/ui-fixes' into add-ethereum 2023-02-23 14:36:38 -06:00
julian
d657681d23 Merge remote-tracking branch 'origin/staging' into add-ethereum
# Conflicts:
#	pubspec.lock
2023-02-23 14:27:49 -06:00
julian
3f80c17777 added bch to MB map as well as some other wallet coins preemptively 2023-02-23 14:11:14 -06:00
julian
a57cd88696 use segwit change address for notification tx 2023-02-23 14:01:36 -06:00
julian
a63af1787a explicitly check p2pkh change address on refresh 2023-02-23 13:49:27 -06:00
julian
9ae95b3591 add firo to majestic bank hard coded map 2023-02-23 11:26:48 -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-CStack
9c510119d7
Merge branch 'staging' into paynyms 2023-02-22 05:48:41 -06:00
julian
4bd55f6ee3 disable broken paynym connection status caching 2023-02-22 05:47:30 -06:00
Diego Salazar
7d7acfc567
Merge branch 'staging' into epicbox-failover 2023-02-21 17:11:52 -07:00
sneurlax
6a6b3767aa comment update 2023-02-21 17:56:08 -06:00
sneurlax
9333a28180 reorder function and add comment for clarity 2023-02-21 15:37:54 -06:00
sneurlax
63fbd003e2 don't save failover epicbox server to hive if primary fails
just return the failover
2023-02-21 15:35:05 -06:00
sneurlax
937c1263e7 debugPrint -> Logging.instance.log 2023-02-21 15:21:12 -06:00
sneurlax
a44dfe7650 linting 2023-02-21 15:20:43 -06:00
julian
3b34cb6112 Merge remote-tracking branch 'origin/staging' into paynyms 2023-02-21 14:25:12 -06:00
julian
49a33f0307 hardcode majestic bank coin names 2023-02-21 14:16:16 -06:00
julian
9a222544ba added new changenow custom exception 2023-02-21 13:29:32 -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
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
Likho
4077af77d8
Merge branch 'staging' into update-epic 2023-02-15 19:31:59 +02:00
julian
15b37b6f5c merge clean up and update eth to use isar for tx history and addresses 2023-02-14 11:43:48 -06:00
julian
056fa1947c Merge remote-tracking branch 'origin/staging' into add-ethereum
# Conflicts:
#	lib/pages/settings_views/global_settings_view/manage_nodes_views/add_edit_node_view.dart
#	lib/pages/wallet_view/sub_widgets/wallet_navigation_bar.dart
#	lib/pages/wallet_view/wallet_view.dart
#	lib/services/price.dart
#	lib/utilities/assets.dart
#	pubspec.lock
#	pubspec.yaml
2023-02-14 08: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
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
julian
903b39c454 semi graceful paynym.is call failure during btc recover 2023-02-13 15:29:12 -06:00
julian
9f3ce454b5 only delete logs older than 30 days automatically 2023-02-13 15:08:38 -06:00
sneurlax
7666a9383d putAddresses->updateOrPutAddresses
should solve isar unique index violation error
2023-02-13 14:02:52 -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
aa91311cca load paired currencies directly with no pair caching 2023-02-13 11:43:35 -06: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
julian
279d37c06e paynym send bug fix 2023-02-10 11:51:54 -06:00
julian
218017ca51 populate initial values in exchange form 2023-02-10 08:04:12 -06:00
julian
14b2424c3f epic address fix 2023-02-09 10:26:58 -06:00
julian
a14cca58ee unsupported pair error propagation 2023-02-08 13:04:55 -06:00
julian
83bc26921b epic address fix 2023-02-08 09:57:26 -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
e1f5a2431a mb refcode 2023-02-07 13:10:57 -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
sneurlax
5173aec491 update simplex url
need to also update simplex_api
2023-02-07 10:32:46 -06:00
julian
57c31e9fa2 mb icon and refcode 2023-02-06 15:34:17 -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
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
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
f0a8d65b3e show sent tx immediately in history 2023-02-02 16:19:14 -06:00
julian
97604a792f fix offline wallet creation for namecoin and particl 2023-02-02 15:48:06 -06:00
julian
3ba9f7d61b WIP majestic bank order calculate api call 2023-02-02 14:18:27 -06:00
julian
8bdf0413bd majestic bank limits and rates api calls 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
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
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
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
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
588d715a61 only clear out wallet utxos on refresh 2023-01-31 19:26:23 -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
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
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
4f58483e82 show min/max crypto amounts returned by simplex api on quote request 2023-01-30 14:08:21 -06:00
julian
a41f80ac55 add height change notify 2023-01-30 11:06:28 -06:00
julian
17cbc390e4 pass in correct values 2023-01-30 08:28:54 -06:00
julian
85d69c0cb2 check all outputs for potential notification tx 2023-01-30 08:28:14 -06:00
likho
f7e2568e6a Add validation for custom addresses and clean up 2023-01-30 15:44:30 +02:00
julian
32c942ad42 Merge remote-tracking branch 'origin/staging' into paynyms 2023-01-27 18:28:53 -06:00
julian
3985674525 dirty payment code obfuscation 2023-01-27 18:18:58 -06:00
sneurlax
177eb70d51 handle errors more reliably 2023-01-27 16:08:56 -06:00
sneurlax
679c382106 pass, catch, and display error dialog from newOrder 2023-01-27 15:54:37 -06:00
sneurlax
ec64c77c45 comment update 2023-01-27 15:23:14 -06:00
julian
61ad20e919 Merge remote-tracking branch 'origin/simplex' into paynyms
# Conflicts:
#	lib/utilities/enums/coin_enum.dart
2023-01-27 15:05:29 -06:00
julian
3105c21c35 move paynym interface from doge to btc 2023-01-27 15:03:03 -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
451edbfc67 handle dropped mempool/blockchain transactions 2023-01-27 12:49:25 -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
8b071e8774 ensure paynym notification address is generated and added to database on restore 2023-01-27 10:21:23 -06:00
julian
5159a61271 block paynym notification utxos 2023-01-27 10:20:26 -06:00
julian
6d7284d216 do not display incoming notification transaction in ui 2023-01-27 10:04:55 -06:00
likho
d53709c7b0 Remove balanceMinusMaxFee for token since fees paid in ETH and send full balance on sendAll 2023-01-27 16:32:03 +02:00
likho
fd0b20d661 Complete adding ERC-20 functionality 2023-01-27 14:32:05 +02:00
sneurlax
25a5b42f0e remove print from prod 2023-01-26 17:35:04 -06:00
sneurlax
6c48caff48 only add stack coins to list
TODO refactor isStackCoin into a reusable form instead of copying it around 3 times :P
2023-01-26 17:35:04 -06:00
julian
9b74f52ce9 add receiving address derivation to secure storage 2023-01-26 16:17:26 -06:00
julian
9cc0d74b16 check paynym receiving addresses based on payment code notification tx history 2023-01-26 15:25:53 -06:00
julian
4170ca958f include paynym receiving addresses when checking for incoming transaction amounts 2023-01-26 15:22:39 -06:00
sneurlax
832c495227 catch requesting quote for >max crypto amt 2023-01-26 14:20:45 -06:00
julian
828c301af7 mobile paynym send flow implemented 2023-01-26 12:16:38 -06:00
likho
dbcbfe342c WIP: Add test ETH Token functionality in stack 2023-01-26 20:08:12 +02:00
julian
5de22ca858 Merge branch 'simplex' into paynyms 2023-01-26 10:16:01 -06:00
sneurlax
ed0a0266f6 linting 2023-01-25 16:43:26 -06:00
sneurlax
5f2b0de2d1 dart linting 2023-01-25 16:43:13 -06:00
sneurlax
baf995e515 update URL 2023-01-25 16:41:55 -06:00
julian
fb3f430edc disable PaynymSupport extension and use PaynymWalletInterface instead 2023-01-25 15:49:57 -06:00
julian
7cb497f4f7 remove coin enum hasPaynymSupport getter in favor of type checking 2023-01-25 15:46:48 -06:00
julian
907c380812 copy extension into a mixin 2023-01-25 15:07:44 -06:00
julian
9c44dc6c6b add support to make adding segwit paynym support simple once implemented 2023-01-25 14:33:59 -06:00
julian
79db4f048c use derive path type extension method per coin 2023-01-25 13:49:14 -06:00
sneurlax
2282290b74 do not await unnecessarily 2023-01-25 12:13:20 -06:00
julian
35ba2f9d79 use derive path type in paynym extension 2023-01-25 12:13:01 -06:00
julian
6b08acf225 single DerivePathType enum declaration 2023-01-25 12:08:48 -06:00
sneurlax
c929ea5f75 pass signup time to api 2023-01-25 12:00:02 -06:00
julian
1965501bf8 added address scanning for send and receiving addresses given the context of your own payment code and another, address type choice also added for send/receive address generation 2023-01-25 11:13:21 -06:00
sneurlax
74f783391b use _buildUri in redirect 2023-01-25 11:13:00 -06:00
sneurlax
a223f735a2 import linting 2023-01-25 11:08:29 -06:00
sneurlax
ccc5995e42 use _buildUri in order and pass userId and signupEpoch 2023-01-25 11:08:22 -06:00
sneurlax
f87acdc721 use _buildUri in quote 2023-01-25 11:06:27 -06:00
sneurlax
e2ec733211 use _buildUri in supported_fiats and don't use compute there 2023-01-25 11:05:51 -06:00
sneurlax
61748b4b2f use _buildUri to get supported cryptos 2023-01-25 10:52:41 -06:00
likho
d4653ea794 WIP: Add token functionality 2023-01-25 18:08:27 +02:00
julian
26245517ac add paynym send functionality to paynym extension 2023-01-25 09:26:50 -06:00
likho
abf9f02f8e ADdress fix 2023-01-25 14:09:07 +02:00
likho
4efd432de6 WIP: Add wallet tokens 2023-01-25 11:29:20 +02:00
julian
37fa5e9d19 remove old file and add todos 2023-01-24 16:18:17 -06:00
sneurlax
82f89966bc add userID to quotes and don't init userID in main
TODO test what happens for a fresh install, I already have a userID set in my prefs
2023-01-24 16:02:25 -06:00
julian
fcc68ff1da Merge branch 'ui-fixes' into paynyms 2023-01-24 13:34:13 -06:00
sneurlax
32ca83673a Merge remote-tracking branch 'cypherstack/ui-fixes' into simplex 2023-01-24 12:29:13 -06:00
sneurlax
6f85aa5065 fix amount formatting if buying crypto amount 2023-01-24 11:55:36 -06:00
julian
e404de2116 force usage of adkVersion parameter 2023-01-24 10:30:00 -06:00
sneurlax
83da7a2680 add fiat enums for pretty names 2023-01-24 10:05:15 -06:00
julian
6253652c21 detect paynym notification transactions 2023-01-23 16:11:24 -06:00
sneurlax
cccfaa6eef update API URL
TODO follow todo at top of file re: using buildUri
2023-01-23 14:35:39 -06:00
julian
5eb4b3bff5 move tx creation after ins/outs and added another null check 2023-01-23 13:46:56 -06:00
julian
69dfbb5873 paynym clean up to use isar transaction and address upgrades 2023-01-23 12:19:13 -06:00
sneurlax
4b944a2496 update API URL, use HTTPS 2023-01-23 10:59:14 -06:00
julian
f3325807e0 null address fix 2023-01-23 10:37:29 -06:00
julian
54cabe935f null address fix 2023-01-23 10:32:53 -06:00
sneurlax
f205312bb9 TODOs 2023-01-21 00:19:56 -06:00
sneurlax
290087c2d5 remove unnecessary prints 2023-01-20 22:49:14 -06:00
julian
165021ca2e Merge branch 'isar_migrate' into paynyms 2023-01-20 17:27:18 -06:00
julian
a391a76eec trusted nodes fix and possibly other node fix 2023-01-20 16:24:33 -06:00
julian
017719971b isar init fix and renaming of init functions 2023-01-20 15:57:54 -06:00
sneurlax
c3dd04b830 use simplex_api supported_fiats and update fiat model 2023-01-20 15:45:37 -06:00
julian
830fd58754 Merge branch 'isar-transactions' into isar_migrate
# Conflicts:
#	lib/services/coins/bitcoin/bitcoin_wallet.dart
#	lib/services/coins/bitcoincash/bitcoincash_wallet.dart
#	lib/services/coins/coin_service.dart
#	lib/services/coins/dogecoin/dogecoin_wallet.dart
#	lib/services/coins/firo/firo_wallet.dart
#	lib/services/coins/litecoin/litecoin_wallet.dart
#	lib/services/coins/monero/monero_wallet.dart
#	lib/services/coins/namecoin/namecoin_wallet.dart
#	lib/services/coins/particl/particl_wallet.dart
#	lib/services/coins/wownero/wownero_wallet.dart
#	pubspec.yaml
2023-01-20 15:30:48 -06:00
sneurlax
adf83aa3a6 use simplex_api supported_cryptos and update crypto model 2023-01-20 15:30:35 -06:00
sneurlax
51a9c7e961 api.php/route -> api.php?ROUTE=route 2023-01-20 14:56:26 -06:00
julian
c1182f61bc start centralizing custom exceptions 2023-01-20 12:25:32 -06:00
julian
5c66b0380b move standard electrum x transaction parsing function into a mixin 2023-01-20 12:16:27 -06:00
julian
4c25a88c32 update to use new block data callback 2023-01-20 11:48:59 -06:00
likho
706cbbfa39 Add tokens class 2023-01-20 19:24:19 +02:00
sneurlax
b30976c0f0 redirect to checkout 2023-01-20 09:27:24 -06:00
sneurlax
2ad0659cbc add SimplexOrder model and return it from simplex API
TODO add redirect API call which url_launcher's the redirect endpoint
2023-01-19 23:10:15 -06:00
sneurlax
595d7e760d GET, don't POST, the goods. orders submitting
TODO create and return SimplexOrder and url_launch redirect endpoint 💪
2023-01-19 19:21:06 -06:00
sneurlax
8a1eee204b purchaseId -> id
because SimplexOrder qill have a quoteId, paymentId, and userId...
2023-01-19 17:47:27 -06:00
julian
fd5a237170 move db modifying func to MainDB out of WalletDb, add MainDB mocks to coin tests, build runner generate mocks 2023-01-19 15:13:03 -06:00
julian
60e850f442 add mockable override option for testing purposes 2023-01-19 14:33:23 -06:00
julian
8921302ee0 remove useless walletId param from db init 2023-01-19 14:07:08 -06:00
sneurlax
7191e502db use new cypherstack/simplex_api for quotes, update SimplexQuote
and add bool buyWithFiat to SimplexQuote to disambiguate request
2023-01-19 13:36:05 -06:00
julian
686c897515 remove unused param from constructor 2023-01-19 11:41:59 -06:00
julian
db205b40e2 notify ui of tx changes and force refresh on rescan 2023-01-19 10:29:00 -06:00
julian
95b9e6170f firo mint tx migrate fix 2023-01-19 09:16:30 -06:00
likho
74ab70df7e Use mainnet 2023-01-19 10:45:09 +02:00
julian
7d061866bd btc tx fetch fetch fix 2023-01-18 18:13:08 -06:00
julian
0a3c001845 fix all own addresses query 2023-01-18 17:20:23 -06:00
julian
575cce1a7d update address in case of bad index from migrate or any other reason 2023-01-18 16:55:59 -06:00
sneurlax
745a887566 example update 2023-01-18 10:31:04 -06:00
sneurlax
202ce56448 add working non-api example
removed keys
2023-01-18 09:54:33 -06:00
julian
719f70697a epic isar fixes 2023-01-18 09:42:46 -06:00
julian
30635b05d5 wow isar tx sync fixes 2023-01-17 17:19:09 -06:00
julian
505e8adad7 xmr isar tx sync fixes 2023-01-17 16:56:21 -06:00
julian
ef9205a0a9 particl isar tx parse fixes 2023-01-17 16:11:04 -06:00
julian
9bb71b0e13 firo isar index and null address fix 2023-01-17 12:31:07 -06:00
julian
38453ceafb delete old derivations when doing full rescan 2023-01-17 08:19:30 -06:00
julian
b348761bbe bch cashaddr fix 2023-01-17 08:04:30 -06:00
sneurlax
56135dc19f error message fixes 2023-01-16 18:49:15 -06:00
sneurlax
f1c686504f add newOrder stub method
TODO make it POST and open external browser, or else we'll have to make the inline status widget
2023-01-16 18:49:03 -06:00
sneurlax
e6a19d981d pass receiving address on to preview sheet 2023-01-16 18:08:37 -06:00
sneurlax
d9b1fb1fc7 connect (most) form values to quote object 2023-01-16 17:38:42 -06:00
julian
880c82ba72 update delete wallet function to handle wallet isar data 2023-01-16 17:00:32 -06:00
julian
203cd12678 epic bugfix 2023-01-16 16:56:24 -06:00
julian
d1f237ae51 explicit isar model constructors 2023-01-16 16:37:00 -06:00
sneurlax
7cc30d1da4 comment cleanup 2023-01-16 16:12:53 -06:00
julian
5562c14527 WIP refactor to single main isar db 2023-01-16 15:04:03 -06:00
julian
0223a75d95 putAll 2023-01-16 12:58:10 -06:00