Commit graph

62 commits

Author SHA1 Message Date
julian
a82f6c3c6e coin enum finally gone 2024-05-15 15:24:02 -06:00
julian
4e3390a7c0 refactor TorService 2023-09-15 13:51:20 -06:00
ryleedavis
f240163a91 WIP: tor http connection 2023-09-08 15:09:59 -06: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
sneurlax
5173aec491 update simplex url
need to also update simplex_api
2023-02-07 10:32:46 -06:00
julian
dcd7f312a5 dynamics... 2023-01-31 11:09:21 -06:00
julian
4f58483e82 show min/max crypto amounts returned by simplex api on quote request 2023-01-30 14:08:21 -06:00
sneurlax
177eb70d51 handle errors more reliably 2023-01-27 16:08:56 -06:00
sneurlax
679c382106 pass, catch, and display error dialog from newOrder 2023-01-27 15:54:37 -06:00
sneurlax
ec64c77c45 comment update 2023-01-27 15:23:14 -06:00
sneurlax
25a5b42f0e remove print from prod 2023-01-26 17:35:04 -06:00
sneurlax
6c48caff48 only add stack coins to list
TODO refactor isStackCoin into a reusable form instead of copying it around 3 times :P
2023-01-26 17:35:04 -06:00
sneurlax
832c495227 catch requesting quote for >max crypto amt 2023-01-26 14:20:45 -06:00
sneurlax
ed0a0266f6 linting 2023-01-25 16:43:26 -06:00
sneurlax
5f2b0de2d1 dart linting 2023-01-25 16:43:13 -06:00
sneurlax
baf995e515 update URL 2023-01-25 16:41:55 -06:00
sneurlax
2282290b74 do not await unnecessarily 2023-01-25 12:13:20 -06:00
sneurlax
c929ea5f75 pass signup time to api 2023-01-25 12:00:02 -06:00
sneurlax
74f783391b use _buildUri in redirect 2023-01-25 11:13:00 -06:00
sneurlax
a223f735a2 import linting 2023-01-25 11:08:29 -06:00
sneurlax
ccc5995e42 use _buildUri in order and pass userId and signupEpoch 2023-01-25 11:08:22 -06:00
sneurlax
f87acdc721 use _buildUri in quote 2023-01-25 11:06:27 -06:00
sneurlax
e2ec733211 use _buildUri in supported_fiats and don't use compute there 2023-01-25 11:05:51 -06:00
sneurlax
61748b4b2f use _buildUri to get supported cryptos 2023-01-25 10:52:41 -06:00
sneurlax
82f89966bc add userID to quotes and don't init userID in main
TODO test what happens for a fresh install, I already have a userID set in my prefs
2023-01-24 16:02:25 -06:00
sneurlax
6f85aa5065 fix amount formatting if buying crypto amount 2023-01-24 11:55:36 -06:00
sneurlax
83da7a2680 add fiat enums for pretty names 2023-01-24 10:05:15 -06:00
sneurlax
cccfaa6eef update API URL
TODO follow todo at top of file re: using buildUri
2023-01-23 14:35:39 -06:00
sneurlax
4b944a2496 update API URL, use HTTPS 2023-01-23 10:59:14 -06:00
sneurlax
f205312bb9 TODOs 2023-01-21 00:19:56 -06:00
sneurlax
290087c2d5 remove unnecessary prints 2023-01-20 22:49:14 -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
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
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
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
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
julian
89778e6e63 disable BuyDataLoadingService 2023-01-14 11:22:48 -06:00
julian
f80b47d467 typed response data 2023-01-14 08:21:32 -06:00