Browse Source

Merge branch 'zcash_implementation' of https://github.com/ZencashOfficial/equihashverify into zcash_implementation

master
josephnicholas 6 years ago
parent
commit
66333493e4
  1. 13
      README.md

13
README.md

@ -1,7 +1,12 @@
# Equihash - Zcash Implementation
nodejs native binding to check for valid Equihash solutions
#Usage:
# Dependencies
````
sudo apt-get install libboost-all-dev
````
# Usage:
````javascript
var ev = require('bindings')('equihashverify.node');
@ -11,3 +16,9 @@ var solution = new Buffer(..., 'hex'); //do not include byte size preamble "fd40
ev.verify(header, solution);
//returns boolean
````
# Test Suite:
````
npm install
npm test
````

Loading…
Cancel
Save