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.
 
 
 
arnaucube 0d245722b3 Add blindsecp256k1-js client web example 3 years ago
client Add blindsecp256k1-js client web example 3 years ago
.gitignore Add example Server & Client 3 years ago
LICENSE Add example Server & Client 3 years ago
README.md Add example Server & Client 3 years ago
diagram.png Add example Server & Client 3 years ago
go.mod Update go-blindsecp256k1 version 3 years ago
go.sum Update go-blindsecp256k1 version 3 years ago
main.go Update go-blindsecp256k1 version 3 years ago

README.md

blindsig-client-server-example

Example of usage of https://github.com/arnaucube/go-blindsecp256k1, including a server representing the 'signer', and a web representing the 'user'.

Run

  • Needs go installed
  • 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

Flow

diagram