Commit graph

783 commits

Author SHA1 Message Date
julian
11177b50c3 tx parsing fix 2023-03-01 15:19:53 -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
305b252573 replace 'net_*' calls with 'eth_*' alternatives 2023-02-27 16:49:20 -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
9c8fd22bfb WIP load and display token transactions 2023-02-24 14:07:59 -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
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
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
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
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
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
sneurlax
7666a9383d putAddresses->updateOrPutAddresses
should solve isar unique index violation error
2023-02-13 14:02:52 -06:00
julian
197a2a1f19 do not check addresses until refresh initiated 2023-02-13 12:13:30 -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
14b2424c3f epic address fix 2023-02-09 10:26:58 -06:00
julian
83bc26921b epic address fix 2023-02-08 09:57:26 -06:00
julian
998967245e migrate wallet on open 2023-02-08 07:29:27 -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
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
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
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
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
19bf4c0df6 scan following/followers for paynym history 2023-01-31 17:26:10 -06:00
julian
6df782647e btc send exact value of output fix 2023-01-31 13:44:56 -06:00
julian
0a264a97c5 pass p2pkh change address to paynym interface 2023-01-31 10:37:53 -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
likho
f7e2568e6a Add validation for custom addresses and clean up 2023-01-30 15:44:30 +02:00
julian
3985674525 dirty payment code obfuscation 2023-01-27 18:18:58 -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
451edbfc67 handle dropped mempool/blockchain transactions 2023-01-27 12:49:25 -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
fd0b20d661 Complete adding ERC-20 functionality 2023-01-27 14:32:05 +02: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
likho
dbcbfe342c WIP: Add test ETH Token functionality in stack 2023-01-26 20:08:12 +02: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
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
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
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
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
julian
6253652c21 detect paynym notification transactions 2023-01-23 16:11:24 -06:00
julian
69dfbb5873 paynym clean up to use isar transaction and address upgrades 2023-01-23 12:19:13 -06:00
julian
f3325807e0 null address fix 2023-01-23 10:37:29 -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
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
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
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
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
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
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
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
julian
5e592f8d29 epic index fix 2023-01-16 08:53:46 -06:00
julian
09b51def04 missing value init fix 2023-01-14 08:00:43 -06:00
julian
ea212b3dd8 useless print 2023-01-13 17:00:05 -06:00
julian
8a7236b46d clear out isar blockchain data per wallet when doing full rescan 2023-01-13 15:48:42 -06:00
julian
061658f2e9 dynamic map value fix 2023-01-13 15:44:14 -06:00
julian
3414c71741 update other coin's parse transaction and db update 2023-01-13 15:36:19 -06:00
julian
e14c362574 rename var 2023-01-13 14:59:47 -06:00
julian
5e7bd0d8ae fix bitcoin transaction refresh 2023-01-13 14:50:43 -06:00
julian
5819241c15 fix tx parse address bug 2023-01-13 14:50:22 -06:00
julian
cb382e213f separate tx note from transaction object to ensure total separation of blockchain data from other user to ease rescanning the blockchain 2023-01-13 13:33:46 -06:00
julian
94e6ebf53b insert inputs/outputs after finishing tx parse 2023-01-13 13:25:09 -06:00
julian
6310f0b1c7 only update missing or unconfirmed transactions 2023-01-13 12:00:25 -06:00
julian
0543c4b044 filter by address fixes 2023-01-13 12:00:02 -06:00
julian
52d5ab0d33 WIP tx parse + link address to transaction 2023-01-13 11:11:41 -06:00
julian
13e6fc6b47 restoring type fix 2023-01-13 09:26:37 -06:00
likho
5a1569b3fa Clean up and fixes 2023-01-13 16:36:50 +02:00
likho
78a64690ed Fix sendall 2023-01-13 11:21:10 +02:00
julian
7e6daad779 some small bug fixes 2023-01-12 16:07:15 -06:00
julian
8c67901c28 apply wallet cache mixin to rest of coin wallets and clean up hive code 2023-01-12 15:32:25 -06:00
julian
5c70cf7967 add mixins to firo_wallet.dart and remove directly interacting with hive therein 2023-01-12 15:20:57 -06:00
julian
85be646049 add mixins to epiccash_wallet.dart and remove directly interacting with hive therein 2023-01-12 14:58:58 -06:00
julian
1170f742e9 use balance caching in all wallets 2023-01-12 13:21:03 -06:00
julian
61a1ad551f clean up print 2023-01-12 12:55:57 -06:00
julian
4ab090cb92 remove unused hive inits 2023-01-12 12:54:22 -06:00
julian
3f830218a4 extract wallet isar db to mixin 2023-01-12 12:46:01 -06:00
julian
ccb9f254bd small bug fixes and added WalletCache mixin to handle balance cache etc 2023-01-12 12:15:28 -06:00
likho
27322061f6 Implement gas price oracle, Update all fees to use new gas estimate 2023-01-12 19:24:26 +02:00
julian
e115ff1b41 only use the PaymentData 'data' once and do not generate p2sh data using p2wpkh unless required 2023-01-12 09:52:41 -06:00
likho
ab4392b0bd WIP: Add transaction fees 2023-01-12 16:14:49 +02:00
likho
734a51f5dd WIP: Get gas estimator 2023-01-12 10:09:11 +02:00
julian
12a5eff178 missing value init 2023-01-11 22:45:59 -06:00
julian
a73e18df75 expose wallet isar instance to Manager 2023-01-11 21:23:21 -06:00
julian
3a185ead9a WIP paynym model parsing updates 2023-01-11 21:14:04 -06:00
julian
a989a26f62 migrate wownero_wallet.dart to isar transactions, addresses, and utxos, as well as the cleaner balance model 2023-01-11 21:09:18 -06:00
julian
c83ec074de migrate monero_wallet.dart to isar transactions, addresses, and utxos, as well as the cleaner balance model 2023-01-11 21:09:08 -06:00
julian
275e3ab4cb WIP migrate particl_wallet.dart to isar transactions, addresses, and utxos, as well as the cleaner balance model 2023-01-11 20:09:08 -06:00
julian
21f3d80d3a migrate namecoin_wallet.dart to isar transactions, addresses, and utxos, as well as the cleaner balance model 2023-01-11 19:22:44 -06:00
julian
c36d73f255 migrate litecoin_wallet.dart to isar transactions, addresses, and utxos, as well as the cleaner balance model 2023-01-11 18:59:01 -06:00
julian
90bf6a2bb2 migrate firo_wallet.dart to isar transactions, addresses, and utxos, as well as the cleaner balance model 2023-01-11 18:16:17 -06:00
julian
f551927603 migrate epiccash_wallet.dart to isar transactions, addresses, and utxos, as well as the cleaner balance model 2023-01-11 14:52:06 -06:00
julian
30d8f8b810 update isCancelled flag name to be consistent with other isar model bool values 2023-01-11 14:48:55 -06:00
julian
25a60920dd migrate bitcoincash_wallet.dart to isar transactions, addresses, and utxos, as well as the cleaner balance model 2023-01-11 13:30:03 -06:00
julian
493bf09578 migrate bitcoin_wallet.dart to isar transactions, addresses, and utxos, as well as the cleaner balance model 2023-01-11 12:24:16 -06:00
julian
90964b83c6 migrate dogecoin_wallet.dart to isar transactions, addresses, and utxos, as well as the cleaner balance model 2023-01-11 12:23:49 -06:00
julian
78db152ff4 clean up coinservice and manager classes to handle new isar models and balance model 2023-01-11 12:21:11 -06:00
likho
8b87c7367a Error fixes 2023-01-11 15:35:51 +02:00
julian
b0c62015a1 update enum value name 2023-01-10 17:57:00 -06:00
julian
d27af7243c modify experimental parseTransaction function to return the new Isar Transaction model 2023-01-10 17:55:19 -06:00
julian
9d6e2d0a0d update dogecoin to use isar for addresses and transactions 2023-01-10 17:52:27 -06:00
julian
8ee9428758 add currentHeight getter 2023-01-10 17:50:22 -06:00
julian
69e1d8d20b reduce minimum doge confirms 2023-01-09 15:47:10 -06:00
julian
cba33a1d69 notification tx record type storage fix and a couple other little fixes 2023-01-09 15:42:37 -06:00
likho
ae0a515384 Error fixes, remove hard coded values 2023-01-09 19:15:40 +02:00
julian
3c1bc42bbf added check functions too see if a notification tx was sent from my wallet to the target payment code, and if any transactions have been received on my notification address which are then cached/stored locally 2023-01-09 11:09:26 -06:00
julian
ae7dbeb988 WIP send/receive address derivation for the target payment code + my private key context 2023-01-09 11:05:13 -06:00
likho
357b08d4bf Error fixes 2023-01-09 13:10:34 +02:00
likho
045cf857fd Fix refresh loading forever 2023-01-08 17:19:58 +02:00
Diego Salazar
fcb2935d64
Merge pull request #309 from cypherstack/trusted-node
Add trusted node setting to Monero and Wownero
2023-01-06 17:20:49 -07:00
julian
e8ef0be977 WIP connect tx flow 2023-01-06 16:31:36 -06:00
sneurlax
227dd61be2 pass trusted to connectToNode 2023-01-06 14:55:06 -06:00
julian
54767947ed WIP notif txn 2023-01-06 13:55:47 -06:00
sneurlax
3794b18ba6 comment update 2023-01-06 11:15:32 -06:00
likho
b60122fd85 Transaction listing 2023-01-06 17:25:28 +02:00
julian
35a8172d35 paynym notif tx and tx parsing tweaks 2023-01-05 16:57:53 -06:00
julian
915458dbf3 dirty WIP notification tx creation 2023-01-05 12:48:18 -06:00
sneurlax
2495673f79 add getAddresses helper func for Firo
don't assume keys exist without checking them
2023-01-05 12:13:54 -06:00
sneurlax
2dbd81fd4c use getAddress with BTC, LTC, NMC, and PART 2023-01-05 12:13:26 -06:00
sneurlax
fb7c58f60a handle 0 amounts
use null operator where applicable
2023-01-05 12:12:38 -06:00
sneurlax
4d10727360 use getAddress with BCH 2023-01-05 12:09:01 -06:00
sneurlax
a902c77057 add getAddress helper func for transactions with odd outputs
OP_RETURN and some other output types can cause addresses to be placed in a list of strings or as a string under a different key; this handles that case
2023-01-05 12:09:01 -06:00
likho
5fcb65ba0c WIP: GET transactions 2023-01-05 18:04:45 +02:00
likho
5d77dcafbe ADd address validation and convert receive addresses as checksum addresses 2023-01-05 14:39:21 +02:00
likho
a6c2750f20 WIP: Get wallet transactions 2023-01-05 13:07:46 +02:00
likho
6b3d42033e WIP: GET address transactions 2023-01-03 17:15:27 +02:00
likho
5e67b5734c fix balance error when opening existing wallet and add chainId for sending 2023-01-03 14:50:32 +02:00
julian
b3ff38adb7 check and update ui if xmr/wow data found during re/scan 2023-01-02 16:43:57 -06:00
julian
66e9f87c0f increase xmr/wow autosave timer period 2023-01-02 16:43:51 -06:00
julian
e6416f2191 check and update ui if xmr/wow data found during re/scan 2023-01-02 16:43:39 -06:00
julian
95f5b41b4d increase xmr/wow autosave timer period 2023-01-02 16:43:04 -06:00
julian
f9491f8215 Merge branch 'xmr-sync' into paynyms
# Conflicts:
#	lib/utilities/enums/coin_enum.dart
2023-01-02 13:47:10 -06:00
julian
57add19e88 do not partially open monero wallets at the same time on startup 2023-01-02 09:13:00 -06:00
julian
9aa593146c wownero sync refactor 2022-12-30 16:15:03 -06:00
julian
e84051b140 xmr send fix 2022-12-30 12:30:11 -06:00
shillo
5accda7355 disable unsupported device locale on windows 2022-12-29 10:48:12 -06:00
julian
a60c4fef14 libmonero xmr sync listener callbacks 2022-12-28 10:25:55 -06:00
Diego Salazar
70039f7e4b
Merge pull request #270 from cypherstack/desktop
Desktop
2022-12-26 20:01:11 -07:00
likho
f9ec370070 WIP: get transactions data 2022-12-26 16:12:51 +02:00
likho
12388ba5ca WIP: Add ETH, getting transactions list 2022-12-23 13:51:36 +02:00
Likho
ff1f746a76
Particl fixes (#273)
* WIP: Fix particl for non standart txs send

* Use stackwallet default node and fix txs all appearing as received with incorrect amounts

* Clean up logging, fix all txs showing as received
2022-12-22 20:05:01 -06:00
julian
20249f3da8 stupid follow/unfollow hack 2022-12-21 19:07:13 -06:00
julian
7631d3f3c6 WIP follow/unfollow 2022-12-21 17:02:14 -06:00
julian
3b6d53d685 WIP paynym home view 2022-12-21 10:17:53 -06:00
julian
a491bfd70f WIP paynym ui and claim process 2022-12-20 17:00:03 -06:00
likho
b2c40c014a WIP: ADD ETH 2022-12-20 14:54:51 +02:00
ryleedavis
28f9fcaa0a added another todo: check print 2022-12-19 09:29:47 -07:00
ryleedavis
096d2c007e Merge branch 'desktop' of https://github.com/cypherstack/stack_wallet into desktop 2022-12-14 13:56:13 -07:00
likho
c6d5ad598c WIP:ADd Ethereum 2022-12-14 18:09:24 +02:00
likho
6370e927a2 WIP: Add Ethereum 2022-12-14 12:15:22 +02:00
likho
eca8ca21bc WIP: Add Ethereum 2022-12-13 19:39:19 +02:00
julian
ba344e2364 Merge branch 'staging' into desktop 2022-12-13 11:22:24 -06:00
julian
4f4d6f8e9d remove cached anon set server call 2022-12-13 11:21:46 -06:00
ryleedavis
390623560e debugPrints that aren't needed ? 2022-12-12 17:17:02 -07:00
Diego Salazar
2a38d5691e
Merge pull request #260 from cypherstack/add-particl
Add Particl
2022-12-12 16:13:43 -07:00
julian
236e04f849 epic node changes and fixes 2022-12-12 15:59:06 -06:00
julian
5f0e03dc1b add null check to epic wallet delete 2022-12-09 14:55:04 -06:00
sneurlax
7ec0606b08 account for ct_fee 2022-12-08 17:37:57 -06:00
sneurlax
028e77baf4 detect and handle ct and ringct transactions accordingly
and hopefully catch staking outputs as well
2022-12-08 13:51:49 -06:00
likho
0f7a5cb5e6 Clean up 2022-12-08 13:27:17 +02:00
likho
20dbb86742 Update pubspec.yaml to use commit for Particl flag in bitcoindart 2022-12-07 17:47:55 +02:00
likho
9309a86cfd Add back bip44, ensure we're using default bip84 addresses 2022-12-07 15:25:48 +02:00
likho
76c57eef64 Fix fetch tx error after broadcast 2022-12-07 14:46:53 +02:00
likho
b890fe61db Fix trailing bytes issue 2022-12-06 20:22:14 +02:00
likho
d4f494bbaa Use bip44 change addresses and remove trailing zeros from tx 2022-12-06 18:02:46 +02:00
likho
03ac0f2778 Commit before change address to bip84 2022-12-06 14:46:08 +02:00
likho
e18aa8bd3a Default to P2WPKH to get witnessScript 2022-12-05 16:53:21 +02:00
likho
bc5e7fcaac Remove P2SH 2022-12-05 12:52:59 +02:00
likho
b1d2d1ce26 Remove default bip84 for address to get bubKey type addresses and WIP: Fix TX signing 2022-12-04 16:17:41 +02:00
likho
8e2c8c8b53 WIP: trim hex at beginning 2022-12-02 20:52:38 +02:00
likho
3d5e8812e1 WIP: DEbugging txinwitness data 2022-12-01 22:19:32 +02:00
likho
3d0c5092cb Update, uncomment signing tx 2022-12-01 17:07:43 +02:00
sneurlax
f0f008471c add isParticl param to relevant bitcoindart calls 2022-11-30 13:28:12 -06:00
julian
d86f0de130 timeout check server features on wallet creation (allow offline new wallet creation on timeout) 2022-11-30 09:54:46 -06:00
julian
5c9664c667 Revert "do not check server features on wallet creation (allow offline new wallet creation)"
This reverts commit 745abe0f10.
2022-11-30 09:46:28 -06:00
julian
745abe0f10 do not check server features on wallet creation (allow offline new wallet creation) 2022-11-30 09:22:58 -06:00
likho
3d8ae35956 Fix address has no matching Script error 2022-11-30 11:02:52 +02:00
sneurlax
2df3b0f3ed update particl tests to the point of testing address validity 2022-11-29 14:27:15 -06:00
sneurlax
61f3135889 port recent updates from bitcoin_wallet to particl_wallet 2022-11-29 13:41:47 -06:00
sneurlax
a52f232510 pass secureStorageInterface to coin service 2022-11-29 13:40:51 -06:00
sneurlax
1d7147d330 update secure storage interface 2022-11-29 13:15:00 -06:00
sneurlax
ec399ade0a Remove testnet 2022-11-29 13:14:11 -06:00
sneurlax
c7abf3a7e8 WIP: Add particle 2022-11-29 13:11:30 -06:00
julian
85b9fdc2f3 random hardcoded values :/ 2022-11-23 12:42:23 -06:00
julian
adee71224b Format coin amounts improvements, fixed fee rates display issue, use hard coded xmr estimates for now 2022-11-23 12:42:23 -06:00
julian
719c7abd49 clean up logs 2022-11-19 13:48:31 -06:00
julian
d4d85259e1 logging fix 2022-11-19 13:20:03 -06:00
julian
5b47d5806d disable seemingly pointless code 2022-11-14 09:25:06 -06:00
julian
0164679cce File system path clean up 2022-11-12 16:07:57 -06:00
julian
f08a52cd07 remove direct dependency of unused SharedPreferences 2022-11-12 09:16:07 -06:00
julian
077ba6429b Merge branch 'staging' into desktop-testing 2022-11-11 13:24:00 -06:00
julian
9b09f65f4d remove flutter secure storage explicit instantiations from wow/xmr 2022-11-11 12:12:01 -06:00
julian
b6613b2fd7 stop logging monero sync non-error 2022-11-11 09:33:58 -06:00
julian
676b26ce37 stop logging annoying monero sync non error 2022-11-11 09:30:13 -06:00
sneurlax
07c99309ff use native address validation 2022-11-10 10:21:07 -06:00
julian
c7a6ffd3e4 Merge branch 'staging' into desktop-testing 2022-11-09 17:58:34 -06:00
julian
3ee0e97628 DesktopSecureStore implementation using Isar as backend, renamed FlutterSecureStorageInterface 2022-11-09 17:55:34 -06:00
julian
2bdf5f152c dynamic secure storage provider 2022-11-09 17:55:34 -06:00
sneurlax
bad88aeecb
Merge branch 'staging' into wownero/25-word 2022-11-09 08:33:15 -06:00
sneurlax
357b93d6e8 use wownero.getHeightByDate
and save bufferedHeight upon Monero wallet creation
2022-11-09 00:16:21 -06:00
sneurlax
d23f6f2823 return to use of final for bufferedCreateHeight using inline if
and use wowlet's height estimation function for 14 word seeds
2022-11-08 13:48:29 -06:00
sneurlax
48e8501e27 cherrypick e41f8088b0 2022-11-08 13:35:27 -06:00
julian
e41f8088b0 WIP: wownero 25 word seed option ui 2022-11-08 12:00:10 -06:00
sneurlax
7c3d40782c add generation tests and update flutter_libmonero ref
change seedWords to SeedWordsLength to match rest of codebase
2022-11-08 09:55:15 -06:00
julian
fa0c982274 Return what we internally consider the "txid" for epic transactions from the epic confirmSend to be consistent with all other coins confirmSend return value. This should fix the epic notes issue. 2022-11-08 07:35:28 -06:00
julian
c962f597fd added extra checks to BCH as well as test cases 2022-11-07 15:48:27 -06:00
sneurlax
b41c4c37bd delineate divergence point more clearly 2022-11-07 14:46:48 -06:00
sneurlax
6e5a0bad78 do not use wownero-seed (wow_seed) function for height, hardcoded POC 2022-11-07 14:42:52 -06:00
julian
bb260e3a23 hacky fix (due to current persistence design) to get sent transactions showing up right away for electrumx coins 2022-11-07 10:24:37 -06:00
julian
e87aa64e1b isFavorite bandaid fix for https://github.com/cypherstack/stack_wallet/issues/203 2022-11-05 09:40:28 -06:00
julian
7dbc9d270b temp bch send fix testnet and fix tests 2022-11-04 18:18:39 -06:00
julian
74b075328f temp bch send fix 2022-11-04 17:42:45 -06:00
julian
ccd94fcf86 bch compare address type to constant names instead of int literals 2022-11-04 17:42:45 -06:00
julian
039a9a68f6 bch clean up linter warnings and unused variables 2022-11-04 17:42:45 -06:00
Marco
c0fddcd822 add litecoin support 2022-10-28 12:03:52 -06:00
Marco
4c4df1b618 before changes for litecoin 2022-10-27 17:24:14 -06:00
Marco
6cc0feb025 get rid of incorrect fatal error 2022-10-20 10:00:45 -06:00
Marco
27c2e38311 fix bitcoin cash tests 2022-10-19 16:16:00 -06:00
Marco
2a3997e837 refresh bitcoin cash cache if it has old data 2022-10-19 16:05:36 -06:00
Marco
46d5f26054 fix bitcoin cash null errors 2022-10-19 14:21:48 -06:00
Marco
d2120cd171 firo public send fix 2022-10-18 13:15:57 -06:00
Marco
604c2b4a63 increase firo mint search gap 2022-10-18 11:28:14 -06:00
Marco Salazar
9df7894142
Merge pull request #137 from cypherstack/ui-fixes
firo mint notification description
2022-10-15 16:53:54 -06:00
Marco
c7d4c4fc70 fix null error bug, firo restores faster again 2022-10-15 14:49:52 -06:00
julian
b4b9e09a0e firo mint notification description 2022-10-15 11:57:00 -06:00
Marco
3c29b9acdf temp fix for firo infinite fee estimate 2022-10-13 13:01:49 -06:00
Marco
764c66ee08 fix ui bug where chosen fee field doesnt show the updated user fee 2022-10-12 18:09:17 -06:00
Marco
deec0cdddb fix monero and wownero fee estimates for sending. fix some ui bugs 2022-10-11 19:54:50 -06:00
Marco
da941376be fix monero and wownero sendall 2022-10-11 16:36:41 -06:00
Marco
e1e4100a6d namecoin electrumx fixes 2022-10-07 11:50:26 -06:00
Marco
efe312c1f6 fix namecoin bug with getting address 2022-10-05 16:27:13 -06:00
Marco Salazar
3b9082739c fix ios wownero build fully 2022-10-04 17:44:59 -06:00
Marco
956fa6a31c make linux folder hidden 2022-10-04 12:41:48 -06:00
Marco
2de7692375 organize linux monero saves 2022-10-04 12:29:50 -06:00
julian
02bc6060f5 wow min confirms updated to match standard network requirements 2022-09-30 17:00:21 -06:00
julian
2e2732ad2a remove print 2022-09-29 08:53:12 -06:00
julian
6f594ade52 wownero 11 decimal places fixes 2022-09-28 17:15:16 -06:00
julian
80a7b3de8a confirms null check 2022-09-28 09:46:46 -06:00
Marco
26b7306d22 Merge branch 'staging' into wow
# Conflicts:
#	assets/images/wownero.png
#	lib/pages/add_wallet_views/restore_wallet_view/restore_wallet_view.dart
#	lib/services/coins/coin_service.dart
#	lib/utilities/address_utils.dart
#	lib/utilities/assets.dart
#	lib/utilities/cfcolors.dart
#	lib/utilities/constants.dart
#	lib/utilities/default_nodes.dart
#	lib/utilities/enums/coin_enum.dart
#	pubspec.yaml
2022-09-27 16:16:20 +08:00
Marco
d3767ed31e more wow fixes 2022-09-27 16:09:31 +08:00
julian
57f0ea5ead Merge branch 'desktop' into testing
# Conflicts:
#	lib/pages/add_wallet_views/restore_wallet_view/restore_options_view/restore_options_view.dart
#	lib/pages/wallet_view/transaction_views/transaction_search_filter_view.dart
#	lib/utilities/text_styles.dart
#	test/services/coins/bitcoincash/bitcoincash_wallet_test.dart
2022-09-26 14:35:58 -06:00
julian
84db4ac17f enable bch 2022-09-26 14:32:53 -06:00
Likho
c0e80f828f Merge remote-tracking branch 'origin/desktop' into add-p2sh-for-bch 2022-09-26 10:43:45 +02:00
Likho
04f80c61a5 WIP: Fix bch tests 2022-09-26 10:12:54 +02:00
julian
669001c921 nmc tx parse fix 2022-09-25 13:12:10 -06:00
julian
cf8b0ea83a nmc tx parse fix 2022-09-25 13:11:10 -06:00
julian
2d5b73c45e firo private send vsize check 2022-09-24 10:55:01 -06:00
julian
5653bf173d firo private send vsize check 2022-09-24 10:16:56 -06:00
julian
2e965e45ae enable namecoin 2022-09-23 15:02:53 -06:00
Likho
d4cfea4bb7 WIP: Fix failing tests 2022-09-23 17:14:22 +02:00
Likho
909436afdc WIP: Add p2sh address for bch 2022-09-23 14:31:14 +02:00
julian
43b673ec0d dark mode testing without partial nmc+bch 2022-09-22 18:06:19 -06:00
Likho
8bb6ba6ab7 WIP: Update dust limit for nmc and bch, update nmc history data 2022-09-19 19:38:32 +02:00
Likho
25bcb9b94d Merge remote-tracking branch 'origin/testing' into implement-name-coin 2022-09-19 15:39:41 +02:00
Likho
d032690101 WIP: Testing nmc and bch 2022-09-19 15:38:32 +02:00
julian
cd80e9f4d2 Merge branch 'implement-name-coin' into testing 2022-09-16 12:31:47 -06:00
Likho
f9c5859756 WIP: TEsting bch 2022-09-16 15:44:27 +02:00
Likho
aba579f64e WIP: Fix bch failing tests, add testnet 2022-09-16 13:13:30 +02:00
Likho
2f5650ce30 WIP: BCH and NMC tests 2022-09-15 21:41:12 +02:00
julian
8b4215c6a1 Update required btc confirms to 1 2022-09-14 15:52:25 -06:00
Likho
c5ff6dfed5 Fix: Test sending and receiving 2022-09-13 20:18:45 +02:00
Marco
5bc4f25c15 namecoin receiving and sending 2022-09-13 21:12:21 +08:00
Likho
567d549747 WIP: Update namecoin network 2022-09-13 12:58:04 +02:00
julian
4ebda4ad21 updated doge tests to reflect speedup modifications 2022-09-12 11:35:26 -06:00
Likho
1419023ec9 Merge remote-tracking branch 'origin/ui-testing' into implement-name-coin
# Conflicts:
#	test/cached_electrumx_test.mocks.dart
#	test/electrumx_test.mocks.dart
#	test/screen_tests/exchange/exchange_view_test.mocks.dart
#	test/services/coins/manager_test.mocks.dart
2022-09-12 18:00:24 +02:00
julian
ea17eb5676 updated firo tests to reflect speedup modifications 2022-09-12 09:22:05 -06:00
julian
cdbce96f40 faster epic address loading 2022-09-12 07:26:06 -06:00
Likho
84694fa1dd WIP: Add namecoin 2022-09-12 14:01:42 +02:00
Likho
6a418c4215 WIP : Adding name coin 2022-09-12 10:30:32 +02:00
Likho
25c395e070 Merge remote-tracking branch 'origin' into add-bitcoincash 2022-09-12 09:47:12 +02:00
julian
4ad5bd6e6d linter warning clean up 2022-09-09 11:14:38 -06:00
Marco
d8bc213749 between 2-4x speed increase for restore, first refresh, and nth refresh 2022-09-09 23:07:27 +08:00
Likho
6fab5c9976 Add images for bch 2022-09-09 12:59:40 +02:00
julian
1e89f4e58b fetch server cached anonymity sets for huge increase in firo restore speed 2022-09-08 14:02:07 -06:00
Marco
519cba2b1e get anon set http post call 2022-09-09 00:25:41 +08:00
Marco
d672c2bd17 send all for private funds in firo, and bug fix for failing to load wallets 2022-09-08 20:45:38 +08:00
julian
16cd9b6cee received jsplit not showing as confirmed in ui fix 2022-09-07 16:14:10 -06:00
julian
88df57177b public firo fee estimate and firo fee ui updates 2022-09-07 10:58:54 -06:00
julian
15c4d0e617 non lelantus firo sends 2022-09-07 09:56:10 -06:00
Likho
e365bb0c16 Update blockexplorer for bch and fix USD amount not showing in send view 2022-09-07 17:43:39 +02:00
julian
f8c8dcabfc update btc dust limit 2022-09-07 08:20:32 -06:00
Marco
cbb3c3f241 bitcoin cash sending works for legacy and new addresses bip44 2022-09-07 20:54:18 +08:00
Likho
5cbaa597d3 Update bch network 2022-09-07 13:11:50 +02:00
julian
fbc398bc14 WIP firo redesign 2022-09-06 17:27:14 -06:00
julian
94941dfb94 bring back minting without automatically initiating it and do not merge mint transaction with receive 2022-09-06 15:55:01 -06:00
julian
7a23cfc4d2 extra balance getters in firo 2022-09-06 15:52:51 -06:00
julian
d2fbb7a4ba clean up linter warnings and disable auto minting 2022-09-06 09:34:39 -06:00
Likho
d5b82f26f7 WIP: Add bitcoincash 2022-09-06 16:17:45 +02:00
julian
497e8791b0 Merge branch 'staging' into ui-testing 2022-09-06 07:37:50 -06:00
Marco
88bc15fcd3 firo anonymity set mint saving error 2022-09-06 19:47:57 +08:00
julian
d6618518ad receive screen redesign and added generate new address button 2022-09-05 19:18:45 -06:00
julian
57814fab4b remove redundant null check operator 2022-09-03 11:51:08 -06:00
Likho
9d68ffe6b2 Fix HTTP send dart errors 2022-09-01 17:02:22 -05:00
Likho
b076e76881 Resolve merge conflicts with staging 2022-09-01 16:29:00 -05:00
Likho
cfcd7a7928 Implement HTTP sending and use Julian's error checking 2022-09-01 16:17:46 -05:00
Likho
91b4fdf450 Merge remote-tracking branch 'origin/staging' into open-wallet-and-store 2022-09-01 11:07:40 -05:00
julian
ffef1011c1 epic http address support in ui and some async lint fixes 2022-09-01 08:48:52 -06:00
julian
2e459ffb9f add an await in btc rescan 2022-08-31 12:49:44 -06:00
julian
8b3c15ca9e log level fix 2022-08-31 12:28:47 -06:00
julian
f63c5e5cc7 add some detail to logging 2022-08-31 11:49:19 -06:00
Likho
3ef6bf3b30 Merge branch 'main' into open-wallet-and-store 2022-08-30 08:22:42 -05:00
Likho
0eaf4eb5e2 Clean up logs 2022-08-30 08:00:23 -05:00
Likho
345889c566 Delete already processed slate 2022-08-30 07:57:48 -05:00
Likho
652da68e25 Open wallet once and store instrance 2022-08-30 07:26:45 -05:00
julian
47bd246c7b fix firo double-or-int parse bug 2022-08-29 17:29:38 -06:00
julian
1aef4cd43c possible firo tests threading fix 2022-08-29 09:02:06 -06:00
Marco
7bd2b6b38a fixes firo but removes firo testnet 2022-08-29 21:50:02 +08:00
Marco
63231c242b fully fix monero UI issues 2022-08-28 20:00:30 +08:00
Marco
795626af7e UI bugfix for monero 2022-08-28 12:14:42 +08:00
Marco
0de35c249c possible fix for monero syncing bug 2022-08-28 00:06:04 +08:00
Marco
b41d31fd32 first commit 2022-08-26 16:11:35 +08:00