Commit graph

287 commits

Author SHA1 Message Date
julian
ae697928a6 no caching or switching of currencies based on exchange selection 2023-02-08 11:37:58 -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
julian
243acd09ba fix when leaving and returning to exchange view 2023-02-06 15:50:18 -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
f174efcec0 clean up and exchange form state bug fixes 2023-02-06 10:27:24 -06:00
julian
be2a52301e clean up and QoL mods to exchange_form_state.dart 2023-02-06 09:44:23 -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
julian
4345a67d3f currency select function fix 2023-02-05 15:25:35 -06:00
julian
1455808d7a WIP refactor exchange to use isar as cache instead of in memory using riverpod 2023-02-05 14:32:39 -06:00
julian
a3b5ba5b04 majestic bank dart api impl 2023-02-04 09:16:05 -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
julian
3ba9f7d61b WIP majestic bank order calculate api call 2023-02-02 14:18:27 -06:00
julian
8bdf0413bd majestic bank limits and rates api calls 2023-02-02 12:56:55 -06:00
julian
bc5dc9a5d7 simple receiving addresses list view 2023-02-01 09:30:29 -06:00
julian
5de22ca858 Merge branch 'simplex' into paynyms 2023-01-26 10:16:01 -06:00
sneurlax
5f2b0de2d1 dart linting 2023-01-25 16:43:13 -06:00
sneurlax
64da385d29 add order to simplex model 2023-01-25 16:42:39 -06:00
sneurlax
4ae7876322 linting 2023-01-25 16:42:29 -06:00
sneurlax
2d7a50a5a1 linting 2023-01-25 16:42:21 -06:00
sneurlax
10c5a0a4b3 linting
remove unused functions and comments
2023-01-25 16:42:14 -06:00
sneurlax
510e0887ce remove pair 2023-01-25 16:42:10 -06:00
sneurlax
c0836f9c67 remove image property from Fiat and Crypto models
and don't check for them in selection views
2023-01-24 13:29:05 -06:00
sneurlax
32ca83673a Merge remote-tracking branch 'cypherstack/ui-fixes' into simplex 2023-01-24 12:29:13 -06:00
julian
165021ca2e Merge branch 'isar_migrate' into paynyms 2023-01-20 17:27:18 -06:00
sneurlax
2e6dfe0f62 fix cryptos with null networks/contractAddresses 2023-01-20 15:45:53 -06:00
sneurlax
c3dd04b830 use simplex_api supported_fiats and update fiat model 2023-01-20 15:45:37 -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
sneurlax
adf83aa3a6 use simplex_api supported_cryptos and update crypto model 2023-01-20 15:30:35 -06:00
julian
c1182f61bc start centralizing custom exceptions 2023-01-20 12:25:32 -06:00
sneurlax
2ad0659cbc add SimplexOrder model and return it from simplex API
TODO add redirect API call which url_launcher's the redirect endpoint
2023-01-19 23:10:15 -06:00
sneurlax
8a1eee204b purchaseId -> id
because SimplexOrder qill have a quoteId, paymentId, and userId...
2023-01-19 17:47:27 -06:00
sneurlax
7191e502db use new cypherstack/simplex_api for quotes, update SimplexQuote
and add bool buyWithFiat to SimplexQuote to disambiguate request
2023-01-19 13:36:05 -06:00
julian
89f0704bd4 revert late on isLelantus 2023-01-18 18:03:53 -06:00
julian
42e53c31a6 build runner 2023-01-18 17:48:44 -06:00
julian
f507f6a60a make fields final and other small QOL changes 2023-01-18 17:45:51 -06:00
julian
4dabeebfab WIP migrate 2023-01-18 14:29:24 -06:00
sneurlax
e6a19d981d pass receiving address on to preview sheet 2023-01-16 18:08:37 -06:00
julian
d1f237ae51 explicit isar model constructors 2023-01-16 16:37:00 -06:00
sneurlax
0dff63d9ac put buy quote preview in floating sheet on desktop
TODO check if this breaks mobile
2023-01-16 15:35:38 -06:00
sneurlax
7eefe196c9 simplex supported currencies provider -> simplex provider
we may need to store a quote or "estimate" in the provider for UI dataflow purposes (because we can't run async functions in widget builds/constructors?)
2023-01-16 15:35:32 -06:00
julian
5562c14527 WIP refactor to single main isar db 2023-01-16 15:04:03 -06:00
julian
650ae9fe09 buy quote preview view and sample quote class 2023-01-15 18:09:11 -06:00
sneurlax
79edf1292d remove unneeded buy type and buys service
no history needed at this time
2023-01-13 19:12:03 -06:00
sneurlax
64662c9076 clean up buy form state functions
TODOs here
2023-01-13 19:00:07 -06:00
sneurlax
cfe40c76d9 change amount widget as in send views, read currency selections from API 2023-01-13 18:07:27 -06:00
julian
c503e8f8d8 confirms bugfix 2023-01-13 17:26:24 -06:00
julian
c1e860ff52 getConfirms fix 2023-01-13 16:45:20 -06:00
julian
afdc496331 update address model link 2023-01-13 15:57:49 -06:00
julian
4dd41a5048 update address class for nonWallet address flag 2023-01-13 14:49:56 -06:00
julian
f53a293583 build runner 2023-01-13 13:35:21 -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
sneurlax
61c971973c restyle coin and fiat selection widgets
and:
 - available -> supported
 - do not load simplex data on desktop menu item action
2023-01-13 13:14:56 -06:00
julian
d119296492 build runner 2023-01-13 11:13:52 -06:00
julian
52d5ab0d33 WIP tx parse + link address to transaction 2023-01-13 11:11:41 -06:00
sneurlax
44d3c26385 add available simplex currencies provider 2023-01-12 20:21:19 -06:00
sneurlax
b18ee6ba19 pare down crypto and fiat types and WIP stash of progress 2023-01-12 15:15:42 -06:00
julian
ccb9f254bd small bug fixes and added WalletCache mixin to handle balance cache etc 2023-01-12 12:15:28 -06:00
julian
1a7439f6a6 isar model updates 2023-01-11 21:16:45 -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
e203da866d add general balance model to reduce clutter 2023-01-11 12:17:29 -06:00
julian
5937d92aee update isar models 2023-01-11 12:16:52 -06:00
sneurlax
2d6447eedd add fiat selection view 2023-01-11 11:49:59 -06:00
sneurlax
9724b40848 add fiat crypto toggle and crypto selection list 2023-01-11 11:19:19 -06:00
sneurlax
c746eb8865 23-1-10 updates
nonatomic updates
2023-01-11 09:54:39 -06:00
julian
f1131e3d61 missing updated address generated file 2023-01-10 18:13:37 -06:00
julian
b0c62015a1 update enum value name 2023-01-10 17:57:00 -06:00
julian
fdaa3f7d9d update isar transaction model 2023-01-10 17:51:34 -06:00
julian
ce05a647f0 update isar address class 2023-01-10 17:49:31 -06:00
sneurlax
290adfec21 stub pages for mobile and desktop
lots of extra code, lots of commented sections, the models are wrong, the pages just load on desktop and mobile.  need to complete the form and ... well, there's a lot, really
2023-01-10 15:25:20 -06:00
julian
064421cfba models modification and simple export 2023-01-10 14:40:09 -06:00
julian
279d7f37bd clean up 2023-01-10 11:51:38 -06:00
julian
fedb91f11c WIP isar address class 2023-01-10 11:29:36 -06:00
julian
3de937fe03 switch values that change over time to computed properties 2023-01-10 11:22:52 -06:00
julian
a0df73551e update generated files 2023-01-10 10:02:54 -06:00
julian
5712fab88f WIP Isar transaction sub type enum 2023-01-10 09:21:22 -06:00
julian
c4cc5b1a02 WIP Isar transaction object skeletons 2023-01-10 09:13:22 -06: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
likho
b60122fd85 Transaction listing 2023-01-06 17:25:28 +02:00
sneurlax
6391e474f0 add trusted flag to node model
node model fix
2023-01-05 14:32:36 -06:00
sneurlax
fb7c58f60a handle 0 amounts
use null operator where applicable
2023-01-05 12:12:38 -06:00
sneurlax
a62d94a60d handle 0 amounts 2023-01-05 12:09:01 -06:00
julian
d957cad4ba add copy constructor and properly update paynym account model, as well as fix desktop navigation on follow/unfollow 2023-01-04 14:56:36 -06:00
julian
929723d0d5 node model fix 2023-01-04 14:46:14 -06:00
julian
0e5de0d890 add trusted flag to node model 2023-01-04 14:31:49 -06:00
julian
0b30ac435b add toString() to paynym response object 2023-01-04 08:34:18 -06:00
julian
f3b1d11a46 added paynym response objects and refactored paynym.is api 2023-01-02 15:16:01 -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
ryleedavis
926ec66e83 Merge branch 'staging' into ui-fixes 2022-12-26 15:03:19 -07:00
ryleedavis
0f9eae07b3 SimpleSwap removed from UI + doesn't fetch rates 2022-12-26 14:06:51 -07: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
b11bd0c20c add follower/following entity 2022-12-21 17:24:08 -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
bbd04f46bb created_paynym object 2022-12-20 16:58:25 -06:00
ryleedavis
096d2c007e Merge branch 'desktop' of https://github.com/cypherstack/stack_wallet into desktop 2022-12-14 13:56:13 -07: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
sneurlax
4aa6fc5d80 do not trigger null safety 2022-12-08 17:37:51 -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
julian
779bf20cc4 desktop trade steps flow fade transition and state management updates 2022-11-30 15:23:26 -06:00
julian
bd72f65fc9 allow empty address forms in contact address form validation 2022-11-29 10:33:40 -06:00
julian
276d08d22f allow default node deletion if other nodes exist 2022-11-25 14:28:53 -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
3ee0e97628 DesktopSecureStore implementation using Isar as backend, renamed FlutterSecureStorageInterface 2022-11-09 17:55:34 -06:00
julian
ccdfa8db44 WIP: transaction filter+search fixes 2022-10-28 16:51:50 -06:00
julian
3177563524 exchange rate update fix 2022-10-20 09:03:16 -06:00
Marco
dd00e76623 red warnings not on 0 for exchange 2022-10-15 20:47:59 -06:00
julian
8f2567f340 can exchange check updated 2022-10-14 12:21:00 -06:00
julian
b7d8e5db63 exchange swap currency fix 2022-10-14 11:41:10 -06:00
julian
907f55a418 fixed rate currency selection ui update fix 2022-10-14 11:30:36 -06:00
julian
9acdf9cfc4 remove unused files 2022-10-04 18:57:01 -06:00
julian
a37b518f7e WIP show rates 2022-10-04 13:10:44 -06:00
julian
2c8ba8405f added simpleswap data loading, cleaned up providers, modified exchange process 2022-10-04 11:06:14 -06:00
julian
a8396977ef changenow reverse fixed rate trade support 2022-10-03 18:55:12 -06:00
julian
bb12e149f6 exchange form state implementation and various small bug fixes 2022-10-03 18:01:04 -06:00
julian
670c32aeaf generic rate estimate 2022-10-03 10:30:50 -06:00
julian
c182557b30 generic market pair 2022-10-03 09:41:53 -06:00
julian
f2eaba178c update tests and generated files 2022-10-02 18:55:35 -06:00
julian
58deb850f2 move from the changenow specific ExchangeTransaction model to Using the generic Trade model 2022-10-02 18:54:35 -06:00
julian
fd0070411d Currency parse fix 2022-10-02 18:49:12 -06:00
julian
9af457d1c6 refactor changenow api 2022-10-02 15:03:40 -06:00
julian
cdcda481bf changenow trade to generic trade db migration 2022-10-02 14:46:50 -06:00
julian
65cedbac02 simpleswap impl 2022-10-02 14:02:10 -06:00
julian
6126588e60 WIP simpleswap and generic exchange 2022-10-02 13:37:11 -06:00
julian
f61621896c Show wallet name for default/MyStack contact addresses on popup 2022-09-14 15:52:38 -06:00
julian
0710b63129 changenow fixes and update fixed rate to be more accurate in displaying rates 2022-09-08 10:56:29 -06:00
julian
e97ccf812e estimated/floating rate fixes and optimizations 2022-09-03 11:41:00 -06:00
julian
992797d907 file rename 2022-08-31 16:12:31 -06:00
julian
b49955b234 some estimated exchange refactoring, fetch estimated rate on reversing trade pair, 2022-08-31 12:06:57 -06:00
julian
9276809e28 added edge case Logging 2022-08-30 16:47:40 -06:00
julian
71826d4da3 refactor ChangeNow for easier testability 2022-08-30 16:38:07 -06:00
Marco
b41d31fd32 first commit 2022-08-26 16:11:35 +08:00