mirror of
https://github.com/arnaucube/go-blindsecp256k1.git
synced 2026-02-06 19:16:40 +01:00
Migrate from btcd/btcec to go-ethereum/crypto/secp256k1 Abstract calls on secp256k1.S256() Change newRand approach, use ecdsa.GenerateKey underneath Add check of size of mBlinded & k when blind signing
blindsecp256k1 wasm clientlib
blindsecp256k1 lib for browsers using go WASM.
Wasm usage
To compile to wasm, inside the wasm directory, execute:
./build.sh
Add the file wasm_exec.js in the webtest directory:
cp "$(go env GOROOT)/misc/wasm/wasm_exec.js" .
To see the usage from javascript, check index.js file.