ndk 0.1.0-dev96 copy "ndk: ^0.1.0-dev96" to clipboard
ndk: ^0.1.0-dev96 copied to clipboard

Nostr Development Kit - the most performant lib for all your nostr usecases

example/README.md

Basic example #

    Ndk ndk = Ndk(NdkConfig(
      eventVerifier: Bip340EventVerifier(),
      cache: MemCacheManager(),
    ));
    NdkResponse response = ndk.requests.query(filters: [
      Filter(kinds: [Nip01Event.TEXT_NODE_KIND], limit: 10)
    ]);
    
    await for (final event in response.stream) {
    print(event);
}