ethereumjs-monorepo icon indicating copy to clipboard operation
ethereumjs-monorepo copied to clipboard

VM: Add BLS precompile support for browsers

Open jochem-brouwer opened this issue 5 years ago • 3 comments

PR 785 introduces the BLS curves, but these do not seem to work in browser. Fixing that seems to be a rather complicated process. If this PR gets merged then we have BLS support, but it does not work in browser, we should add this support.

jochem-brouwer avatar Sep 06 '20 17:09 jochem-brouwer

There seems to be some renewed interest on the associated EIP https://github.com/ethereum/pm/issues/343 and there is some likelyhodd this gets included in the (one) next feature fork, so we should pick up at some point here.

holgerd77 avatar Jan 20 '22 16:01 holgerd77

@holgerd77 Take a look at https://github.com/fetchai/blst-ts/pull/1 :eyes: potential support for browsers of blst which is the lib used by all consensus clients in production over Herumi

dapplion avatar May 27 '22 02:05 dapplion

I heard someone wanted to utilize noble-bls12-381: it is 5-10x slower than blst.wasm, so not sure if it's worth it. Also there have been no audits.

paulmillr avatar Aug 18 '22 03:08 paulmillr

BLS precompile EIP-2537 support has been removed from VM for now with #2870, will close here.

holgerd77 avatar Aug 01 '23 10:08 holgerd77