dart-nostr

github.com/ethicnology/dart-nostr Nostr Open-source projectOpen source

dart-nostr provides a Flutter library for implementing the Nostr protocol in Dart.

github.com/ethicnology/dart-nostr
dart-nostr homepage screenshot

About dart-nostr

dart-nostr is an open-source Flutter library that implements the Nostr protocol in Dart. It covers key generation and import, event creation and signing, serialization for relays, and subscription requests built from filters, and it lists support for a long set of NIPs, from NIP-01 basic protocol flow through NIP-98 HTTP Auth. The repository also includes an example directory and references Dispute, a basic Nostr client written in Flutter with the library.

Several NIPs are only partly covered. NIP-46 provides the kind 24133 event envelope but no bunker:// or nostrconnect:// URI parsing and no JSON-RPC method encoders; NIP-47 provides kind 13194/2319x event envelopes without wallet-connect URI parsing or JSON-RPC encoders; and NIP-51 helpers exist only for kinds 10000, 10001, 30000 and 30001, with other list kinds to be built by hand. The project is licensed LGPL-3.0.

Key features

  • Generates or imports keys, exposing public key and npub output
  • Creates and signs events, then serializes them for relay submission
  • Builds subscription requests with subscription IDs and filters
  • Lists broad NIP coverage, including NIP-01, NIP-19, NIP-44, NIP-57
  • Ships an example directory and points to a Flutter client implementation
  • Installed as a Dart package with flutter pub add nostr
Best for: Dart and Flutter developers building Nostr clients or Nostr features into their apps.
Good for
  • Open source under the LGPL-3.0 license
  • Covers a wide range of Nostr NIPs in one library
  • Includes example code and a referenced Flutter client for implementation guidance
Watch out for
  • NIP-46 and NIP-47 are limited to event envelopes, without URI parsing or JSON-RPC method encoders
  • NIP-51 helpers cover only four kinds; other list kinds must be built manually with Event.from
  • No pricing information is published for the library

dart-nostr at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Open source
Yes · Source code
Language
English
Last checked
Oct 6, 2026 · Online when checked
Listed
Oct 5, 2026

dart-nostr alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

amberflutter

github.com/sebdeveloper6952/amberflutter

amberflutter wraps the Amber Nostr signer in Flutter, enabling Android apps to connect to the signing service.

Open source
24 alternatives

arduino-nostr

github.com/lnbits/arduino-nostr

arduino-nostr connects Arduino projects to the Nostr protocol, with the repository describing Nostr as an open communication protocol.

Open source
24 alternatives

Popular in Nostr

Well-known listings from the same topic.

All 110

dart-nostr FAQ

How do I add the library to a project?
The README gives the command flutter pub add nostr, after which the package is imported as package:nostr/nostr.dart.
Which NIPs are only partially implemented?
NIP-46, NIP-47 and NIP-51 are marked as partial in the README, with details on what each omits.
What license does the project use?
The repository is licensed under LGPL-3.0.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing