nostr 2.0.0 copy "nostr: ^2.0.0" to clipboard
nostr: ^2.0.0 copied to clipboard

Pure-Dart Nostr protocol library. Events, signing, NIP-44 encryption, gift wrap, and 35+ NIPs. Transport-agnostic, Flutter Web compatible.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add nostr

With Flutter:

 $ flutter pub add nostr

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  nostr: ^2.0.0

Alternatively, 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:nostr/nostr.dart';
14
likes
160
points
2.36k
downloads

Documentation

API reference

Publisher

verified publisherethicnology.com

Weekly Downloads

Pure-Dart Nostr protocol library. Events, signing, NIP-44 encryption, gift wrap, and 35+ NIPs. Transport-agnostic, Flutter Web compatible.

Repository (GitHub)
View/report issues

Topics

#nostr #protocol #bitcoin #lightning #cryptography

License

LGPL-3.0 (license)

Dependencies

bech32, bip340, convert, elliptic, http, pointycastle

More

Packages that depend on nostr