Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 556 Bytes

File metadata and controls

19 lines (15 loc) · 556 Bytes

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'));