Commit graph

49 commits

Author SHA1 Message Date
Omar Hatem
244d20d1b6
Skip unsupported providers when calculating best rate provider (#500) 2022-09-07 12:43:03 +01:00
mkyq
04be884357
Enable exchange for haven wallets. (#495) 2022-09-01 19:46:14 +01:00
Omar Hatem
c50eeee58b
CW 68 exchange automatic rate selector (#472)
* Add 'Exchange provider picker'
Save user selections

* Save user's exchange providers selection

* Add text for selected providers availability

* Fix selected providers not updating

* Load limits based on highest maximum in the selected providers

* Change received and deposit amount to be the best value from the selected providers

* Add provider name next to Trade ID
Set selected provider based on amount calculated

* Grey out providers who doesn't support selected currency pair

* Fix disabled providers

* Add Provider logo in Confirm Screen

* Only choose a provider if it satisfies its limits

* Fix amount validation

* Fix typo in error message

* Add a queue of possible exchange providers sorted by the best rate to try next if one failed

* Fix string locale typo

* Add Localization for other languages

* Add Placeholder text when there are no providers selected

* Check Exchange provider availability before creating a trade

* Fix "Fixed Rate" changing unconditionally

* Enable "convert to" field regardless of the provider

* Remove "Choose one" from providers picker

* Merge Master

* Fix Conflicts with master

* Add missing isEnabled field in simple swap provider
2022-09-01 15:12:38 +01:00
Godwin Asuquo
d9905a7cf3
Cw 110 integrate simple swap exchange (#459)
* add support for SimpleSwap exchange

* fix edit receive amount field

* fixed merge conflicts

* Fix issues from code review
2022-08-31 16:34:07 +01:00
Godwin Asuquo
6378d052ac
Cw 72 implement sideshift exchange (#332)
* add sideshift exchange provider

* add secret key

* Fix issues

* Fix issues

* refactor code

* add permission checks to side shift

* fix formatting issues
2022-04-13 14:28:21 +01:00
M
718ef91749 Exclude xhv from exchange currencies list 2022-04-01 14:31:05 +01:00
mkyq
01150ef2a7
Hv (#295)
* hv
* Change build version
2022-03-30 17:57:04 +02:00
M
989ef442ac Fixes for litecoin transactions. Change fixed rate mode for exchange. 2022-01-27 11:20:51 +02:00
M
02de3104eb Fixed rate for changenow. 2022-01-26 17:44:15 +02:00
M
e6b1da376d Configure wallet types for the app 2021-12-24 14:41:34 +02:00
OleksandrSobol
1d996c94c8 CAKE-343 | added address book button to xmr wallet's address text field on exchange_page.dart and exchange_template_page.dart 2021-07-23 14:05:33 +03:00
OleksandrSobol
0d367c4b45 CAKE-343 | added bitcoin_wallet_addresses.dart and litecoin_wallet_addresses.dart tj the app; moved addresses from wallets to wallet addresses classes; deleted wallet addresses credentials 2021-07-13 08:46:34 +03:00
M
2b4248e30b Merged main into ltc. 2021-05-10 19:51:13 +03:00
M
1330966794 Reworked electrum wallet. Added Litecoin wallet. 2021-05-07 10:36:38 +03:00
OleksandrSobol
3675350452 CAKE-314 | changed bnb crypto currency to bnb bep2; removed bnb bep2 from receive currency list on exchange page 2021-04-30 12:46:15 +03:00
OleksandrSobol
68c12cbb79 CAKE-296 | added receiveCurrencies (list of crypto currencies without xlm and xrp) to exchange_view_model.dart; applied receiveCurrencies to receive card in the exchange_page.dart 2021-04-06 20:11:26 +03:00
OleksandrSobol
753d164d6e CAKE-296 | removed xmr to xrp and xmr to xlm exchange pairs from ChangeNow pair list; disabled exchange button when pair is not exists 2021-04-01 21:08:11 +03:00
OleksandrSobol
7316646b44 CAKE-292 | removed StandardCheckBox from exchange_page.dart; made receive amount not editable 2021-03-15 19:54:04 +02:00
OleksandrSobol
fc70852002 CAKE-278 | applied fixed rate mode only for pair xmr-btc; added _defineIsReceiveAmountEditable() to exchange_view_model.dart; added reaction on isReceiveAmountEditable to exchange_page.dart 2021-02-23 19:36:03 +02:00
OleksandrSobol
fb6e7de166 CAKE-278 | fixed calculating estimated amount when receive amount is entered; fixed applyTemplate() method in the exchange_page.dart and reset() method in the exchange_view_model.dart 2021-02-19 10:37:30 +02:00
OleksandrSobol
6e102c4969 CAKE-278 | applied fixed-rate flow to changenow_exchange_provider.dart, exchange_view_model.dart and exchange_page.dart; added isFixedRateMode to fetchLimits(), createTrade() and calculateAmount() methods in the exchange_provider.dart 2021-02-18 21:08:52 +02:00
OleksandrSobol
317ef8f3e4 CAKE-278 | added isReceiveAmountEditable and isFixedRateMode to exchange_view_model.dart; fixed changeReceiveAmount() in the exchange_view_model.dart; applied StandardCheckbox to exchange_page.dart for checking fixed rate mode; applied alert dialog to exchange_page.dart when receive amount has focus and fixed rate mode is not checked; added reaction for isFixedRateMode in the exchange_page.dart; added key and changeValue() to standard_checkbox.dart 2021-02-16 21:06:23 +02:00
M
acc4bfe84a Removed morph from exchange list. 2021-02-09 15:54:50 +02:00
M
0bc804c284 Fixes. Changed terms of use text. 2021-02-01 20:12:37 +02:00
M
e3b8ea1128 CAKE-234 2021-01-27 15:51:51 +02:00
M
9db6e233c7 Another beautiful day changes 2021-01-11 19:15:27 +02:00
M
6a9720d5d6 Fixes and changed build versions for ios and android projects. 2021-01-06 22:53:59 +02:00
M
798d9a1edf Fixes 2021-01-05 20:31:03 +02:00
OleksandrSobol
df01fa0314 CAKE-185 | removed isValidAmount() from exchange_view_model.dart and exchange_page.dart; throw exception in the createTrade() (xmrto_exchange_provider.dart) if number of fractional digits of amount more than 8 2020-12-03 23:22:56 +02:00
OleksandrSobol
458079d3ae CAKE-185 | added title property to TradeIsCreatedFailure class; applied title property in the createTrade() method (exchange_view_model.dart); applied title property as alert title in the exchange_page.dart 2020-12-02 21:51:06 +02:00
Oleksandr Sobol
4f43e963bf CAKE-185 | fixed string resources 2020-11-27 09:52:10 +02:00
OleksandrSobol
623299b8f6 CAKE-185 | changed isValidAmount() in the exchange_view_model.dart 2020-11-27 08:50:28 +02:00
OleksandrSobol
4cb4ede2d3 CAKE-185 | added validation of amount for xmr.to provider in the exchange_page.dart; added isValidAmount() to exchange_view_model.dart 2020-11-26 21:04:05 +02:00
OleksandrSobol
dd71edd8c8 CAKE-185 | fixed _amount in the changeDepositAmount() method (exchange_view_model.dart) 2020-11-24 14:42:26 +02:00
M
93049b4aa1 Fixes for exchanges. CAKE-159. 2020-11-10 16:58:40 +02:00
M
c86c44a936 CAKE-161 2020-11-10 13:46:58 +02:00
OleksandrSobol
7ce30e08b0 CAKE-143 | added status parameter to exchange_view_model.dart; called alert when user tries exchange deposit xmr currency but wallet is not synchronized 2020-11-02 13:33:45 +02:00
M
68f748b09a Changed min ios version to 11.0. Fixes. 2020-10-30 12:39:07 +02:00
M
71e02f429d Merge branch 'new-world' of github.com:cake-tech/cake_wallet_private into rework-restore-wallet 2020-10-24 15:55:31 +03:00
M
588d93c1a4 Fixes 2020-10-24 15:55:24 +03:00
OleksandrSobol
20c35451d5 CAKE-120 | added xmr.to exchange description to exchange and exchange template pages; made observable isReceiveAmountEntered parameter in the exchange view model; added isReceiveAmountEntered parameter to applyTemplate() (exchange page) and reset() (exchange view model); added possibility to enter amount in receive card (exchange template page) 2020-10-12 19:47:01 +03:00
OleksandrSobol
521d7294a7 CAKE-92 | fixed templates saving bug on send and exchange pages; added comma for keyboard on templates pages; added fiat amount controller to send page; added crypto amount and fiat amount controllers to send template pages; added send template store to send view model; added updateTemplate(), addTemplate(), removeTemplate() to send view model and exchange view model; fixed remove template alert on send and exchange pages 2020-10-07 08:58:22 +03:00
OleksandrSobol
bc85058ad8 CAKE-43 | added the ability to enter an amount for xmr.to exchange in both currencies xmr and btc; added isReceiveAmountEntered to ExchangeViewModel; added receiveAmount and isBTCRequest to XMRTOTradeRequest; added isReceiveAmount to calculateAmount method of ExchangeProvider; fixed XMRTOExchangeProvider 2020-09-25 22:55:41 +03:00
M
e4ebfc94b2 Part 1 2020-09-21 14:50:26 +03:00
M
9074bee6db Merge redesign part 2. 2020-09-02 11:47:41 +03:00
Oleksandr Sobol
76cde0530d CAKE-28 | created information page, exchange trade view model, exchange trade item; added trade property to trades store; changed filtered method (trade filter store); added tradesStore property to exchange view model; applied information page to exchange trade page 2020-08-26 20:31:23 +03:00
Oleksandr Sobol
ecf7a5ba78 CAKE-28 | reworked exchange confirm page; applied light and dark themes to exchange confirm page, currency picker, picker, base alert dialog, alert with one action; applied maximum characters parameter to crypto currency text field in the exchange card 2020-08-25 21:12:14 +03:00
Oleksandr Sobol
861a2840ce CAKE-20 | fixed address validators of the base exchange widget 2020-07-31 21:47:42 +03:00
Oleksandr Sobol
33209c3cd6 CAKE-20 | updated exchange and exchange template pages; created exchange_view_model and applied to exchange and exchange template pages; applied new design to menu widget; changed text validator and amount validator 2020-07-31 18:29:21 +03:00