@tatumio/pushdata-bitcoin

1.2.2 • Public • Published

pushdata-bitcoin

NPM Package Build Status js-standard-style

Encode/decode value as bitcoin OP_PUSHDATA integer

Example

var pushdata = require('pushdata-bitcoin')

var i = 120
var buffer = new Buffer(pushdata.encodingLength(i))

pushdata.encode(buffer, i)

LICENSE MIT

Package Sidebar

Install

npm i @tatumio/pushdata-bitcoin

Weekly Downloads

144

Version

1.2.2

License

MIT

Unpacked Size

4.24 kB

Total Files

4

Last publish

Collaborators

  • jiriandras
  • smrecz
  • npwork.tatum
  • sramkos
  • hathoriel