mhunt_launcher/lib/Shared/Helpers.dart
2025-01-25 12:01:14 +05:30

14 lines
600 B
Dart

class Helpers{
static const int LAMPORTS_PER_SOL = 1000000000;
static const int TICKET_PRICE = 300000000;
static const String DASHBOARD_URL = 'https://auth.playpoolstudios.com';
static const String WEB2_ENDPOINT = "https://vps.playpoolstudios.com/metahunt/api/launcher/";
static const String SOBRIDGE_ENDPOINT = "http://vps.playpoolstudios.com:20117/";
static const String MOONPAY_URL = 'http://vps.playpoolstudios.com:3640';
static String trimTrailingZeros(double number) {
return number.toStringAsFixed(10).replaceAll(RegExp(r'0*$'), '').replaceAll(RegExp(r'\.$'), '');
}
}