dart_nostr library

Classes

Nostr
This class is responsible for handling the connection to all relays.
NostrClientUtils
General utils to be used in a whole Nostr instance.
NostrCountEvent
NostrCountResponse
NostrEvent
This represents a low level Nostr event that requires setting all fields manually, which requires you to doo all encodings... You can use NostrEvent.fromPartialData to create an event with less fields and lower complexity..
NostrEventsStream
Represents a holde class for the stream of nostr events and the subscription id.
NostrFilter
NostrFilter is a filter that can be used to match events.
NostrKeyPairs
This class is responsible for generating, handling and signing keys. It is used by the NostrClient to sign messages.
NostrNotice
NostrRequest
NostrRequest is a request to subscribe to a set of events that match a set of filters with a given subscriptionId.
NostrRequestClose
A request to close a subscription with a given subscription id.