slp_parser

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

slp parser

Slp parser for dart #
This package is for parsing Simple Ledger Protocol (SLP) metadata. TokenType1 and NFT1 tokens are supported.
Usage #
var scriptPubKey = '6a04534c500001010747454e455349530ce3838ae382abe383a2e383884c004c004c0001094c00080000000000000064';
var slpMsg = parseSLP(hex.decode(scriptPubKey));
print('Parsed results (raw form):\n ${slpMsg.toMap(raw: true)}');
print('Parsed results (readable form):\n ${slpMsg.toMap()}');
copied to clipboard
Test #
$ dart test/parser.spec.dart

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.