Commit graph

1138 commits

Author SHA1 Message Date
sneurlax
6246b6c931 refactor CashFusion Address model and add toFusionAddress method
to go from Stack Address -> CashFusion Address
2023-08-06 22:02:40 -05:00
sneurlax
2692ebfc68 WIP demo get current receiving address 2023-08-06 21:15:05 -05:00
sneurlax
2ffbcda188 Merge remote-tracking branch 'fyookball/fusion' into fusion 2023-08-06 19:35:12 -05:00
detherminal
182a8cc732 implement fees and sending? 2023-08-06 00:16:19 +03:00
Jonald Fyookball
387e4ba99c update fusion.dart to get to runround stage 2023-08-03 08:50:28 -04:00
Josh Babb
10eb56ef43 Merge remote-tracking branch 'origin/staging' into fusion 2023-08-01 11:01:11 -05:00
julian
e48afa4c6a parse firo masternode payments 2023-07-31 10:06:56 -06:00
detherminal
a1ef84fbe6 fix stellarTestNet and dependency problems 2023-07-28 23:00:14 +03:00
julian
bd090a3e92 ensure no rescan flag on newly created or restored firo wallets 2023-07-28 13:17:21 -06:00
detherminal
f4688bd041 xtz: filter other operations 2023-07-28 22:16:04 +03:00
julian
92f19de43c WIP one time firo rescan 2023-07-28 10:55:04 -06:00
ryleedavis
724f6193d7 merge conflicts 2023-07-28 10:50:05 -06:00
ryleedavis
b66b25eb1f Merge branch 'staging' into add-xtz
# Conflicts:
#	lib/pages/settings_views/global_settings_view/manage_nodes_views/add_edit_node_view.dart
#	lib/pages/settings_views/global_settings_view/manage_nodes_views/node_details_view.dart
#	lib/services/coins/coin_service.dart
#	lib/services/price.dart
#	lib/utilities/amount/amount_unit.dart
#	lib/utilities/block_explorers.dart
#	lib/utilities/constants.dart
#	lib/utilities/default_nodes.dart
#	lib/utilities/enums/coin_enum.dart
#	lib/utilities/enums/derive_path_type_enum.dart
#	lib/widgets/node_card.dart
#	lib/widgets/node_options_sheet.dart
#	pubspec.yaml
2023-07-28 10:48:52 -06:00
ryleedavis
5c06d9dc59 format adjustments + remove tezos from themeAssetsv1 2023-07-28 10:32:50 -06:00
ryleedavis
be0d820822 Merge branch 'add-xtz' of https://github.com/cypherstack/stack_wallet into add-xtz 2023-07-28 08:45:49 -06:00
detherminal
3077465e81 xtz: update api and add price 2023-07-28 13:39:07 +03:00
julian
f9fa0acb8c pass in only required utxo data 2023-07-27 17:23:25 -06:00
julian
8e767d200e use updated package 2023-07-27 17:13:03 -06:00
julian
cf03526d45 Merge remote-tracking branch 'origin_SW/staging' into fusion
# Conflicts:
#	lib/pages_desktop_specific/my_stack_view/wallet_view/sub_widgets/desktop_wallet_features.dart
2023-07-27 15:48:11 -06:00
Josh Babb
5f604eba3c fix response-counting logic
could be improved yet...
2023-07-27 15:32:18 -05:00
detherminal
2ee65b584e fix: fetch from nodes instead of tzkt 2023-07-27 23:15:49 +03:00
sneurlax
c847656ca5 autoformatting 2023-07-27 14:47:22 -05:00
sneurlax
c584cb862d don't assume list isn't null 2023-07-27 14:47:16 -05:00
sneurlax
d0e3474368 move fusion dart code to fusiondart package as submodule
https://github.com/cypherstack/fusiondart
2023-07-27 14:39:36 -05:00
sneurlax
571fd960b8 autoformatting 2023-07-27 13:43:25 -05:00
sneurlax
59379faa4c Merge remote-tracking branch 'fyookball/fusion' into fusion 2023-07-27 13:40:08 -05:00
Jonald Fyookball
e91ac3d355 Fixes for registerAndWait. 2023-07-27 14:29:03 -04:00
sneurlax
40d9a8aa9e include exception if non-null 2023-07-27 13:14:19 -05:00
sneurlax
6ace239647 check if Exception 2023-07-27 13:13:15 -05:00
julian
2e9c5bde8e clean up compile time errors only 2023-07-27 12:11:30 -06:00
julian
143e1d821a remove duplicate map entries 2023-07-27 11:35:44 -06:00
julian
aa2ab89f73 fix formatting 2023-07-27 11:33:39 -06:00
sneurlax
9b4c1abf35 Merge remote-tracking branch 'origin/staging' into fusion 2023-07-27 12:03:55 -05:00
ryleedavis
197d760102 Merge branch 'staging' into add-xtz
# Conflicts:
#	pubspec.lock
2023-07-27 10:45:41 -06:00
julian
4281fa5d33 Merge remote-tracking branch 'origin_SW/staging' into ui-fixes 2023-07-27 10:43:49 -06:00
sneurlax
87f12d9c3c Merge remote-tracking branch 'origin/staging' into fusion 2023-07-27 10:33:03 -05:00
julian
8b88890e05 refactor network call into mockable provider and handle errors 2023-07-27 09:28:01 -06:00
julian
6f2ddf7423 fix: auto format code and remove electrumx coin control 2023-07-27 08:11:32 -06:00
julian
a194594b4d Merge remote-tracking branch 'origin_SW/staging' into add-xlm 2023-07-27 07:57:58 -06:00
likho
bce20eab32 Resolve merge conflicts 2023-07-27 15:05:27 +02:00
likho
7061c3c40b Add testnet to coin list 2023-07-27 13:09:56 +02:00
julian
f51cf2e395 extra temp check on firo 2023-07-26 17:15:11 -06:00
julian
46e0258737 Merge remote-tracking branch 'origin_SW/staging' into ordinals
# Conflicts:
#	lib/pages_desktop_specific/my_stack_view/wallet_view/sub_widgets/desktop_wallet_features.dart
#	lib/pages_desktop_specific/my_stack_view/wallet_view/sub_widgets/more_features/more_features_dialog.dart
#	pubspec.yaml
2023-07-26 17:05:33 -06:00
julian
f27e818d97 Merge remote-tracking branch 'origin_SW/staging' into add-monkey 2023-07-26 16:29:32 -06:00
sneurlax
19a968472b move CashFusion fuse() demo into FusionInterface 2023-07-26 17:08:29 -05:00
sneurlax
04f0049710 add hasFusionSupport bool 2023-07-26 17:06:17 -05:00
sneurlax
d71ca45657 add fusion interface as mixin 2023-07-26 17:06:02 -05:00
julian
80dad5156a Merge remote-tracking branch 'origin_SW/ui-fixes' into ordinals
# Conflicts:
#	lib/db/isar/main_db.dart
2023-07-26 15:11:03 -06:00
sneurlax
5cd8b4864e Merge remote-tracking branch 'origin/staging' into fusion 2023-07-26 15:31:28 -05:00
ryleedavis
ea9f997d0b Merge branch 'staging' into add-monkey
# Conflicts:
#	lib/services/coins/banano/banano_wallet.dart
2023-07-26 12:07:36 -06:00
Jonald Fyookball
6c0dbfbde8 Push local changes to branch. 2023-07-26 14:07:30 -04:00
ryleedavis
2eb10e249f add monkey image to hive and display on wallet card 2023-07-26 11:54:10 -06:00
julian
6733a367e3 create mockable wrapper function 2023-07-26 11:47:49 -06:00
likho
58364a6c88 Update themes, use PUBNET instead of testnet 2023-07-26 16:19:40 +02:00
julian
7b8f26206e show sent to self jmint transactions correctly 2023-07-25 20:48:03 -06:00
julian
57839c2d18 WIP fixing _refreshLelantusData 2023-07-25 20:29:44 -06:00
julian
c9da22601e clean up spam logs a bit 2023-07-25 20:28:51 -06:00
julian
5d3e976601 always add lelantus coin to locale db 2023-07-25 16:08:54 -06:00
julian
c1f73a89be store jmint separately from updated coins 2023-07-25 15:41:06 -06:00
julian
90b16c576e clean up 2023-07-25 15:36:37 -06:00
julian
759e5624e4 stop storing public coin 2023-07-25 15:11:34 -06:00
julian
ce1dce1130 comment and fix error messages 2023-07-25 14:56:31 -06:00
julian
2cca59532e delete by index instead of public Coin since who tf knows what it could be in our code 2023-07-25 14:14:07 -06:00
julian
04658f8eef null error bandaid 2023-07-25 13:55:19 -06:00
julian
20c706c7e5 add todo check 2023-07-25 12:16:08 -06:00
julian
3c1a3f23e3 clean up 2023-07-25 12:07:09 -06:00
julian
5f9b1f77f5 clearer exception 2023-07-25 11:17:54 -06:00
julian
a8abd38827 invalid vsize fix 2023-07-25 11:17:30 -06:00
julian
140f1468f9 remove unused code 2023-07-25 09:04:09 -06:00
julian
99a36f1587 fix mint limit constant 2023-07-25 09:03:26 -06:00
julian
18f3a2056c check anon set when creating list of mints 2023-07-25 08:55:50 -06:00
likho
f7741fa043 Update theme with Stellar images 2023-07-25 15:58:29 +02:00
julian
462b845bd4 clean up unspent coins 2023-07-24 16:54:38 -06:00
julian
2fb94444c4 no more firo specific hive 2023-07-24 16:49:11 -06:00
julian
c97de6017b update lelantus coin schema 2023-07-24 16:44:12 -06:00
julian
df0b004b82 finish up basic migrate lcoins hive => isar 2023-07-24 12:30:01 -06:00
julian
6ff4c5d49a clean up 2023-07-24 09:06:10 -06:00
likho
be8ede7750 Fix txs being sending and receiving, and missing fee and height in tx view 2023-07-24 16:53:04 +02:00
sneurlax
ce1bd8212f remove Future<bool> inscriptionInAddresses(List<String> addresses)
inscriptionInAddress is next, after its usage is removed from _updateUTXOs, updateUTXOs (or another hook for detecting if a refresh has detected a new output) will trigger the more general refreshInscriptions
2023-07-23 23:20:07 -05:00
sneurlax
18a0bf279e refresh inscriptions if new output detected 2023-07-23 18:29:42 -05:00
sneurlax
abd4bf9d7a refresh inscriptions if needed and add utility func 2023-07-23 18:19:38 -05:00
sneurlax
f32359ac1e refresh inscriptions after general refresh if any are detected 2023-07-23 18:01:51 -05:00
sneurlax
7da49c7ea0 improve ordinal heuristic
and formatting
2023-07-22 22:14:18 -05:00
sneurlax
475490d4f0 remove commented functions 2023-07-22 21:10:22 -05:00
sneurlax
55e55ef8c8 print->throw Exception 2023-07-22 21:09:42 -05:00
likho
89aba8874e Clean up/ refactor 2023-07-22 10:26:53 +02:00
likho
4bdda9354c WIP: Clean up and fixes 2023-07-22 10:26:10 +02:00
likho
c68b2e0d02 allow sending to unfunded account 2023-07-22 10:26:10 +02:00
likho
bbd070ba7f Fix send 2023-07-22 10:24:41 +02:00
detherminal
e0df4723ae feat: add xlm 2023-07-22 10:21:04 +02:00
julian
dffa33abd3 load ordinals into isar as a cache and backend view model 2023-07-21 18:43:59 -06:00
julian
48109f3c49 use isar ordinal model 2023-07-21 18:18:26 -06:00
julian
051fc7d1ef Merge remote-tracking branch 'origin_SW/staging' into ordinals 2023-07-21 17:18:18 -06:00
julian
e7b480e585 add ba/nano wallet representative change option to wallet settings, remove coin control from ba/nano, and some other clean up 2023-07-21 14:11:30 -06:00
julian
b8fcc98ac6 eth token balance fix 2023-07-21 13:23:36 -06:00
sneurlax
f46a37d4d4 convert/map/cast InscriptionData->Ordinal 2023-07-21 11:48:31 -05:00
sneurlax
39eaa937fc add convenience method, remove ord-litecoin API file, cast dynamic->int 2023-07-21 10:06:34 -05:00
sneurlax
af30826e9e remove ord-litecoin imports 2023-07-21 10:03:05 -05:00
sneurlax
20fdcf4817 refactor manager var out to _manager, comment update 2023-07-20 17:15:25 -05:00
sneurlax
b773811eac working proof of concept 2023-07-20 16:49:26 -05:00
sneurlax
4db0328c73 WIP _db not initialized, refresh on ordinals view for poc 2023-07-20 16:30:39 -05:00
julian
461267ec95 eth api error handling clean up and token flag 2023-07-20 15:13:56 -06:00
sneurlax
06c433ff85 add init method, build on poc 2023-07-20 15:56:11 -05:00
sneurlax
ca8e930904 move demo into refresh button, add refreshInscriptions() stub w prev poc 2023-07-20 15:32:39 -05:00
sneurlax
4be7919e46 expand upon demo
TODO remove WIP, hook directly into StreamBuilder
2023-07-20 14:53:20 -05:00
sneurlax
22e222ffd6 paginate inscription responses 2023-07-20 14:53:15 -05:00
sneurlax
a322c13954 return inscriptions in batches of 1000 2023-07-20 14:53:13 -05:00
sneurlax
f046912c89 litescribe api and demo 2023-07-20 14:53:09 -05:00
sneurlax
d02b7f7ad4 formatting and model updates 2023-07-20 14:05:51 -05:00
sneurlax
0284bb2951 use https api, implement other methods 2023-07-19 17:13:54 -05:00
sneurlax
bc8f5ce8f9 update OrdinalsInterface to not need baseUrl declared by withee classes 2023-07-19 15:58:26 -05:00
sneurlax
8e17556e41 use an OrdinalsResponse response type which can return an error 2023-07-19 13:03:17 -05:00
sneurlax
d3b4be5d66 Merge remote-tracking branch 'origin/ordinals' into ord-litecoin 2023-07-19 12:05:00 -05:00
julian
895903b9ca Merge branch 'ui-fixes' into ordinals 2023-07-19 11:03:29 -06:00
sneurlax
697f40fce1 add preview endpoint 2023-07-19 10:55:46 -05:00
sneurlax
d623480a75 add content endpoint 2023-07-19 10:51:46 -05:00
sneurlax
6d772b0acd add block endpoint 2023-07-19 10:50:56 -05:00
sneurlax
f972c34dc4 add address endpoint 2023-07-19 10:48:54 -05:00
sneurlax
48e4f8c577 add output endpoint 2023-07-19 10:45:18 -05:00
sneurlax
828782f00c add sat endpoint 2023-07-19 10:41:23 -05:00
sneurlax
51155372d3 add inscription endpoint 2023-07-19 10:37:42 -05:00
likho
45af21dc27 Fix merge conflicts with staging 2023-07-19 16:37:54 +02:00
detherminal
d387fcc7b9 feat: update xtz 2023-07-19 16:21:13 +02:00
detherminal
0ae747aebc feat: add xtz 2023-07-19 16:19:48 +02:00
julian
58c97de86c WIP ordinal ui 2023-07-18 10:15:05 -06:00
julian-CStack
27c2f34a33 macos specific notifications fix 2023-07-17 10:36:45 -06:00
julian-CStack
bc85b97f5f null error fix on isar exchange data cache instance 2023-07-17 10:36:33 -06:00
julian-CStack
27d97ebf49 number format hack/fix 2023-07-12 16:06:41 -06:00
julian-CStack
ebf67df3a9
Merge branch 'staging' into add-onchain-notes-for-epic 2023-07-05 11:58:29 -06:00
likho
ca27f13d7b WIP:Add onchain notes for Epic 2023-07-05 14:57:17 +02:00
julian
ab9e734b80 fix: dogecoin custom fee slider and possible absurd fees error 2023-07-04 10:25:13 -06:00
julian
fa1dbdbe51 extra logging and exit properly instead of rethrowing what is isn't really a true exception but rather an expected result if not transactions are found. Thanks API designers 2023-07-01 13:49:10 -06:00
julian
bd5a0c1631 actually use price interval 2023-06-30 15:30:33 -06:00
julian
f2e43bfaee fix: wallets coin sorting matching Coin enum order 2023-06-19 13:59:46 -06:00
julian
0778deb6d3 feat: custom fee for sends on mobile for supported coins 2023-06-17 10:42:23 -06:00
julian
968bf390f4 fix: eth rescan (and optimise eth txn refreshing) 2023-06-15 16:39:42 -06:00
julian
aac6c0fdb6 fix: token transactions refresh interruption 2023-06-15 13:53:16 -06:00
julian
a8a5e8b573 requested monero address check 2023-06-09 11:44:50 -06:00
julian
0af9af1ad2 fix: add (ba)nano periodic refreshes 2023-06-08 14:48:51 -06:00
julian
72bbf81c4c fix: do not throw but just return from updateSentCachedTxData for now 2023-06-08 14:32:07 -06:00
julian
53be1f53db fix: old block errors 2023-06-08 14:25:09 -06:00
julian
885310395e fix: banano prepareSend int overflow 2023-06-08 14:10:08 -06:00
julian
2c49f9f9ec fix: transactions not updating in (ba)nano right away on refresh 2023-06-08 13:45:59 -06:00
julian
1d2d01d1de fix: banano price 2023-06-08 12:21:28 -06:00
julian
ed120f552a Merge branch 'ba_nano_fixes' into ui-fixes 2023-06-08 11:03:50 -06:00
ryleedavis
c4545c3eb0 rearrange coin order 2023-06-08 10:54:22 -06:00
julian
3c026ab730 add more logging and return zero fees 2023-06-08 09:00:55 -06:00
julian
dd7792195c fix: banano address type 2023-06-07 14:33:53 -06:00
julian
3a58955f60 fix: banano address type 2023-06-07 14:28:00 -06:00
julian
9046379d18 fix: (ba)nano sync/refresh bugs and address optimizations 2023-06-07 13:44:45 -06:00
julian
cb1922d2c7 fix: (ba)nano testNetworkConnection always returning false 2023-06-07 12:28:11 -06:00
Diego Salazar
f032db9a6b
Merge pull request #573 from cypherstack/handle-price_change_percentage_24h-being-null
Handle price_change_percentage_24h being null and not able to parse a…
2023-06-06 12:50:29 -06:00
likho
14f9dc2c05 Handle price_change_percentage_24h being null and not able to parse as double 2023-06-06 16:34:43 +02:00
julian
a353ab341a Merge remote-tracking branch 'origin_SW/staging' into flutter_upgrade
# Conflicts:
#	crypto_plugins/flutter_libmonero
2023-06-05 16:26:28 -06:00
julian
91dd677e28 fix: banano network pinging, clean up imports, move file to separate folder 2023-06-05 15:04:11 -06:00
julian
117007180e fix: missing coin cases 2023-06-05 14:55:41 -06:00
julian
b92fb5b547 Merge remote-tracking branch 'origin_SW/add_nano' into flutter_upgrade
# Conflicts:
#	pubspec.lock
2023-06-05 14:48:03 -06:00
julian-CStack
58b8509b41
Merge pull request #569 from fossephate/add-nano
Banano support
2023-06-05 14:07:14 -06:00
julian-CStack
84fabcf300
Merge pull request #564 from detherminal/staging
fix: recent logs
2023-06-05 14:00:31 -06:00
fossephate
3c524b2ea4 add banano support 2023-05-30 19:19:31 -04:00
detherminal
9e4c8dbc77 fix: recent logs 2023-05-31 00:46:11 +03:00
julian
e81bba2357 fix: exception implementations 2023-05-30 10:41:27 -06:00
julian
3275039d01 nano clean up and optimisations 2023-05-30 10:00:24 -06:00
julian
1449814e35 Merge branch 'amount_display_precision' into add_nano
# Conflicts:
#	lib/pages/pinpad_views/create_pin_view.dart
#	lib/widgets/custom_pin_put/custom_pin_put_state.dart
2023-05-30 09:11:41 -06:00
julian
7484353854 Merge remote-tracking branch 'origin_SW/staging' into persistence
# Conflicts:
#	test/electrumx_test.mocks.dart
2023-05-29 16:24:25 -06:00
Josh Babb
86fabcf9ff port f113904a periodiocPingCheck changes to other electrumx coins 2023-05-29 11:06:57 -05:00
julian
f113904a22 fix: bug in setting _isConnected as well as adding call to refresh on reconnection established 2023-05-29 09:54:14 -06:00
likho
83778bb121 Fix Epiccash caching issue, add additional status messages as in Epicpay 2023-05-28 14:57:05 +02:00
julian-CStack
3f7b547cfd
Merge pull request #557 from detherminal/add_nano
add copyright generating script
2023-05-26 16:46:34 -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
97e25a73be docs: explain and comment code 2023-05-26 22:25:59 +03:00
fossephate
3586383f93 balance fixes, sync status working, and transaction view working 2023-05-26 14:47:50 -04:00
fossephate
e0efbe669d fix for open blocks + fix for new wallet creation 2023-05-26 12:47:11 -04:00
detherminal
84ac798bb8 docs: add copyright header to all source code 2023-05-26 19:33:04 +03:00
julian
28e4764ec4 fix: namecoin tx signing 2023-05-26 08:59:20 -06:00
julian
c8b7d3aab8 Merge remote-tracking branch 'origin_SW/staging' into persistence 2023-05-25 15:41:11 -06:00
julian
e0e4ffe0f4 fix: cached electrumx constructor usage 2023-05-25 14:37:34 -06:00
julian
74d3175d87 fix: Handle sent to self transactions when sent to a change address 2023-05-25 09:24:07 -06:00
fossephate
c5f2480634 receive nano transactions 2023-05-24 15:09:00 -04:00
julian
35b631f329 fix: block possible ordinal containing utxos 2023-05-24 13:07:44 -06:00
julian
d7aa8134d3 block possible ordinal containing utxos 2023-05-24 13:02:36 -06:00
fossephate
97ecb72ecf Merge branch 'add_nano' of https://github.com/cypherstack/stack_wallet into add-nano 2023-05-24 14:20:38 -04:00
fossephate
b6ace4ef27 save 2023-05-24 14:19:49 -04:00
julian
feabebcce5 amount fix 2023-05-24 12:11:33 -06:00
julian
bc868a7d38 fix: merge clean up 2023-05-24 12:08:32 -06:00
julian
553e035ca7 Merge remote-tracking branch 'origin_SW/staging' into add_nano
# Conflicts:
#	lib/models/isar/stack_theme.dart
#	lib/models/isar/stack_theme.g.dart
#	lib/pages/settings_views/global_settings_view/manage_nodes_views/add_edit_node_view.dart
#	lib/services/coins/firo/firo_wallet.dart
#	lib/themes/coin_icon_provider.dart
#	lib/themes/coin_image_provider.dart
#	lib/utilities/constants.dart
#	lib/utilities/enums/coin_enum.dart
2023-05-24 11:37:37 -06:00
julian
0933546806 fix: various eCash tweaks + 0 conf 2023-05-24 11:00:54 -06:00
julian
1a8aefa45c fix: quick hack to show incoming joinsplit txns 2023-05-24 10:25:13 -06:00
fossephate
03d69d44ce small cleanup 2023-05-24 12:12:28 -04:00
fossephate
7a95c20645 nano sending + minor sats constants refactor 2023-05-24 11:56:44 -04:00
julian
40dfced949 fix: default to 0 mint index if none saved 2023-05-23 10:43:08 -06:00
julian
a77c8c02fd ensure skipping tx if it is a jmint 2023-05-23 10:11:44 -06:00
julian
304675351a WIP: firo tx parsing clean up and fixes 2023-05-23 09:46:34 -06:00
julian
ee830a4788 Merge remote-tracking branch 'origin_SW/staging' into firo_cleanup 2023-05-23 07:32:12 -06:00
julian
b7619c3108 default to 12 word seeds for new wallets 2023-05-19 16:44:49 -06:00
detherminal
8f89f19b91 feat: add nano 2023-05-19 13:20:16 +03:00
julian
d7fa52e9cd add ecash to price fetch service 2023-05-18 17:01:58 -06:00
julian
a3422696ba fix 2023-05-17 15:55:17 -06:00
julian
dfc283c757 ecashaddrs working? 2023-05-17 13:14:16 -06:00