node-bitcoin-script

1.0.1 • Public • Published

Node Bitcoin Script

NPM
Node Bitcoin script parser

Installation

$ npm i node-bitcoin-script --save

Usage

You can parse raw hex string into an assembly string using:

> const nbs = require('node-bitcoin-script')
undefined
> parsedScript = nbs.parseRawScript('a914c664139327b98043febeab6434eba89bb196d1af87', 'hex')
'OP_HASH160 PUSHDATA(20)[c664139327b98043febeab6434eba89bb196d1af] OP_EQUAL'

/node-bitcoin-script/

    Package Sidebar

    Install

    npm i node-bitcoin-script

    Weekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    6.5 kB

    Total Files

    6

    Last publish

    Collaborators

    • robinsage