Skip to content

Latest commit

 

History

History

verifier

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

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/