Commit graph

244 commits

Author SHA1 Message Date
sneurlax
f4c450f6ce WIP status updates 2023-10-13 12:41:01 -05:00
julian
18dcdbddf1 clean up api, remove unused function, and unneeded code 2023-10-13 11:20:05 -06:00
sneurlax
d2dc0201c8 Merge branch 'fusion-ui' into fusion 2023-10-13 10:52:32 -05:00
sneurlax
706b98834b add comment 2023-10-13 10:52:28 -05:00
julian
f631678de7 change query for address slightly. Might revert 2023-10-12 17:05:17 -06:00
sneurlax
92305f558a this isn't the right way to do this 2023-10-12 17:05:17 -05:00
julian
761d914bca update ref and check for lolcashaddr formatting 2023-10-12 14:00:58 -06:00
sneurlax
c6010c00ae quick hack patch, continue if we can't find the address (for public key) 2023-10-12 14:35:50 -05:00
sneurlax
7c1c1cba7d update ref and throw on null addr (addr!.publicKey throws) 2023-10-12 14:32:01 -05:00
julian
e2534bc4a2 clean up duplicate fetching of utxos 2023-10-12 13:11:38 -06:00
sneurlax
fec0e8e0dc add addresses to utxoDTOs 2023-10-12 14:08:52 -05:00
julian
06b8ee844d add broadcast tx functionality to fusion 2023-10-09 16:05:21 -06:00
julian
d73a90fb51 privkey lookup for signing 2023-10-09 15:42:48 -06:00
julian
e82a5a1fb8 use utxo class for passing around utxo data 2023-10-09 15:05:10 -06:00
julian
4142b437c7 pass in getTransaction in case its needed 2023-10-09 14:22:52 -06:00
julian
2ce3bac497 reserved address flag 2023-10-09 11:44:36 -06:00
julian
3e2eb2a7c7 ensure only wallet owned p2pkh addresses are passed in 2023-10-09 11:44:17 -06:00
julian
bbf0943003 Don't use Transaction for passing data into fusion 2023-10-09 10:55:13 -06:00
julian
ebabfc9328 use bch net params 2023-10-09 10:06:34 -06:00
julian
9c352d0e99 update ref 2023-10-06 16:33:01 -06:00
julian
1774ad6b73 remove problem child _coins 2023-09-29 10:48:01 -06:00
julian
bc0f182b0b Simplify fusion_progress_ui_state.dart to work with .family provider, and WIP hook it up to the fusion wallet interface 2023-09-28 14:16:48 -06:00
julian
331f5c7614 update fusiondart ref 2023-09-28 11:44:17 -06:00
julian
b0b49f922f add fusion models export 2023-09-28 10:41:47 -06:00
julian
52e05b9833 ensure numberOfAddresses are returned and not more 2023-09-28 10:34:43 -06:00
sneurlax
485b4a1379 pass chainHeight, remove getChainHeight stub
typofix
2023-09-28 11:20:09 -05:00
sneurlax
6a2df4a76e feed in getChainHeight stub 2023-09-28 11:05:06 -05:00
sneurlax
372f95af07 update fusiondart ref and integration 2023-09-27 15:04:28 -05:00
julian
154c727316 Refactor getUnusedReservedChangeAddresses so it doesn't depend on purely Isar links to Transaction objects which will not guarantee to catch all used addresses. 2023-09-22 17:32:38 -06:00
julian
593d2c7e7e named record params and clear variable names 2023-09-22 17:00:56 -06:00
julian
55d8738acb check change addresses for transactions automatically in fusion interface change address getter function 2023-09-22 16:39:59 -06:00
julian
a4f8c52148 pass in getter function for electrumx instance instead of keeping an old reference if the node connection info has changed. This ensures the electrumx calls done from the fusion interface use the updated node info 2023-09-22 15:59:07 -06:00
julian
5527678b94 tor fusion service 2023-09-22 15:44:40 -06:00
julian
59ac1563bc decode hex 2023-09-22 14:25:38 -06:00
sneurlax
f2854c0bc6 fix scriptPubKeyHex 2023-09-22 14:49:08 -05:00
julian
7d2aaa28aa fix merge issue 2023-09-22 13:33:36 -06:00
sneurlax
722a72cff6 Merge remote-tracking branch 'origin/fusion' into fusion 2023-09-22 14:20:50 -05:00
sneurlax
55e6e56a2d replace bitcoindart with coinlib 2023-09-22 14:20:19 -05:00
julian
40b029351d slight change to output mapping 2023-09-22 13:01:02 -06:00
julian
af40bf3667 some FusionTransaction extension TODO cleanup 2023-09-22 12:50:59 -06:00
sneurlax
d1603d5f72 add pubKey to fusion inputs 2023-09-22 12:18:43 -05:00
julian
ec8d3ae1d8 Merge remote-tracking branch 'origin_SW/fusion' into fusion
# Conflicts:
#	lib/services/mixins/fusion_wallet_interface.dart
2023-09-22 10:50:01 -06:00
julian
4b964f611c fix static variable usage 2023-09-22 10:48:14 -06:00
sneurlax
ecdb49d84c add derivationPath in toFusionOutput 2023-09-22 11:45:16 -05:00
sneurlax
504fdaa239 query isar for pubkey of address 2023-09-22 00:38:32 -05:00
sneurlax
a2e3a2aafa implement schnorrVerify, documentation, comments, etc 2023-09-21 23:12:08 -05:00
sneurlax
7788ec7ace implement getAddressFromOutputScript in fusiondart and update comments 2023-09-21 16:57:21 -05:00
sneurlax
6b0dd30dee refactor address model changes back into fusion interface 2023-09-20 10:17:52 -05:00
sneurlax
4180cf6c44 refactor interface changes back into the interface 2023-09-19 22:14:34 -05:00
sneurlax
ef38e58b57 query electrum for missing tx info 2023-09-19 17:58:55 -05:00
sneurlax
183ac9dd27 placeholder pubkey and comment updates 2023-09-19 14:28:15 -05:00
sneurlax
2dcb82f049 update tor handling in fusion wallet interface
removed inaccurate comments ... Stack shouldn't use Tor unless useTor
2023-09-15 16:02:25 -05:00
sneurlax
a220b76c34 add todo note about fusion tor service 2023-09-15 14:22:05 -05:00
sneurlax
e173660715 formatting 2023-09-15 14:21:36 -05:00
Josh Babb
fafdb45e48 add getSocksProxyAddress passin, documentation, and comments 2023-09-14 17:28:11 -05:00
sneurlax
aba37faacb WIP join session, return early from covert
TODO fix `pubKey`s, `amount`s, etc passed in as 0000 or String? (whereas parameter is String for example, ie null awareness/safety)

