Ndk class
Main entry point for the NDK (Nostr Development Kit) library.
This file contains the primary class Ndk which provides access to various Nostr-related functionalities/usecases and manages the global state of the application.
Properties
- broadcast → Broadcast
-
Provides access to low-level Nostr broadcast/publish.
no setter
- config → NdkConfig
-
Configuration for the NDK instance
final
- follows → Follows
-
Handles operations related to user follows
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- lists → Lists
-
Manages various types of lists in the Nostr network
no setter
- metadata → Metadatas
-
user metadata operations
no setter
- relays → RelayManager
-
no setter
- relaySets → RelaySets
-
calculate relay set
no setter
- requests → Requests
-
Provides access to low-level Nostr requests.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userRelayLists → UserRelayLists
-
user relay lists usecase
no setter
Methods
-
changeEventSigner(
EventSigner? newEventSigner) → dynamic - Changes the event signer used by the NDK instance
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited