ink_cli 0.3.1
ink_cli: ^0.3.1 copied to clipboard
ink_cli is a command line interface for ink! smart contracts. Generates code to interact with ink! smart contracts.
We analyzed this package 3 days ago, and awarded it 130 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: Apache-2.0.
0/10 points: 20% or more of the public API has dartdoc comments
31 out of 187 API elements (16.6 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: ink_cli, ink_cli.AbiOutput, ink_cli.AbiOutput.AbiOutput.new, ink_cli.AbiOutput.block, ink_cli.AbiOutput.blockComment.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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:ink_cli/ink_cli.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 26 issues. Showing the first 2:
INFO: The part-of directive uses a library name.
lib/src/contracts_builder/args/contract_args.dart:1:1
╷
1 │ part of ink_cli;
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/contracts_builder/args/contract_args.dart
INFO: The part-of directive uses a library name.
lib/src/contracts_builder/args/contract_call_args.dart:1:1
╷
1 │ part of ink_cli;
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/contracts_builder/args/contract_call_args.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
^2.7.0 |
2.7.0 | 2.7.0 | |
console |
^4.1.0 |
4.1.0 | 4.1.0 | |
crypto |
^3.0.6 |
3.0.7 | 3.0.7 | |
ink_abi |
^0.3.1 |
0.3.1 | 1.0.0 | |
path |
^1.8.3 |
1.9.1 | 1.9.1 | |
polkadart |
^0.7.2 |
0.7.3 | 1.0.0 | |
polkadart_keyring |
^0.7.1 |
0.7.1 | 0.7.2 | |
polkadart_scale_codec |
^1.6.0 |
1.6.0 | 2.0.0 | |
ss58 |
^1.3.1 |
1.3.1 | 2.0.0 | |
substrate_metadata |
^1.6.0 |
1.6.0 | 2.0.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
adaptive_number |
- | 1.0.0 | 1.0.0 | |
async |
- | 2.13.0 | 2.13.0 | |
base_x |
- | 2.0.1 | 2.0.1 | |
bip39_mnemonic |
- | 4.0.1 | 4.0.1 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
cross_file |
- | 0.3.5+1 | 0.3.5+1 | |
cryptography |
- | 2.9.0 | 2.9.0 | |
ed25519_edwards |
- | 0.3.1 | 0.3.1 | |
edwards25519 |
- | 1.0.5 | 1.0.5 | |
equatable |
- | 2.0.8 | 2.0.8 | |
ffi |
- | 2.1.5 | 2.1.5 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_curve25519 |
- | 0.1.2 | 0.1.2 | |
hashlib_codecs |
- | 3.0.1 | 3.0.1 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
json_schema |
- | 5.2.2 | 5.2.2 | |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.18 | 0.12.18 | |
merlin |
- | 1.0.3 | 1.0.3 | |
meta |
- | 1.17.0 | 1.17.0 | |
pointycastle |
- | 4.0.0 | 4.0.0 | |
quiver |
- | 3.2.2 | 3.2.2 | |
rfc_6901 |
- | 0.2.1 | 0.2.1 | |
ristretto255 |
- | 1.0.2 | 1.0.2 | |
secp256k1_ecdsa |
- | 0.6.3 | 0.6.3 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sr25519 |
- | 0.7.1 | 0.7.2 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
strobe |
- | 1.0.5 | 1.0.5 | |
substrate_bip39 |
- | 0.7.1 | 0.7.2 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.9 | 0.7.9 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
unorm_dart |
- | 0.3.2 | 0.3.2 | |
uri |
- | 1.0.0 | 1.0.0 | |
utility |
- | 1.0.3 | 1.0.3 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
web_socket |
- | 1.0.1 | 1.0.1 | |
web_socket_channel |
- | 3.0.3 | 3.0.3 | |
web_socket_client |
- | 0.2.1 | 0.2.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 5 issues. Showing the first 2:
The constraint `^0.3.1` on ink_abi does not support the stable version `1.0.0`, that was published 15 days ago.
When ink_abi is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions ink_abi to update the constraint.
The constraint `^0.7.2` on polkadart does not support the stable version `1.0.0`, that was published 15 days ago.
When polkadart is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions polkadart 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.23.5, Dart 3.10.7.
Check the analysis log for details.