mirror of
https://github.com/arnaucube/blindsig-client-server-example.git
synced 2026-02-06 10:46:40 +01:00
master
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.jsin theclientdirectory:
cd client cp "$(go env GOROOT)/misc/wasm/wasm_exec.js" . - Add the file
- Run the server:
go run main.go
- Open the browser at
127.0.0.1:3000/web/web/index.htmlshows the js version/web/index-wasm.htmlshows the WASM version
Loop test
Check loop-test for more details.
Flow
Languages
JavaScript
99.5%
HTML
0.3%
Go
0.2%
