ndk 0.1.0-dev98 copy "ndk: ^0.1.0-dev98" to clipboard
ndk: ^0.1.0-dev98 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);
}
3
likes
0
points
591
downloads

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

amberflutter, bech32, bip340, collection, convert, crypto, flutter, flutter_rust_bridge, hex, http, logger, path_provider, plugin_platform_interface, pointycastle, rust_lib_ndk, rxdart, web_socket_channel

More

Packages that depend on ndk