mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 12:09:43 +00:00
Changed api to prod mode.
This commit is contained in:
parent
af9d39f460
commit
e77cf89651
1 changed files with 4 additions and 5 deletions
|
@ -333,16 +333,15 @@ abstract class DashboardViewModelBase with Store {
|
||||||
|
|
||||||
Future<String> getWyreUrl() async {
|
Future<String> getWyreUrl() async {
|
||||||
final timestamp = DateTime.now().millisecondsSinceEpoch.toString();
|
final timestamp = DateTime.now().millisecondsSinceEpoch.toString();
|
||||||
final url = 'https://api.testwyre.com/v3/orders/reserve' + '?timestamp=' +
|
final url = 'https://api.sendwyre.com/v3/orders/reserve' + '?timestamp=' +
|
||||||
timestamp;
|
timestamp;
|
||||||
final apiKey = secrets.wyreApiKey;
|
|
||||||
final secretKey = secrets.wyreSecretKey;
|
final secretKey = secrets.wyreSecretKey;
|
||||||
final accountId = secrets.wyreAccountId;
|
final accountId = secrets.wyreAccountId;
|
||||||
final body = {
|
final body = {
|
||||||
//'destCurrency' : walletTypeToCryptoCurrency(type).title,
|
'destCurrency' : walletTypeToCryptoCurrency(type).title,
|
||||||
//'dest' : walletTypeToString(type).toLowerCase() + ':' + address,
|
'dest' : walletTypeToString(type).toLowerCase() + ':' + address,
|
||||||
'referrerAccountId' : accountId,
|
'referrerAccountId' : accountId,
|
||||||
//'lockFields' : ['destCurrency', 'dest']
|
'lockFields' : ['destCurrency', 'dest']
|
||||||
};
|
};
|
||||||
|
|
||||||
final response = await post(url,
|
final response = await post(url,
|
||||||
|
|
Loading…
Reference in a new issue