web3_browser 0.0.1 web3_browser: ^0.0.1 copied to clipboard
Support for using web3 dart with browser clients such as MetaMask.
We analyzed this package 14 days ago, and awarded it 80 pub points (of a possible 140):
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
11 out of 18 API elements (61.1 %) have documentation comments.
Some symbols that are missing documentation: web3_browser
, web3_browser.Ethereum
, web3_browser.Ethereum.Ethereum
, web3_browser.Ethereum.autoRefreshOnNetworkChange
, web3_browser.Ethereum.chainId
.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Web
These platforms are not supported:
Package not compatible with platform Android
Because:
package:web3_browser/web3_browser.dart
that imports:package:web3_browser/src/javascript.dart
that imports:package:web3_browser/src/dart_wrappers.dart
that imports:package:web3_browser/src/credentials.dart
that imports:package:js/js.dart
that imports:dart:js
Package not compatible with platform iOS
Because:
package:web3_browser/web3_browser.dart
that imports:package:web3_browser/src/javascript.dart
that imports:package:web3_browser/src/dart_wrappers.dart
that imports:package:web3_browser/src/credentials.dart
that imports:package:js/js.dart
that imports:dart:js
Package not compatible with platform Windows
Because:
package:web3_browser/web3_browser.dart
that imports:package:web3_browser/src/javascript.dart
that imports:package:web3_browser/src/dart_wrappers.dart
that imports:package:web3_browser/src/credentials.dart
that imports:package:js/js.dart
that imports:dart:js
Package not compatible with platform Linux
Because:
package:web3_browser/web3_browser.dart
that imports:package:web3_browser/src/javascript.dart
that imports:package:web3_browser/src/dart_wrappers.dart
that imports:package:web3_browser/src/credentials.dart
that imports:package:js/js.dart
that imports:dart:js
Package not compatible with platform macOS
Because:
package:web3_browser/web3_browser.dart
that imports:package:web3_browser/src/javascript.dart
that imports:package:web3_browser/src/dart_wrappers.dart
that imports:package:web3_browser/src/credentials.dart
that imports:package:js/js.dart
that imports:dart:js
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
ERROR: Missing concrete implementation of 'Credentials.signToEcSignature'.
lib/src/credentials.dart:13:7
╷
13 │ class MetaMaskCredentials extends CredentialsWithKnownAddress
│ ^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/credentials.dart
ERROR: The superclass 'RpcService' doesn't have a zero argument constructor.
lib/src/dart_wrappers.dart:75:3
╷
75 │ _MetaMaskRpcService(this._ethereum);
│ ^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/dart_wrappers.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
js |
^0.6.4 |
0.6.7 | 0.7.1 |
web3dart |
^2.3.5 |
2.7.3 | 2.7.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.11.0 | 2.11.0 |
collection |
- | 1.18.0 | 1.18.0 |
convert |
- | 3.1.1 | 3.1.1 |
crypto |
- | 3.0.3 | 3.0.3 |
eip1559 |
- | 0.6.2 | 0.6.2 |
eip55 |
- | 1.0.2 | 1.0.2 |
fixnum |
- | 1.1.0 | 1.1.0 |
http |
- | 1.2.1 | 1.2.1 |
http_parser |
- | 4.0.2 | 4.0.2 |
json_rpc_2 |
- | 3.0.2 | 3.0.2 |
meta |
- | 1.12.0 | 1.12.0 |
path |
- | 1.9.0 | 1.9.0 |
pointycastle |
- | 3.7.4 | 3.7.4 |
sec |
- | 1.1.0 | 1.1.0 |
source_span |
- | 1.10.0 | 1.10.0 |
sprintf |
- | 7.0.0 | 7.0.0 |
stack_trace |
- | 1.11.1 | 1.11.1 |
stream_channel |
- | 2.1.2 | 2.1.2 |
stream_transform |
- | 2.1.0 | 2.1.0 |
string_scanner |
- | 1.2.0 | 1.2.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.3.2 | 1.3.2 |
uuid |
- | 4.3.3 | 4.3.3 |
wallet |
- | 0.0.13 | 0.0.13 |
web |
- | 0.5.1 | 0.5.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.6.4` on js does not support the stable version `0.7.0`.
Try running dart pub upgrade --major-versions js
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.