broadcast_queue_shim_for_ndk 0.2.1
broadcast_queue_shim_for_ndk: ^0.2.1 copied to clipboard
Offline-first wrapper around the ndk package's broadcast use case. Persists Nostr events to a local sembast queue and retries until every targeted relay has acknowledged delivery.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add broadcast_queue_shim_for_ndkWith Flutter:
$ flutter pub add broadcast_queue_shim_for_ndkThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
broadcast_queue_shim_for_ndk: ^0.2.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:broadcast_queue_shim_for_ndk/broadcast_queue_shim_for_ndk.dart';