Skip to content

hyperdivision/bitcoin-consensus-encoding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bitcoin-consensus-encoding

Build Status abstract-encoding

Abstract encoding for Bitcoin related objects

Usage

var codec = require('bitcoin-consensus-encoding')

console.log(codec.varInt.encode(1e8), codec.varInt.encode.bytes)
console.log(codec.string.encode("Hello world"), codec.string.encode.bytes)
console.log(codec.boolean.encode(true), codec.boolean.encode.bytes)

API

``

Install

npm install bitcoin-consensus-encoding

License

ISC

About

Abstract encoding for bitcoin related objects

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •