binance_chain 1.0.1+1 copy "binance_chain: ^1.0.1+1" to clipboard
binance_chain: ^1.0.1+1 copied to clipboard

Binance Chain Dart SDK. Get Binance DEX info, send tokens, place orders, keep account balance using HTTP or WebSocket!

13
likes
100/ 140
pub points
8%
popularity

We analyzed this package 13 days ago, and awarded it 100 pub points (of a possible 140):

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

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: BSD-3-Clause.

partial
Provide documentation
10 / 20trigger folding of the section

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

104 out of 598 API elements (17.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.

Some symbols that are missing documentation: binance_chain.APIResponse.error, binance_chain.APIResponse.APIResponse.fromOther, binance_chain.APIResponse.load, binance_chain.APIResponse.ok, binance_chain.APIResponse.statusCode.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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:binance_chain/binance_chain.dart that imports:
  • package:binance_chain/src/websockets/websockets_io.dart that imports:
  • package:web_socket_channel/io.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 253 issues. Showing the first 2:

WARNING: The operand can't be null, so the condition is always 'true'.

lib/src/http_client/http_response_models.dart:31:27

   ╷
31 │     if (json['validators' != null]) {
   │                           ^^^^^^^
   ╵

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

WARNING: This function has a nullable return type of 'Wallet?', but ends without returning a value.

lib/src/messages/messages.dart:30:15

   ╷
30 │   Wallet? get wallet {
   │               ^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
bip39_mnemonic ^3.0.4 3.0.6 3.0.6
bs58check ^1.0.2 1.0.2 1.0.2
collection ^1.17.0 1.18.0 1.18.0
convert ^3.0.0 3.1.1 3.1.1
decimal ^1.2.0 1.5.0 2.3.3
fixnum ^1.0.0 1.1.0 1.1.0
hex ^0.2.0 0.2.0 0.2.0
http ^0.13.3 0.13.6 1.2.1
pointycastle ^3.5.1 3.7.4 3.7.4
protobuf ^2.0.0 2.1.0 3.1.0
uuid ^3.0.4 3.0.7 4.3.3
web_socket_channel ^2.1.0 2.4.4 2.4.4
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
crypto - 3.0.3 3.0.3
http_parser - 4.0.2 4.0.2
js - 0.7.1 0.7.1
meta - 1.12.0 1.12.0
path - 1.9.0 1.9.0
rational - 1.2.1 2.2.2
source_span - 1.10.0 1.10.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
unorm_dart - 0.2.0 0.3.0
web - 0.5.1 0.5.1

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

Found 4 issues. Showing the first 2:

The constraint `^1.2.0` on decimal does not support the stable version `2.0.0`.

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

The constraint `^0.13.3` on http does not support the stable version `1.0.0`.

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

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

Analyzed with Pana 0.22.2, Dart 3.3.0.

Check the analysis log for details.

13
likes
100
pub points
8%
popularity

Publisher

unverified uploader

Binance Chain Dart SDK. Get Binance DEX info, send tokens, place orders, keep account balance using HTTP or WebSocket!

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

bip39_mnemonic, bs58check, collection, convert, decimal, fixnum, hex, http, pointycastle, protobuf, uuid, web_socket_channel

More

Packages that depend on binance_chain