From the server folder (one level up) run:
GOOS=js GOARCH=wasm go build -o ../client/verifier.wasm ./verifier/verifier.go
Copy wasm_exec.js from your Go distribution:
cp "$(go env GOROOT)/misc/wasm/wasm_exec.js" ./client/
From the server folder (one level up) run:
GOOS=js GOARCH=wasm go build -o ../client/verifier.wasm ./verifier/verifier.go
Copy wasm_exec.js from your Go distribution:
cp "$(go env GOROOT)/misc/wasm/wasm_exec.js" ./client/