sign method
Implementation
@override
Future<void> sign(Nip01Event event) async {
if (Helpers.isNotBlank(privateKey)) {
event.sig = Bip340.sign(event.id, privateKey!);
}
}
@override
Future<void> sign(Nip01Event event) async {
if (Helpers.isNotBlank(privateKey)) {
event.sig = Bip340.sign(event.id, privateKey!);
}
}