You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
391 B

  1. # blindsecp256k1 wasm clientlib
  2. [blindsecp256k1](https://github.com/arnaucube/go-blindsecp256k1) lib for browsers using go WASM.
  3. ## Wasm usage
  4. To compile to wasm, inside the `wasm` directory, execute:
  5. ```
  6. ./build.sh
  7. ```
  8. Add the file `wasm_exec.js` in the `webtest` directory:
  9. ```
  10. cp "$(go env GOROOT)/misc/wasm/wasm_exec.js" .
  11. ```
  12. To see the usage from javascript, check `index.js` file.