Nip46EventSigner class
- Implemented types
Constructors
- Nip46EventSigner.new({required BunkerConnection connection, required Requests requests, required Broadcast broadcast, dynamic authCallback(String)?})
Properties
- authCallback ↔ dynamic Function(String)?
-
getter/setter pair
- broadcast ↔ Broadcast
-
getter/setter pair
- connection ↔ BunkerConnection
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- localEventSigner ↔ Bip340EventSigner
-
getter/setter pair
- requests ↔ Requests
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subscription ↔ NdkResponse?
-
getter/setter pair
Methods
-
canSign(
) → bool -
override
-
decrypt(
String msg, String destPubKey, {String? id}) → Future< String?> -
override
-
decryptNip44(
{required String ciphertext, required String senderPubKey}) → Future< String?> -
override
-
dispose(
) → void -
encrypt(
String msg, String destPubKey, {String? id}) → Future< String?> -
override
-
encryptNip44(
{required String plaintext, required String recipientPubKey}) → Future< String?> -
override
-
getPublicKey(
) → String -
override
-
getPublicKeyAsync(
) → Future< String> -
listenRelays(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onEvent(
Nip01Event event) → Future< void> -
ping(
) → Future< String> -
remoteRequest(
{required BunkerRequest request}) → Future< String> -
sign(
Nip01Event event) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited