nova 0.0.1+3 nova: ^0.0.1+3 copied to clipboard
A library to generate eth wallets, sign transaction, and send them. It also implements part of the Ethereum JSON-RPC API specification.
We analyzed this package 19 hours ago, and awarded it 70 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
28 out of 50 API elements (56.0 %) have documentation comments.
Some symbols that are missing documentation: nova
, nova.AbstractNovaClient.call
, nova.AbstractNovaClient.gasPrice
, nova.AbstractNovaClient.getBlockByHash
, nova.AbstractNovaClient.getBlockByNumber
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 12 issues. Showing the first 2:
ERROR: Undefined name 'algorithm'.
lib/src/account/account_impl.dart:47:18
╷
47 │ final data = algorithm.rlp.encode(transaction.toBigInts());
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/account/account_impl.dart
ERROR: Undefined name 'algorithm'.
lib/src/account/account_impl.dart:48:27
╷
48 │ final hashedMessage = algorithm.keccak(data);
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/account/account_impl.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
^1.17.1 |
1.19.1 | 1.19.1 |
convex |
^0.0.2 |
0.0.3+1 | 0.0.3+1 |
json_rpc_2 |
^3.0.1 |
3.0.3 | 3.0.3 |
meta |
^1.8.0 |
1.16.0 | 1.16.0 |
web_socket_channel |
^2.2.0 |
2.4.5 | 3.0.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.12.0 | 2.12.0 |
crypto |
- | 3.0.6 | 3.0.6 |
path |
- | 1.9.1 | 1.9.1 |
stack_trace |
- | 1.12.0 | 1.12.0 |
stream_channel |
- | 2.1.2 | 2.1.2 |
typed_data |
- | 1.4.0 | 1.4.0 |
web |
- | 0.5.1 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^2.2.0` on web_socket_channel does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions web_socket_channel
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 11 errors:
UNDEFINED_IDENTIFIER
-lib/src/account/account_impl.dart:47:18
- Undefined name 'algorithm'.UNDEFINED_IDENTIFIER
-lib/src/account/account_impl.dart:48:27
- Undefined name 'algorithm'.UNDEFINED_IDENTIFIER
-lib/src/account/account_impl.dart:49:30
- Undefined name 'ethereum'.
Run dart pub downgrade
and then dart analyze
to reproduce the above problem.
You may run dart pub upgrade --tighten
to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.15
, Dart 3.5.4
.
Check the analysis log for details.