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
detherminal
84ac798bb8
docs: add copyright header to all source code
2023-05-26 19:33:04 +03:00
julian
74d3175d87
fix: Handle sent to self transactions when sent to a change address
2023-05-25 09:24:07 -06:00
julian
40dfced949
fix: default to 0 mint index if none saved
2023-05-23 10:43:08 -06:00
julian
9749443472
clean up notif node calls
2023-04-26 16:12:24 -06:00
julian
b14263eca5
clean up root node calls
2023-04-26 16:11:28 -06:00
julian
1dc2a3ce15
fix signing paynym received inputs
2023-04-26 15:12:36 -06:00
julian
a236316291
unused code cleanup
2023-04-26 13:11:24 -06:00
julian
8018a887cf
paynym address generation clean up
2023-04-26 12:27:29 -06:00
julian
fea0aeea64
paynym amount fixes
2023-04-25 15:08:00 -06:00
julian
cf694d6cdd
init fix
2023-04-25 11:32:57 -06:00
julian
5ad161e6a9
add initial segwit paynym support
2023-04-25 10:45:02 -06:00
julian
6fb93b00ff
organize constants
2023-04-25 09:24:14 -06:00
julian
f9aac8ea36
clean up remaining add derivation stuff in btc and paynyms
2023-04-20 18:47:07 -06:00
julian
8e73e3ecba
pass bip32 root node is available to save generation time
2023-04-20 12:35:08 -06:00
julian
5bf678d41a
Balance class clean up
2023-04-10 12:00:23 -06:00
julian
c0105a2058
available balance fix
2023-04-09 13:07:09 -06:00
julian
72d6e636f0
Merge remote-tracking branch 'origin/staging' into ui-fixes
...
# Conflicts:
# lib/services/coins/manager.dart
2023-04-07 18:56:59 -06:00
julian
839ee314a2
xpub refactor to include coin network type in generation
2023-04-07 18:44:43 -06:00
julian
25ff880280
move amount.dart file
2023-04-06 15:24:56 -06:00
julian
81c612ddd7
WIP use Amount
2023-04-05 16:06:31 -06:00
julian
c8139007e3
use new transaction nonce property
2023-03-31 10:18:51 -06:00
julian
5e5730d5a5
eth token wallet general ui and wallet selection interface
2023-03-28 16:18:11 -06:00
julian
b2b9accee1
add serialized amount string to transaction
2023-03-24 15:31:05 -06:00
julian
b1d5b7f6ea
store user added token contracts in wallet hive box for now
2023-03-23 09:39:22 -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
260771061c
prepare paynym interface to use SigningData
2023-03-09 12:31:36 -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
ea49ed32ab
update balance after viewing coin control
2023-03-08 12:22:33 -06:00
julian
7319f509f0
add coin control option to mobile more menu + assets fix
2023-03-06 10:34:41 -06:00
julian
babbd75da3
use database contract data and contract management updates
2023-03-02 18:40:12 -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
e3548c5ecc
WIP wallet token management
2023-02-28 18:36:54 -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
05d14b0e42
blinding bugfix
2023-02-24 20:26:32 -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
4bd55f6ee3
disable broken paynym connection status caching
2023-02-22 05:47:30 -06:00
julian
f76807d8a5
paynym connected bugfix and connection check caching
2023-02-21 13:13:11 -06:00
julian
774f2071b6
paynym bugfix
2023-02-15 18:39:36 -06:00
julian
76794f14b8
update bip47 lib
2023-02-15 16:16:34 -06:00
julian
279d37c06e
paynym send bug fix
2023-02-10 11:51:54 -06:00
julian
9b4dee76a5
add derivationPath to Address constructor as required
2023-02-03 17:30:32 -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
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
aec33094d6
payment code lookup fix
2023-02-01 16:46:49 -06:00
julian
b64ffe91b7
paynym receiving address scanning fix
2023-02-01 11:23:09 -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
2e7d55bda4
btc notification tx fix
2023-01-31 12:17:32 -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
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
julian
3985674525
dirty payment code obfuscation
2023-01-27 18:18:58 -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
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
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
julian
828c301af7
mobile paynym send flow implemented
2023-01-26 12:16:38 -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
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
julian
37fa5e9d19
remove old file and add todos
2023-01-24 16:18:17 -06:00
julian
6253652c21
detect paynym notification transactions
2023-01-23 16:11:24 -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
julian
165021ca2e
Merge branch 'isar_migrate' into paynyms
2023-01-20 17:27:18 -06:00
julian
017719971b
isar init fix and renaming of init functions
2023-01-20 15:57:54 -06:00
julian
5c66b0380b
move standard electrum x transaction parsing function into a mixin
2023-01-20 12:16: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
julian
5562c14527
WIP refactor to single main isar db
2023-01-16 15:04:03 -06:00
julian
7fc4b724c4
add replace tx logic for potentially unconfirmed transactions to update properly
2023-01-13 17:36:59 -06:00