Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 410 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 410 Bytes

Client-side consistency verifier

1. Build as WASM and copy to client folder

From the server folder (one level up) run:

GOOS=js GOARCH=wasm go build -o ../client/verifier.wasm ./verifier/verifier.go

2. Make sure wasm_exec.js is present in the client folder

Copy wasm_exec.js from your Go distribution:

cp "$(go env GOROOT)/misc/wasm/wasm_exec.js" ./client/