@matterpool/classify-script
v1.0.11
Published
Classifies bitcoin scripts as a specific tag. Examples: `payment`, `data`, `twetch`, `21e8` or `boost`.
Downloads
2
Readme
Classify Script
Classifies bitcoin scripts as a specific tag. Examples: payment
, data
, twetch
, 21e8
or boost
.
To add more classifications, create a pull request, or don't, whatever.
Installation
npm install @matterpool/classify-script
const bsv = require('bsv');
const classifyScript = require('@matterpool/classify-script');
const script = new bsv.Script();
classifyScript(script);