2023-05-17 23:16:20 +00:00
|
|
|
import 'package:flutter/material.dart';
|
2023-05-12 17:28:36 +00:00
|
|
|
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;
|
|
|
|
}
|
2023-05-12 17:28:36 +00:00
|
|
|
|
|
|
|
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>();
|