Commit graph

1087 commits

Author SHA1 Message Date
OmarHatem
116e468581 calculate best rate based on deposit/receive amount 2022-12-02 23:20:06 +02:00
OmarHatem
3bcd31ac44 calculate best rate based on min/max amount 2022-12-02 20:38:16 +02:00
OmarHatem
091ac41ee2 allow null minimum amount in limits 2022-12-01 22:37:13 +02:00
OmarHatem
dd99508d3e Fix static amount value for determining best rate and replace it with the input the user types 2022-12-01 22:11:51 +02:00
OmarHatem
cbe31aa5aa Revert allowing nullable values for input and refund addresses 2022-12-01 18:21:19 +02:00
OmarHatem
47764835c3 Fix nullability issue in create trade response 2022-12-01 18:09:21 +02:00
Omar Hatem
c547295a02
Merge pull request #658 from cake-tech/CW-257-bitcoin-explorer-mempool.space
[CW-257] Change Bitcoin block explorer to mempool.space
2022-12-01 17:26:41 +02:00
Justin Ehrenhofer
6685fb5804 [CW-257] Change Bitcoin block explorer to mempool.space 2022-11-29 11:05:38 -06:00
Serhii
1a420a7470 Merge branch 'main' into CW-221-Change-synchronization-status-text 2022-11-28 22:24:25 +02:00
Omar Hatem
9b32c9c956
CW-227 Add Disable Exchange option to settings (#642)
* Add Disable Exchange option to settings
2022-11-21 21:18:18 -05:00
Omar Hatem
bcf09b048c
Cw 220 fix grey exchange screen (#641)
* Fix nullability issue for ChangeNow rateId

* Handle concurrent modification error from Splay Tree
2022-11-21 20:52:03 -05:00
Serhii
19c8a421b2 Merge branch 'main' into CW-221-Change-synchronization-status-text 2022-11-21 13:39:57 +02:00
mkyq
ab305e22a2
Remove duplication for qr codes. (#628) 2022-11-16 18:30:35 -05:00
Serhii
3f5c637b18 Merge branch 'main' into CW-221-Change-synchronization-status-text 2022-11-14 12:02:33 +02:00
Serhii
7d49dc4761
rework confirm sending screen for cake pay (#603)
* rework confirm sending allert

* remove confirm_modal.dart

* fix  text color and buttons size
2022-11-10 13:08:52 -05:00
Serhii
7d92a964c7 Change synchronization status text
changed the status from "Starting sync" to "Attempting sync".
2022-11-09 12:14:21 +02:00
mkyq
d99aac9d98
Cast rateId as optional String for calculateAmount for ChangeNow api. (#612) 2022-11-08 15:57:33 -05:00
Omar Hatem
71444219be
Cw 218 fix change pin using bio auth (#599)
* - push change pin page as a replacement for auth page to avoid closing it once its opened
- Add cool-down duration after popping flushbars and pushing new routes
2022-11-07 15:35:34 -05:00
mkyq
2696c242a9
Removed force white background color for CupertinoDatePicker. (#605) 2022-11-07 13:36:57 -05:00
mkyq
8981ebad56
Fix parsing of json to Map<String, dynamic> for ionia api. Update sing in and verify email methods for ionia api. (#604) 2022-11-07 13:16:09 -05:00
mkyq
5d741b183f
Add default values for hive fields for Node, UnspentCoinsInfo, Wallet… (#598)
* Add default values for hive fields for Node, UnspentCoinsInfo, WalletInfo, Order, Contact, TransactionDescription, Trade
2022-11-04 15:55:21 -04:00
mkyq
3ec414ae66
Add adapters for some of bitcoin, litecoin and monero transactions priorities. Replace direct calls of transaction priorities for exchange_view_model. (#593) 2022-11-03 19:13:13 -04:00
Justin Ehrenhofer
30bac3cb6c
Add Anypay token (#518)
* Add AnyPay token

for interacting with the AnyPay API for Cake Pay payments

* Add missing commas

Co-authored-by: mkyq <53115730+mkyq@users.noreply.github.com>
2022-11-03 16:53:33 -04:00
mkyq
0c995330e3
Change default transaction priorities for monero and haven to automatic. (#589) 2022-11-03 15:21:46 -04:00
Serhii
a52f47220e
show warning if exchanging with slow fee (#579)
* show warning if exchanging with slow fee

* Update setDefaultTransactionPriority for return type void; update for use MoneroTransactionPriority.automatic instead of MoneroTransactionPriority.regular.

Co-authored-by: M <m@cakewallet.com>
2022-11-03 15:21:35 -04:00
mkyq
8e70b611d0
move amount_converter to cw_core (#588)
Co-authored-by: Serhii <borodenko.sv@gmail.com>
2022-11-03 14:45:50 -04:00
Serhii
b27b55388c
add warning text to the seed screen (#587)
* Add warning text to the seed screen

* fix font size
2022-11-02 15:53:14 -04:00
Serhii
0040bca853
Add partners contacts (#577)
Contacts of SideShift and SimpleSwap partners added to the Support section
2022-11-02 14:11:05 -04:00
Serhii
8e0ef694d6
fix text color for Dark Mode (#578) 2022-11-02 13:12:39 -04:00
Omar Hatem
e8b3a0648a
Fix Navigation issue where popping 2 routes at the same time (#584) 2022-11-02 13:11:53 -04:00
mkyq
b182c26ff2
Update hive types: UnspentCoinsInfo, Template, ExchangeTemplate. (#583) 2022-11-01 17:43:39 -04:00
mkyq
03d6701bb7
Add stacktrace to main error screen (#582) 2022-10-31 12:38:24 -04:00
mkyq
52aabee658
Remove direct calls of cw_bitcoin BitcoinTransactionPriority from SendViewModel and SettingsViewModel. Add bitcoinTransactionPriorityWithLabel to bitcoin facade. (#574) 2022-10-28 18:09:27 -04:00
Justin Ehrenhofer
12e7b45520
Remove Onramper swap (#573)
It's not supported here, so removing to avoid confusion
2022-10-28 12:21:58 -04:00
mkyq
b2a5c66c37
Add onramper widget for buy screen (#571) 2022-10-27 17:33:58 -04:00
mkyq
bd5a2fa49f
Back EditBackupPasswordViewModel factory (#570) 2022-10-27 10:28:43 -04:00
mkyq
acb03e5530
Xchaha20 poly1305 integration (#569)
* Integration of xchacha20-poly1305

* Remove force unwrap from _exportPreferencesJSON

* Deprecate v1 export

* Fix for open backup screen after auth
2022-10-26 15:28:27 -04:00
Omar Hatem
33935c9b1d
Update flushbar (#568)
* Replace old flushbar package with its updated version
Fix flushbars throughtout the app

* Fix Navigation happening all at once causing debugLocked error

* Remove un-necessary async/await

* Remove un-necessary future delayed

* Make process text flushbar indefinite

* Fix show seeds/keys popping page after being pushed instead of popping the auth route
2022-10-26 14:13:44 -04:00
Serhii
4f2cf983de
check share plugin usage (#567)
* replace share plugin with share_plus

* fix share button on receive screen

* add share button for btc, ltc wallets
2022-10-26 11:05:08 -04:00
Godwin Asuquo
95ecf4ef56
Cw 181 simple swap extra id fix (#532)
* extra id for simple swap
2022-10-25 16:36:28 -04:00
Godwin Asuquo
9f187308d4
Fix gift card purchase (#553)
* Fix gift card purchase

* cast as optional bool
2022-10-24 15:27:10 -04:00
Omar Hatem
d9415af4de
Allow null AccountListItem for create purpose not just editing (#558) 2022-10-24 15:25:14 -04:00
Omar Hatem
fb8017a93c
Used the new barcode_scan2 package instead (#559) 2022-10-24 15:24:20 -04:00
Omar Hatem
ca36a425a7
Fix exchange provider overflow (#560)
Fix splash effect style for the new Flutter button configs
2022-10-24 15:23:06 -04:00
Omar Hatem
12e54426bd
Fix edit/delete option slidable (#561)
* Fix Edit Slidable in receive address cell
Fix Edit/Delete slidable in contact list

* Update Delete node slidable
2022-10-24 15:15:17 -04:00
Omar Hatem
65b87ecae0
Fix nullability of selected provider (#562)
Remove un-necessary null operators
2022-10-24 15:06:03 -04:00
Omar Hatem
c34c3b0737
Cw 199 add wallet deletion confirmation (#555)
* Fix Slidable for deleting wallet
Add confirmation dialog for deleting wallet

* Swap confirmation dialog buttons to be consistent with other alerts
2022-10-21 16:06:59 -04:00
Godwin Asuquo
66949fd41a
Update close button size (#551) 2022-10-21 12:30:36 -04:00
Omar Hatem
4279b82bca
exclude zzec currency from simple swap (#516) 2022-10-20 13:54:00 -04:00
Omar Hatem
7e7217008c
Cw 171 exchange auto selector bug (#523)
* Fix de-selecting exchange providers not getting saved

* only change field value when the amount is better than the already existing one

* Show calculated amount after getting the best value from all providers

* Catch exceptions to avoid stopping the providers calculate amount APIs

* Fix Splay map only saving the last value obtained

* Show limits for the provider with the highest rate

* Load limits on currency pair change

* Show limits for lowest min provider

* Show limits for lowest min and highest max

* Sync best rate every 10 seconds instead of calculating it on every amount change

* Fix conflicts with flutter upgrade
Add null safety to changes in exchange_view_model.dart

* Remove un-necessary checks
2022-10-20 13:47:36 -04:00