1.0.4 • Published 5 years ago
@veriblock/vblake v1.0.4
WASM bindings on top of C/C++ vblake implementation from alt-integration-cpp
To include in HTML, use this link:
https://unpkg.com/@veriblock/vblake@1.0.0/vblake_module.jsBuild:
- Install emsdk - https://emscripten.org/docs/getting_started/downloads.html
- Run
source emsdk_env.sh(on Linux/Mac) oremsdk_env.baton Windows. - In same terminal as (2) navigate to
vblakedirectory. make
Result is vblake_module.js. Include it in your HTML, and use:
const hash = Module.vblake('0123');