Can instantiate a cached electrum client and call eg txid for info missing from the transaction blockchain model
2023-08-30 11:41:45 -05:00
sneurlax
5f1e936435 WIP refactoring, documentation, comments, warning reduction, formatting 2023-08-25 13:50:18 -05:00
sneurlax
a381cd0a47 FusionInterface->FusionWalletInterface
a la PayNymWalletInterface (big ups, mad respec)
2023-08-24 11:22:13 -05:00
sneurlax
e90fc3f271 remove misleading comment 2023-08-14 11:00:35 -05:00
sneurlax
bae46bb27d pass getUnusedReservedChangeAddresses to Fusion class 2023-08-08 09:32:11 -05:00
sneurlax
8eef870375 type disambiguation 2023-08-07 14:29:56 -05:00
sneurlax
32c0c55830 WIP generateChangeAddress->createNewReservedChangeAddress 2023-08-07 14:15:08 -05:00
julian
e4aa34509a WIP reserve addresses stuff 2023-08-07 12:54:44 -06:00
sneurlax
221c4e3fb7 WIP pass address generation function in 2023-08-07 13:07:37 -05:00
sneurlax
c620a5e23a WIP nextChangeAddress
WIP move reserve_change_addresses(int addresses) to fusion interface
2023-08-06 22:57:34 -05:00
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
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
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
87f12d9c3c Merge remote-tracking branch 'origin/staging' into fusion 2023-07-27 10:33:03 -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
julian
2fb94444c4 no more firo specific hive 2023-07-24 16:49:11 -06:00
julian
df0b004b82 finish up basic migrate lcoins hive => isar 2023-07-24 12:30:01 -06: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
abd4bf9d7a refresh inscriptions if needed and add utility func 2023-07-23 18:19:38 -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
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
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
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
f046912c89 litescribe api and demo 2023-07-20 14:53:09 -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
julian
58c97de86c WIP ordinal ui 2023-07-18 10:15:05 -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
likho
83778bb121 Fix Epiccash caching issue, add additional status messages as in Epicpay 2023-05-28 14:57:05 +02: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