entities library
exports all entities, intended usage: import 'package:ndk/entities.dart' as ndk_entities;
Classes
- BroadcastState
- hold state information for a broadcast
- ContactList
- nip02 contact list
- EventFilter
-
A class that filters events
Used to clean event streams based on the event - Filter
- Represents a filter for querying Nostr events.
- GlobalState
-
Global state of the NDK
as a user you should not need to interact with this class
you should use the NDK API and keep the global state in memory - Metadata
- basic nostr metadata
- NdkBroadcastResponse
- the response to a low level broadcast request
- NdkResponse
- Represents a response from a Nostr Development Kit (NDK) request.
- Nip01Event
- basic nostr nip01 event data structure
- Nip05
- domain identifier entity
- Nip51List
- Nip51ListElement
- Nip51Set
- Nip65
- NotCoveredPubKey
- PubkeyMapping
- maps the direction for a pubkey read, write, both
- Relay
- Basic relay info/status
- RelayBroadcastResponse
-
hols information about a individual relay broadcast response
e.g.
"OK", "b1a649ebe8...", true, "duplicate: already have this event"
"OK", "b1a649ebe8...", false, "pow: difficulty 26 is less than 30"
-
RelayConnectivity<
T> - Represents the connectivity of a relay.
- RelayInfo
- RelayRequestState
- Single relay request state
- RelaySet
- RelayStats
- relay stats
- RequestState
- State per request for multiple relays
-
Tuple<
T, U> - Tuple class to hold two values
- UserRelayList
Enums
- ConnectionSource
- ReadWriteMarker
- nip65 read/write marker
- RelayDirection