Commit graph

1538 commits

Author SHA1 Message Date
sneurlax
50a3815946 get coin images for coins we support 2023-01-20 17:58:18 -06:00
sneurlax
39f5df3158 move isDesktop out of constructor 2023-01-20 17:31:42 -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
sneurlax
adf83aa3a6 use simplex_api supported_cryptos and update crypto model 2023-01-20 15:30:35 -06:00
sneurlax
51a9c7e961 api.php/route -> api.php?ROUTE=route 2023-01-20 14:56:26 -06:00
sneurlax
c8f843c38c redirect to order and close dialog
except the dialog doesn't close.
2023-01-20 10:36:46 -06:00
sneurlax
9a0de2e7f6 fix nav pop desktop issue 2023-01-20 10:32:26 -06:00
sneurlax
b30976c0f0 redirect to checkout 2023-01-20 09:27:24 -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
595d7e760d GET, don't POST, the goods. orders submitting
TODO create and return SimplexOrder and url_launch redirect endpoint 💪
2023-01-19 19:21:06 -06:00
sneurlax
8a1eee204b purchaseId -> id
because SimplexOrder qill have a quoteId, paymentId, and userId...
2023-01-19 17:47:27 -06:00
sneurlax
98a9804059 fix nav desktop nav error 2023-01-19 14:20: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
sneurlax
745a887566 example update 2023-01-18 10:31:04 -06:00
sneurlax
202ce56448 add working non-api example
removed keys
2023-01-18 09:54:33 -06:00
sneurlax
b575ee82ed set BTC and USD as defaults 2023-01-17 14:13:49 -06:00
sneurlax
56135dc19f error message fixes 2023-01-16 18:49:15 -06:00
sneurlax
f1c686504f add newOrder stub method
TODO make it POST and open external browser, or else we'll have to make the inline status widget
2023-01-16 18:49:03 -06:00
sneurlax
4a13189927 pass the whole quote, not just the ticker 2023-01-16 18:17:06 -06:00
sneurlax
4543725b1a cleanup 2023-01-16 18:10:21 -06:00
sneurlax
e6a19d981d pass receiving address on to preview sheet 2023-01-16 18:08:37 -06:00
sneurlax
d9b1fb1fc7 connect (most) form values to quote object 2023-01-16 17:38:42 -06:00
sneurlax
7cc30d1da4 comment cleanup 2023-01-16 16:12:53 -06:00
sneurlax
d10500ce02 copy and paste fix 2023-01-16 16:12:37 -06:00
sneurlax
21eb453e1a comment cleanup 2023-01-16 15:41:24 -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
bda6865657 buy form ui tweaks 2023-01-15 18:47:28 -06:00
julian
6d338b68a1 simplex buy warning popup 2023-01-15 18:35:20 -06:00
julian
9286ae9902 use simple setState for toggling between buy with crypto/fiat and store current selected crypto/fiat values in state vars and update ui accordingly 2023-01-15 18:24:47 -06:00
julian
650ae9fe09 buy quote preview view and sample quote class 2023-01-15 18:09:11 -06:00
julian
0c9dcf6403 scrollable buy form on mobile if keyboard covers part of it 2023-01-15 17:30:07 -06:00
julian
a23c17d83e load simplex currencies if empty. Quick api call (at least on tests) so we can just call it without a loading service 2023-01-15 17:26:05 -06:00
julian
dc1a38db91 main wallets/exchange/buy page navigation fix 2023-01-14 12:17:55 -06:00
julian
3a0f563039 flutter layouts constraint error fix 2023-01-14 12:17:25 -06:00
julian
89778e6e63 disable BuyDataLoadingService 2023-01-14 11:22:48 -06:00
julian
48346fa77f provider access fixes 2023-01-14 11:16:32 -06:00
julian
daa6c5a9b0 clean up popular and check if image url string is empty before attempting to load the network image 2023-01-14 11:16:10 -06:00
julian
2f0824b1f4 formatting, linter fixes, don't call apis in build method 2023-01-14 10:41:02 -06:00
julian
f80b47d467 typed response data 2023-01-14 08:21:32 -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
7bfcaffc01 move simplex load from every select tap to initial buy form load 2023-01-13 19:08:27 -06:00
sneurlax
bdfb1f0a20 clean up buy form and add unstyled buy button 2023-01-13 19:08:12 -06:00
sneurlax
64662c9076 clean up buy form state functions
TODOs here
2023-01-13 19:00:07 -06:00
sneurlax
28c22cc3b8 do not use ticker as image url 2023-01-13 18:30:45 -06:00
sneurlax
b13d242deb label change 2023-01-13 18:17:05 -06:00
sneurlax
cfe40c76d9 change amount widget as in send views, read currency selections from API 2023-01-13 18:07:27 -06:00
sneurlax
7e3cad5a06 fix floating crypto selection widget, add floating fiat selection widget 2023-01-13 16:50:49 -06:00
sneurlax
6dc99e6b34 add address input
TODO clipboard, QR, and address book functions
2023-01-13 16:45:35 -06:00