Bunkers class

Bunkers usecase that handles NIP-46 remote signing protocol operations

Constructors

Bunkers({required Broadcast broadcast, required Requests requests})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

connectWithBunkerUrl(String bunkerUrl, {dynamic authCallback(String)?}) Future<BunkerConnection?>
Connects to a bunker using a bunker URL (bunker://) authCallback is called with the auth URL if the bunker requires authentication
connectWithNostrConnect(NostrConnect nostrConnect, {dynamic authCallback(String)?}) Future<BunkerConnection?>
Connects to a bunker using a nostr connect URL (nostrconnect://) authCallback is called with the auth URL if the bunker requires authentication
createSigner(BunkerConnection connection, {dynamic authCallback(String)?}) Nip46EventSigner
Creates a simple signer that delegates to this bunker instance
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
someTimeAgo({Duration duration = const Duration(minutes: 5)}) int
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited