weselowski-vdf-native
v1.0.3
Published
Verifiable Delay Function
Downloads
5
Readme
weselowski-vdf-native.js
Bindings of harmony-one/vdf to node.js
Installation
Build From Source
- You will need to build the
lib.go
filecd go && go build -o ../include/libvdf.so -buildmode=c-shared lib.go && cd ../
- Build the bindings with node-gyp
node-gyp configure && node-gyp build
3, If you get an error saying/usr/bin/ld: cannot find -l:libvdf.so: No such file or directory
or similar You need to export the Export the Library Pathexport LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/include