binance_chain 0.0.6+1
binance_chain: ^0.0.6+1

Dart native
Flutter Android iOS

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

1
likes
70 / 110
pub points
18 %
popularity

We analyzed this package on Nov 24, 2020, and awarded it 70 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
10 / 20

10/10 points: Package has an example

  • Found example at: example/binance_chain_example.dart

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

  • 95 out of 961 API elements (9.9 %) 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.

Support multiple platforms
10 / 20

10/20 points: Supports 1 of 2 possible platforms (native, js)

Consider supporting multiple platforms:

Package not compatible with runtime js

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
Pass static analysis
20 / 30

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

Found 735 issues. Showing the first 2:

INFO: Unused import: 'package:binance_chain/src/wallet.dart'.

lib/src/http_client/http_client.dart:3:8

  ╷
3 │ import 'package:binance_chain/src/wallet.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/http_client/http_client.dart

INFO: 'copyWith' is deprecated and shouldn't be used. Using this can add significant size overhead to your binary. Use [GeneratedMessageGenericExtensions.rebuild] instead. Will be removed in next major version.

lib/src/messages/proto/gen/block.pb.dart:25:73

   ╷
25 │   PartSetHeader copyWith(void Function(PartSetHeader) updates) => super.copyWith((message) => updates(message as PartSetHeader));
   │                                                                         ^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/messages/proto/gen/block.pb.dart

Support up-to-date dependencies
10 / 20

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

PackageConstraintCompatibleLatest
bip39^1.0.31.0.31.0.3
bs58check^1.0.11.0.11.0.1
convert^2.1.12.1.12.1.1
decimal^0.3.50.3.50.3.5
fixnum^0.10.110.10.110.10.11
hex^0.1.20.1.20.1.2
http^0.12.10.12.20.12.2
meta^1.2.31.2.41.2.4
pointycastle^1.0.21.0.22.0.0
protobuf^1.0.11.1.01.1.0
protoc_plugin^19.0.119.2.0+119.2.0+1
uuid^2.2.22.2.22.2.2
web_socket_channel^1.1.01.1.01.1.0
Transitive dependencies
PackageConstraintCompatibleLatest
_fe_analyzer_shared-13.0.013.0.0
analyzer-0.41.00.41.0
args-1.6.01.6.0
async-2.4.22.4.2
charcode-1.1.31.1.3
cli_util-0.2.00.2.0
collection-1.14.131.14.13
crypto-2.1.52.1.5
dart_style-1.3.101.3.10
file-5.2.15.2.1
glob-1.2.01.2.0
http_parser-3.1.43.1.4
intl-0.16.10.16.1
js-0.6.20.6.2
node_interop-1.2.11.2.1
node_io-1.2.01.2.0
package_config-1.9.31.9.3
path-1.7.01.7.0
pub_semver-1.4.41.4.4
rational-0.3.80.3.8
source_span-1.7.01.7.0
stream_channel-2.0.02.0.0
string_scanner-1.0.51.0.5
term_glyph-1.1.01.1.0
typed_data-1.2.01.2.0
watcher-0.9.7+150.9.7+15
yaml-2.2.12.2.1

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

The constraint `^1.0.2` on pointycastle does not support the latest published version `2.0.0`

pubspec.yaml:15:17

   ╷
15 │   pointycastle: ^1.0.2
   │                 ^^^^^^
   ╵

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

1
likes
70
pub points
18%
popularity

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

Uploader

robbbbb748@gmail.com

License

BSD (LICENSE)

Dependencies

bip39, bs58check, convert, decimal, fixnum, hex, http, meta, pointycastle, protobuf, protoc_plugin, uuid, web_socket_channel

More

Packages that depend on binance_chain