Closed paulmillr closed 6 months ago
I know! There's an effort to get WASM working but requires quite a lot of work and it's not a priority at the moment
@paulmillr You can try using this for the browsers https://github.com/ChainSafe/bls
@nazarhussain blst is reference bls implementation that was thoroughly audited
You're suggesting to use herumi/bls, which does not have these properties & much slower
I suggested for browser use. And any browser compatible implementation will be slower than BLS which is most of assembly language implementation.
I have developed pure-javascript bls library one year ago. The goal here is not to use "something" in browser, it is to use blst in browser.
I suggested for browser use. And any browser compatible implementation will be slower than BLS which is most of assembly language implementation.
BLST should be compilable to WASM, but we have no bandwidth to make that happen now
I've been working on this for a bit and thought I would share: https://github.com/fetchai/blst-ts/pull/1. It's not my top priority but I'm anxious to be done and I've been grinding on it in-between other tasks. My first goal was to get the bindings tests passing in the browser.
Browser support is provided via https://github.com/supranational/blst/tree/master/bindings/emscripten and also via https://github.com/ChainSafe/bls . This repos now hosts napi async bindings for multi-threaded verification and is node specific. There is some discussion about building multi-threaded wasm or emscripten bindings but that is still a future "wish list" thing. Closing this issue
I have developed pure-javascript bls library one year ago. The goal here is not to use "something" in browser, it is to use blst in browser.
why pure-javascript bls library sign verify result false,This library results in true
Would be great to be able to run the lib in browser