Bindings of harmony-one/vdf to node.js
- You will need to build the
lib.gofilecd go && go build -o ../include/libvdf.so -buildmode=c-shared lib.go && cd ../ - Build the bindings with node-gyp
node-gyp configure && node-gyp build3, If you get an error saying/usr/bin/ld: cannot find -l:libvdf.so: No such file or directoryor similar You need to export the Export the Library Pathexport LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/include