sign method

  1. @override
Future<void> sign(
  1. Nip01Event event
)
override

Implementation

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