Commit graph

755 commits

Author SHA1 Message Date
julian
e29d8dc047 Merge remote-tracking branch 'origin/staging' into add-ethereum
# Conflicts:
#	lib/pages/add_wallet_views/add_wallet_view/add_wallet_view.dart
2023-03-27 08:50:10 -06:00
julian
6612dde2ef show only token transfers in token tx history (for now) 2023-03-27 08:43:35 -06:00
julian
4bd87e8dce start using Amount 2023-03-27 08:41:59 -06:00
julian
c9eba36f31 disabled mb 2023-03-25 19:27:42 -06:00
julian
951c9638f3 bch zero conf fixes 2023-03-24 16:44:25 -06:00
julian
678a926ff3 bch zero conf fixes 2023-03-24 16:43:34 -06:00
julian
b2b9accee1 add serialized amount string to transaction 2023-03-24 15:31:05 -06:00
julian
e53683ac68 WIP token tx parsing 2023-03-24 10:11:18 -06:00
julian
361d3a8095 get token info fix 2023-03-24 08:37:47 -06:00
julian
af2c674809 remove unused variable 2023-03-23 18:26:55 -06:00
julian
3e1e68237a Merge remote-tracking branch 'origin/staging' into add-ethereum
# Conflicts:
#	lib/models/isar/models/blockchain_data/address.dart
#	lib/pages/add_wallet_views/create_or_restore_wallet_view/create_or_restore_wallet_view.dart
#	lib/pages/settings_views/global_settings_view/appearance_settings_view.dart
#	lib/pages_desktop_specific/settings/settings_menu/appearance_settings.dart
#	lib/utilities/db_version_migration.dart
#	test/pages/send_view/send_view_test.mocks.dart
#	test/screen_tests/address_book_view/subviews/add_address_book_view_screen_test.mocks.dart
#	test/screen_tests/address_book_view/subviews/address_book_entry_details_view_screen_test.mocks.dart
#	test/screen_tests/address_book_view/subviews/edit_address_book_entry_view_screen_test.mocks.dart
#	test/screen_tests/exchange/exchange_view_test.mocks.dart
#	test/screen_tests/lockscreen_view_screen_test.mocks.dart
#	test/screen_tests/main_view_tests/main_view_screen_testA_test.mocks.dart
#	test/screen_tests/main_view_tests/main_view_screen_testB_test.mocks.dart
#	test/screen_tests/main_view_tests/main_view_screen_testC_test.mocks.dart
#	test/screen_tests/onboarding/backup_key_view_screen_test.mocks.dart
#	test/screen_tests/onboarding/backup_key_warning_view_screen_test.mocks.dart
#	test/screen_tests/onboarding/create_pin_view_screen_test.mocks.dart
#	test/screen_tests/onboarding/restore_wallet_view_screen_test.mocks.dart
#	test/screen_tests/onboarding/verify_backup_key_view_screen_test.mocks.dart
#	test/screen_tests/settings_view/settings_subviews/currency_view_screen_test.mocks.dart
#	test/screen_tests/settings_view/settings_subviews/network_settings_subviews/add_custom_node_view_screen_test.mocks.dart
#	test/screen_tests/settings_view/settings_subviews/network_settings_subviews/node_details_view_screen_test.mocks.dart
#	test/screen_tests/settings_view/settings_subviews/wallet_backup_view_screen_test.mocks.dart
#	test/screen_tests/settings_view/settings_subviews/wallet_settings_subviews/rescan_warning_view_screen_test.mocks.dart
#	test/screen_tests/settings_view/settings_subviews/wallet_settings_subviews/wallet_delete_mnemonic_view_screen_test.mocks.dart
#	test/screen_tests/settings_view/settings_subviews/wallet_settings_view_screen_test.mocks.dart
#	test/screen_tests/settings_view/settings_view_screen_test.mocks.dart
#	test/screen_tests/transaction_subviews/transaction_search_results_view_screen_test.mocks.dart
#	test/screen_tests/wallet_view/confirm_send_view_screen_test.mocks.dart
#	test/screen_tests/wallet_view/receive_view_screen_test.mocks.dart
#	test/screen_tests/wallet_view/send_view_screen_test.mocks.dart
#	test/screen_tests/wallet_view/wallet_view_screen_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/transaction_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-03-23 18:13:24 -06:00
julian
b27b90c08a WIP eth token abi fetch and parsing 2023-03-23 18:05:35 -06:00
julian
85c416fb50 eth trueblocks fetch token abi call 2023-03-23 18:04:47 -06:00
julian
c51ef8ee26 edit wallet token list 2023-03-23 16:28:20 -06:00
julian
1fd7e129e2 empty token tx check 2023-03-23 13:51:56 -06:00
julian
09b2c68cd5 get token contract info updates and fixes 2023-03-23 13:48:38 -06:00
julian
40cceed8e6 use trueblocks api to grab transactions 2023-03-23 12:19:51 -06:00
julian
be11b18eb8 handle user added wallet contracts 2023-03-23 12:16:28 -06:00
julian
b1d5b7f6ea store user added token contracts in wallet hive box for now 2023-03-23 09:39:22 -06:00
julian-CStack
e16bd90a68 BCH 0-conf 2023-03-23 09:09:30 -06:00
sneurlax
68bf6a6565 add mint/anonymization txs to balance
currently breaks when a mint/anonymization tx is correctly recognized as a send but not correctly recognized as isUsed
2023-03-22 18:05:52 -05:00
sneurlax
79706d51f5 increment mint index by 1 2023-03-22 17:29:20 -05:00
julian
d2bddcdd8d add token view button to wallet nav bar 2023-03-22 09:39:28 -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
ea933e0474 do not freeze notification tx change outputs 2023-03-20 09:23:33 -06:00
julian
d0be86f4ba WIP desktop 'more features' and coin control 2023-03-13 14:37:05 -06:00
julian
d45caa47b3 block sent notification tx change output with reason 2023-03-09 15:49:23 -06:00
julian
0cace4d7bc partial derivation not found null fix 2023-03-09 15:08:13 -06:00
julian
c04723840f fix bug that can cause transaction broadcast to fail in the case where two or more input utxos come from the same parent transaction 2023-03-09 13:49:39 -06:00
julian
260771061c prepare paynym interface to use SigningData 2023-03-09 12:31:36 -06:00
julian
645ec5c2a0 delete unused file 2023-03-09 12:29:38 -06:00
julian
e6b5e847c3 coin control utxos fix 2023-03-09 10:30:10 -06:00
julian
b30f1db45b enable coin control for selected other coins 2023-03-08 16:11:46 -06:00
julian
ec237d0001 Merge remote-tracking branch 'origin/staging' into coin_control 2023-03-08 13:42:12 -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
2b1d438953 balance refresh and total display fixes 2023-03-08 13:03:04 -06:00
julian
ea49ed32ab update balance after viewing coin control 2023-03-08 12:22:33 -06:00
julian
ffdb74d0e8 mark utxos as used on successful tx broadcast 2023-03-08 09:56:32 -06:00
julian
4aae0fc76e update coinSelection to handle custom list of UTXOs 2023-03-08 09:47:35 -06:00
julian
650584ad74 MB order notification lookup fix 2023-03-07 14:13:12 -06:00
julian
6465faa4e1 btc update utxo set 2023-03-07 09:00:42 -06:00
julian
251f90834c update UTXO schema 2023-03-06 14:39:41 -06:00
julian
3982ca29a6 MB doesn't store trade/order history indefinitely 2023-03-06 13:59:30 -06:00
Likho
a940a0e75b Fix send error 2023-03-06 19:18:46 +02:00
julian
7319f509f0 add coin control option to mobile more menu + assets fix 2023-03-06 10:34:41 -06:00
julian-CStack
e8e8ffdf60
Merge branch 'staging' into mb-fixes 2023-03-03 15:15:58 -06:00
julian
40ca565d54 mb order status util and extra logging 2023-03-03 14:46:53 -06:00
julian
22b7da2206 WIP eth tx parsing 2023-03-03 11:36:40 -06:00
julian
b617b3e5e0 added more logging 2023-03-03 11:36:28 -06:00
Diego Salazar
aadbeff488
Merge pull request #382 from cypherstack/fix/epic-create
Fix epic wallet creation epicbox config error by adding and using an EpicBoxConfigModel and an EpicBoxServerModel
2023-03-03 08:55:06 -07:00
Diego Salazar
9a04f5db31
Merge branch 'staging' into fix/epic-delete 2023-03-03 08:54:32 -07:00
julian
5ba44d5b8e rename eth token wallet class 2023-03-03 08:36:56 -06:00
julian
f26fb19453 do not use secure storage for token ABIs 2023-03-03 08:35:43 -06:00
sneurlax
0089dc8333 send real config, not epicbox config, to deletewallet 2023-03-02 19:08:58 -06:00
julian
babbd75da3 use database contract data and contract management updates 2023-03-02 18:40:12 -06:00
julian
a5d8fdde79 parse eth tx json to data transfer objects 2023-03-02 15:07:25 -06:00
sneurlax
83d0157600 add and use EpicBoxConfigModel and EpicBoxServerModel 2023-03-02 14:51:19 -06:00
julian
b4b4c5e696 WIP eth api refactor to use chifra based api 2023-03-02 13:28:51 -06:00
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