witnet 0.6.0
witnet: ^0.6.0 copied to clipboard
A library to interface with the Witnet Protocol. - Ability to recover - build, sign, and send value transfers and data requests - communicate with a rust node or wallet server - communicate with the explorer
We analyzed this package 11 days ago, and awarded it 130 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description
field in your package's pubspec.yaml
file between 60 and 180 characters.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: GPL-3.0
.
10/10 points: 20% or more of the public API has dartdoc comments
2052 out of 5020 API elements (40.9 %) have documentation comments.
Some symbols that are missing documentation: constants
, constants.ALPHA
, constants.BETA
, constants.COMMIT_WEIGHT
, constants.EXTERNAL_KEYCHAIN
.
10/10 points: Package has an example
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:witnet/witnet.dart
that imports:package:witnet/src/crypto/address.dart
that imports:package:witnet/schema.dart
that imports:package:witnet/src/schema/schema.dart
that imports:package:witnet/radon.dart
that imports:package:witnet/src/rad/types/types.dart
that imports:package:witnet/utils.dart
that imports:package:witnet/src/utils/dotenv.dart
that imports:package:dotenv/dotenv.dart
that imports:package:dotenv/src/dotenv.dart
that imports:package:dotenv/src/parser.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:witnet/witnet.dart
that imports:package:witnet/src/crypto/address.dart
that imports:package:witnet/schema.dart
that imports:package:witnet/src/schema/schema.dart
that imports:package:witnet/radon.dart
that imports:package:witnet/src/rad/types/types.dart
that imports:package:witnet/utils.dart
that imports:package:witnet/src/utils/dotenv.dart
that imports:package:dotenv/dotenv.dart
that imports:package:dotenv/src/dotenv.dart
that imports:package:dotenv/src/parser.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 247 issues. Showing the first 2:
INFO: Use the generic function type syntax in 'typedef's.
lib/src/crypto/bip39/bip39.dart:41:19
╷
41 │ typedef Uint8List RandomBytes(int size);
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/crypto/bip39/bip39.dart
INFO: Missing type annotation.
lib/src/crypto/bip39/bip39.dart:130:26
╷
130 │ String mnemonicToEntropy(mnemonic, {String language = 'English'}) {
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/crypto/bip39/bip39.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
async |
^2.6.1 |
2.13.0 | 2.13.0 | |
cbor |
^6.1.1 |
6.3.7 | 6.3.7 | |
convert |
^3.1.2 |
3.1.2 | 3.1.2 | |
crypto |
^3.0.1 |
3.0.6 | 3.0.6 | |
dotenv |
^4.2.0 |
4.2.0 | 4.2.0 | |
fixnum |
^1.1.0 |
1.1.1 | 1.1.1 | |
hex |
^0.2.0 |
0.2.0 | 0.2.0 | |
http |
^1.1.2 |
1.5.0 | 1.5.0 | |
path |
^1.9.0 |
1.9.1 | 1.9.1 | |
pointycastle |
^3.1.3 |
3.9.1 | 4.0.0 | |
protobuf |
^3.1.0 |
3.1.0 | 5.0.0 | |
recase |
^4.1.0 |
4.1.0 | 4.1.0 | |
typed_data |
^1.3.0 |
1.4.0 | 1.4.0 | |
web_socket_channel |
^2.4.1 |
2.4.5 | 3.0.3 | |
xml |
^6.5.0 |
6.6.1 | 6.6.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
ieee754 |
- | 1.0.3 | 1.0.3 | |
js |
- | 0.7.2 | 0.7.2 | Discontinued |
meta |
- | 1.17.0 | 1.17.0 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
web |
- | 0.5.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 3 issues. Showing the first 2:
The constraint `^3.1.3` on pointycastle does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions pointycastle
to update the constraint.
The constraint `^3.1.0` on protobuf does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions protobuf
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.23
, Dart 3.9.3
.
Check the analysis log for details.