- Re-generate proto Go bindings:
make generate-proto - Build server:
make server - Build client:
make client - Clear binaries:
make clean make allwill clean, re-generate proto, test, build server and build client.make testwill test ZK Go code.make e2ebuilds the server and client container images and run two test: happy and sad scenarios.make server-imgbuilds the server img container.make client-imgbuilds the client img container.
By default, the server is executed listening on localhost:50051.
Usage of ./bin/zkproof-server:
-host string
connect to hostname (default "localhost")
-port string
TCP port (default "50051")
By default, the server is connects to localhost:50051 as user testUser with password 1.
Usage of ./bin/zkproof-client:
-host string
connect to hostname (default "localhost")
-password int
Password (default 1)
-port string
TCP port (default "50051")
-user string
Username (default "testUser")
make all- Run
./bin/zkproof-server & - Run
./bin/zkproof-client - Run
killall zkproof-serverto stop the server.