npm.io
1.0.0 • Published 7 years ago

bellcoin-yespower

Licence
MIT
Version
1.0.0
Deps
2
Size
1.0 MB
Vulns
0
Weekly
0
Stars
1
Install scriptsThis package runs scripts during installation (preinstall/install/postinstall)

Bellcoin yespower for Node.js

Prerequisites

  • Node.js

Build

git clone https://github.com/yutotetuota/node-bellcoin-yespower.git && cd node-bellcoin-yespower
npm install

Example Code

var bellcoin_yespower= require('bellcoin-yespower');

var data = new Buffer("7000000001e980924e4e1109230383e66d62945ff8e749903bea4336755c00000000000051928aff1b4d72416173a8c3948159a09a73ac3bb556aa6bfbcad1a85da7f4c1d13350531e24031b939b9e2b", "hex");
console.log(bellcoin_yespower.hash(data).toString('hex'));

Keywords