terra_dart_sdk 1.1.0 copy "terra_dart_sdk: ^1.1.0" to clipboard
terra_dart_sdk: ^1.1.0 copied to clipboard

TerraDart is the Dart Implementation of Terra.js, the TypeScript Library for developing on Terra Luna. Library For Flutter & Dart Applications

1
likes
60/ 160
pub points
55%
popularity

We analyzed this package 4 days ago, and awarded it 60 pub points (of a possible 160):

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Funding URL doesn't exist.

At the time of the analysis https://www.patreon.com/dangerchcovich was unreachable. Make sure that the website is reachable via HEAD requests.

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.

failed
Provide documentation
0 / 20trigger folding of the section

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

11 out of 3117 API elements (0.4 %) 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: AccountsConstants, AccountsConstants.AccountsConstants, AccountsConstants.AccountsConstants.AccountsConstants, AccountsConstants.AccountsConstants.BASE_ACCOUNT_AMINO_TYPE, AggregateExchangeRatePrevote.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger 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

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:terra_dart_sdk/Client/Lcd/Api/feeGrantAPI.dart that imports:
  • dart:ffi

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.

failed
Pass static analysis
0 / 50trigger folding of the section

0/50 points: code has no errors, warnings, lints, or formatting issues

Found 1408 issues. Showing the first 2:

ERROR: Target of URI doesn't exist: '../../../../../src/Configuration/Environment/terraClientConfiguration.dart'.

lib/Client/Lcd/Api/Helpers/Staking/DelegationHelper.dart:3:8

  ╷
3 │ import '../../../../../src/Configuration/Environment/terraClientConfiguration.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/Client/Lcd/Api/Helpers/Staking/DelegationHelper.dart

ERROR: Undefined name 'TerraClientConfiguration'.

lib/Client/Lcd/Api/Helpers/Staking/DelegationHelper.dart:16:12

   ╷
16 │         "${TerraClientConfiguration.blockchainResourcePath}${CosmosBaseConstants.COSMOS_STAKING_VALIDATORS_BASE}/$validator/${CosmosStakingConstants.DELEGATIONS}/$delegator";
   │            ^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/Client/Lcd/Api/Helpers/Staking/DelegationHelper.dart

failed
Support up-to-date dependencies
10 / 40trigger folding of the section

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

Package Constraint Compatible Latest
bech32 ^0.2.1 0.2.2 0.2.2
bip32 ^2.0.0 2.0.0 2.0.0
bip39 ^1.0.6 1.0.6 1.0.6
buffer ^1.1.1 1.2.3 1.2.3
crypto ^3.0.2 3.0.6 3.0.6
decimal ^2.2.0 2.3.3 3.0.2
grpc ^3.1.0 3.2.4 4.0.1
hash ^1.0.4 1.0.4 1.0.4
http ^0.13.5 0.13.6 1.2.2
injector ^2.0.0 2.0.0 4.0.0
json_annotation ^4.7.0 4.9.0 4.9.0
path ^1.8.0 1.9.1 1.9.1
pointycastle ^3.6.2 3.9.1 3.9.1
proto_annotations ^2.1.2 2.3.1 3.1.0
protobuf ^2.1.0 2.1.0 3.1.0
protobuf_google ^0.0.1 0.0.1 0.0.1
random_string_generator ^2.0.0 2.0.0 2.0.0
secp256k1 ^0.3.0 0.3.0 0.3.0
terra_dart_keys ^1.1.4 1.1.4 1.1.4
terra_dart_sdk_extensions ^1.0.5 1.0.5 1.0.5
terra_dart_sdk_protos ^1.0.2 1.0.2 1.0.2
terra_rest ^1.0.3 1.0.4 1.0.4
validated ^2.0.0 2.0.0 2.0.0
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 3.6.1
async - 2.12.0 2.12.0
bs58check - 1.0.2 1.0.2
clock - 1.1.2 1.1.2
coinslib - 3.1.8 3.1.8
collection - 1.19.1 1.19.1
common_utils - 2.1.0 2.1.0
convert - 3.1.2 3.1.2
dart_bech32 - 2.0.0 2.0.0
ecdsa - 0.0.4 0.1.2
elliptic - 0.3.11 0.3.11
fixnum - 1.1.1 1.1.1
googleapis_auth - 1.3.1 1.6.0
hex - 0.2.0 0.2.0
http2 - 2.3.0 2.3.0
http_parser - 4.1.1 4.1.1
js - 0.7.1 0.7.1
meta - 1.16.0 1.16.0
ninja_asn1 - 2.0.0 2.0.0
random_string - 2.3.1 2.3.1
rational - 2.2.3 2.2.3
sec - 1.1.0 1.1.0
source_span - 1.10.0 1.10.0
squarealfa_common_types - 1.2.1 2.0.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0

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

Found 6 issues. Showing the first 2:

The constraint `^2.2.0` on decimal does not support the stable version `3.0.0`.

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

The constraint `^3.1.0` on grpc does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions grpc 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 169 errors:

  • URI_DOES_NOT_EXIST - lib/Client/Lcd/Api/Helpers/Staking/DelegationHelper.dart:3:8 - Target of URI doesn't exist: '../../../../../src/Configuration/Environment/terraClientConfiguration.dart'.
  • UNDEFINED_IDENTIFIER - lib/Client/Lcd/Api/Helpers/Staking/DelegationHelper.dart:16:12 - Undefined name 'TerraClientConfiguration'.
  • UNDEFINED_IDENTIFIER - lib/Client/Lcd/Api/Helpers/Staking/DelegationHelper.dart:36:12 - Undefined name 'TerraClientConfiguration'.

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.

1
likes
60
pub points
55%
popularity

Publisher

verified publisherterramystics.com.au

TerraDart is the Dart Implementation of Terra.js, the TypeScript Library for developing on Terra Luna. Library For Flutter & Dart Applications

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

Funding

Consider supporting this project:

www.patreon.com

License

MIT (license)

Dependencies

bech32, bip32, bip39, buffer, crypto, decimal, grpc, hash, http, injector, json_annotation, path, pointycastle, proto_annotations, protobuf, protobuf_google, random_string_generator, secp256k1, terra_dart_keys, terra_dart_sdk_extensions, terra_dart_sdk_protos, terra_rest, validated

More

Packages that depend on terra_dart_sdk