Skip to main content

dart_nostr 11.2.0 copy "dart_nostr: ^11.2.0" to clipboard
dart_nostr: ^11.2.0 copied to clipboard

Dart and Flutter Nostr SDK with relay transport, signing, NIP-44 encryption, DMs, zaps and documented coverage of 87/100 canonical NIPs.

130/ 160
pub points
1.39k
downloads

We analyzed this package 25 hours ago, and awarded it 130 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

3245 out of 3699 API elements (87.7 %) have documentation comments.

Some symbols that are missing documentation: base, base, bech32, blossom, client.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:dart_nostr/dart_nostr.dart that imports:
  • package:dart_nostr/nostr/instance/subscription_manager.dart that imports:
  • package:dart_nostr/nostr/core/utils.dart that imports:
  • package:dart_nostr/nostr/dart_nostr.dart that imports:
  • package:dart_nostr/nostr/service/services.dart that imports:
  • package:dart_nostr/nostr/service/relay_transport.dart that imports:
  • package:dart_nostr/nostr/instance/relays/relays.dart that imports:
  • package:dart_nostr/nostr/model/relay.dart that imports:
  • dart:io
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 853 issues. Showing the first 2:

INFO: Use simple directive paths.

lib/dart_nostr.dart:1:8

  ╷
1 │ export './nostr/core/key_pairs.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/dart_nostr.dart

INFO: Sort directive sections alphabetically.

lib/dart_nostr.dart:2:1

  ╷
2 │ export './nostr/core/failures.dart';
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/dart_nostr.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
async ^2.13.0 2.13.1 2.13.1
bech32 ^0.2.2 0.2.2 0.2.2
bip32_bip44 ^1.0.0 1.0.0 1.0.0
bip340 ^0.3.0 0.3.0 0.3.1
bip39 ^1.0.6 1.0.6 1.0.6
convert ^3.1.1 3.1.2 3.1.2
crypto ^3.0.2 3.0.8 3.0.8
equatable ^2.0.5 2.1.0 3.0.0
hex ^0.2.0 0.2.0 0.2.0
http ^1.1.0 1.6.0 1.6.0
meta ^1.8.0 1.19.0 1.19.0
pointycastle ^3.9.1 3.9.1 4.0.0
web_socket_channel ^3.0.3 3.0.3 3.0.3
Transitive dependencies
Package Constraint Compatible Latest Notes
base58check - 2.0.0 2.0.0
collection - 1.19.1 1.19.1
http_parser - 4.1.2 4.1.2
js - 0.7.2 0.7.2 Discontinued
path - 1.9.1 1.9.1
source_span - 1.10.2 1.10.2
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
web - 1.1.2 1.1.2
web_socket - 1.0.1 1.0.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^2.0.5` on equatable does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions equatable to update the constraint.

The constraint `^3.9.1` on pointycastle does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions pointycastle to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Dart 3.14.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
8
likes
130
points
1.39k
downloads

Documentation

API reference

Publisher

verified publishergwhyyy.com

Weekly Downloads

Dart and Flutter Nostr SDK with relay transport, signing, NIP-44 encryption, DMs, zaps and documented coverage of 87/100 canonical NIPs.

Homepage
Repository (GitHub)
View/report issues

Topics

#nostr #flutter #dart #websocket #encryption

License

MIT (license)

Dependencies

async, bech32, bip32_bip44, bip340, bip39, convert, crypto, equatable, hex, http, meta, pointycastle, web_socket_channel

More

Packages that depend on dart_nostr