Skip to content

encode/decode number as bitcoin pushdata integer

License

Notifications You must be signed in to change notification settings

tatumio/pushdata-bitcoin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED: pushdata-bitcoin

This repository has been deprecated because of it being a forked lib.

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

About

encode/decode number as bitcoin pushdata integer

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%