hashcash_dart 0.1.0 icon indicating copy to clipboard operation
hashcash_dart: ^0.1.0 copied to clipboard

A hashcash proof of work implementation for Dart and Flutter

2
likes
95/ 140
pub points
0%
popularity

We analyzed this package 10 hours ago, and awarded it 95 pub points (of a possible 140):

icon indicating section status
Follow Dart file conventions
25 / 30icon to trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

0/5 points: Provide a valid README.md

Links in README.md should be secure. 3 links are insecure.

README.md:6:26

  ╷
6 │ Hashcash was invented by <a href="http://www.cypherspace.org/adam/">Adam Back</a> in <a href="http://hashcash.org/papers/">1997</a></p>
  │                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

Use https URLs instead.

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

icon indicating section status
Provide documentation
20 / 20icon to trigger folding of the section

10/10 points: Package has an example

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

  • 2 out of 6 API elements (33.3 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ MacOS
  • ✓ Web
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 19 issues. Showing the first 2:

INFO: Name non-constant identifiers using lowerCamelCase.

lib/src/hashcash.dart:7:23

  ╷
7 │   static final String _ascii_chars =
  │                       ^^^^^^^^^^^^
  ╵

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

INFO: Name non-constant identifiers using lowerCamelCase.

lib/src/hashcash.dart:37:12

   ╷
37 │       bool stamp_seconds = false}) {
   │            ^^^^^^^^^^^^^
   ╵

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

icon indicating section status
Support up-to-date dependencies
10 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
crypto^2.1.32.1.53.0.2
Transitive dependencies
PackageConstraintCompatibleLatest
charcode-1.3.11.3.1
collection-1.17.01.17.0
convert-2.1.13.1.1
typed_data-1.3.11.3.1

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

The constraint ^2.1.3 on crypto does not support the stable version 3.0.0.

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

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

icon indicating section status
Support sound null safety
0 / 20icon to trigger folding of the section

0/20 points: Package does not opt in to null safety.

Package language version (indicated by the sdk constraint >=2.7.0 <3.0.0) is less than 2.12.

Consider migrating.

Analysed with Pana 0.21.21, Dart 2.18.4.

2
likes
95
pub points
0%
popularity

Publisher

verified publisher iconkonstantinullrich.de

A hashcash proof of work implementation for Dart and Flutter

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

crypto

More

Packages that depend on hashcash_dart