2021-02-10 21:51:51 +01:00
2021-02-10 21:51:51 +01:00
2021-02-10 21:51:51 +01:00
2021-01-17 20:06:23 +01:00
2021-02-10 21:26:03 +01:00
2021-02-10 21:26:03 +01:00
2021-01-17 20:06:23 +01:00
2021-02-10 21:26:03 +01:00
2021-02-10 21:51:51 +01:00

blindsig-client-server-example

Example of usage of go-blindsecp256k1 & blindsecp256k1-js, including a server representing the 'signer', and a web representing the 'user'.

Run

  • Needs go installed
  • If wants to use the WASM web version:
    • Add the file wasm_exec.js in the client directory:
    cd client
    cp "$(go env GOROOT)/misc/wasm/wasm_exec.js" .
    
  • Run the server:
go run main.go
  • Open the browser at 127.0.0.1:3000/web
    • /web/index.html shows the js version
    • /web/index-wasm.html shows the WASM version

Loop test

Check loop-test for more details.

Flow

diagram

Description
No description provided
Readme GPL-3.0 2.6 MiB
Languages
JavaScript 99.5%
HTML 0.3%
Go 0.2%