drifter_app/lib/models/keys.dart

18 lines
438 B
Dart
Raw Normal View History

2023-05-17 23:16:20 +00:00
import 'package:flutter/material.dart';
import 'package:nostr_tools/nostr_tools.dart';
2023-05-11 13:48:05 +00:00
class Keys {
static String privateKey = '';
static String publicKey = '';
static String nsecKey = '';
static String npubKey = '';
static bool keysExist = false;
}
class Relay {
static final relay = RelayApi(relayUrl: 'wss://relay.damus.io');
}
2023-05-17 23:16:20 +00:00
final keyController = TextEditingController();
final formKey = GlobalKey<FormFieldState>();