Skip to content

martin-key/equihashverify

 
 

Repository files navigation

Equihash - Zcash Implementation

nodejs native binding to check for valid Equihash solutions

Dependencies

sudo apt-get install build-essential libsodium-dev libboost-system-dev

Usage:

var ev = require('bindings')('equihashverify.node');

var header = new Buffer(..., 'hex');
var solution = new Buffer(..., 'hex'); //do not include byte size preamble "fd4005"

ev.verify(header, solution);
//returns boolean

Test Suite:

sudo npm install -g mocha
npm install
mocha

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 97.7%
  • C 1.6%
  • Other 0.7%