Skip to main content

tstokenlib 3.0.0 copy "tstokenlib: ^3.0.0" to clipboard
tstokenlib: ^3.0.0 copied to clipboard

An implementation of the TSL1 Token Protocol for the BSV blockchain.

130/ 160
pub points
877
downloads

We analyzed this package 39 hours ago, and awarded it 130 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Repository URL doesn't exist.

At the time of the analysis https://github.com/twostack/tstokenlib was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Failed check 0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

828 out of 1702 API elements (48.6 %) have documentation comments.

Some symbols that are missing documentation: testing.PoolChainFixture.agg, testing.PoolChainFixture.body, testing.PoolChainFixture.bundles, testing.PoolChainFixture.bundles2, testing.PoolChainFixture.g.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:tstokenlib/tstokenlib.dart that imports:
  • package:tstokenlib/src/shielded_pool/pool_out_hash.dart that imports:
  • package:tstokenlib/src/shielded_pool/pool_outputs.dart that imports:
  • package:dartsv/dartsv.dart that imports:
  • package:dartsv/src/script/script_template.dart that imports:
  • package:dartsv/src/script/svscript.dart that imports:
  • package:dartsv/src/script/interpreter.dart that imports:
  • dart:io
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 316 issues. Showing the first 2:

INFO: The variable name 'PREFIX' isn't a lowerCamelCase identifier.

lib/src/builder/aip_lockbuilder.dart:38:16

   ╷
38 │   final String PREFIX = "15PciHG22SNLQJXMoSUaWVi7WSqc7hCfva";
   │                ^^^^^^
   ╵

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

INFO: The variable name 'SIGNING_ALGORITHM' isn't a lowerCamelCase identifier.

lib/src/builder/aip_lockbuilder.dart:41:11

   ╷
41 │   String? SIGNING_ALGORITHM;
   │           ^^^^^^^^^^^^^^^^^
   ╵

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

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
buffer ^1.2.3 1.2.3 1.2.3
code_assets ^2.1.0 2.1.0 2.1.0
collection ^1.18.0 1.19.1 1.19.1
convert ^3.1.2 3.1.2 3.1.2
crypto ^3.0.6 3.0.7 3.0.7
cryptography ^2.5.0 2.9.0 2.9.0
dartsv ^3.1.0 3.1.2 3.1.2
ffi ^2.1.3 2.2.0 2.2.0
hex ^0.2.0 0.2.0 0.2.0
hooks ^2.2.0 2.2.0 2.2.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
decimal - 2.3.3 3.2.6
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
js - 0.7.2 0.7.2 Discontinued
logging - 1.3.0 1.3.0
meta - 1.19.0 1.19.0
path - 1.9.1 1.9.1
pointycastle - 3.9.1 4.0.0
pub_semver - 2.2.1 2.2.1
rational - 2.2.3 2.2.3
record_use - 1.1.1 1.1.1
resource_portable - 3.1.4 3.1.4
source_span - 1.10.2 1.10.2
sprintf - 7.0.0 7.0.0
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
unorm_dart - 0.2.0 0.3.3
web - 1.1.1 1.1.1
yaml - 3.1.4 3.1.4

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Dart 3.13.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
130
points
877
downloads

Documentation

API reference

Publisher

verified publishertwostack.org

Weekly Downloads

An implementation of the TSL1 Token Protocol for the BSV blockchain.

Repository (GitHub)

License

unknown (license)

Dependencies

buffer, code_assets, collection, convert, crypto, cryptography, dartsv, ffi, hex, hooks

More

Packages that depend on tstokenlib