Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fbac/zkproof-go
Zero Knowledge proof based on Chaum-Pedersen protocol
https://github.com/fbac/zkproof-go
chaum-pedersen go golang grpc grpc-client grpc-server proof-of-concept zero-knowledge zero-knowledge-proofs zk
Last synced: 3 months ago
JSON representation
Zero Knowledge proof based on Chaum-Pedersen protocol
- Host: GitHub
- URL: https://github.com/fbac/zkproof-go
- Owner: fbac
- License: gpl-3.0
- Created: 2024-01-25T18:07:58.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-08T23:09:45.000Z (12 months ago)
- Last Synced: 2024-04-14T14:57:01.920Z (10 months ago)
- Topics: chaum-pedersen, go, golang, grpc, grpc-client, grpc-server, proof-of-concept, zero-knowledge, zero-knowledge-proofs, zk
- Language: Go
- Homepage:
- Size: 6.39 MB
- Stars: 6
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zkproof-go
## Makefile targets
- Re-generate proto Go bindings: `make generate-proto`
- Build server: `make server`
- Build client: `make client`
- Clear binaries: `make clean`
- `make all` will clean, re-generate proto, test, build server and build client.
- `make test` will test ZK Go code.
- `make e2e` builds the server and client container images and run two test: happy and sad scenarios.
- `make server-img` builds the server img container.
- `make client-img` builds the client img container.## zkproof-server
By default, the server is executed listening on `localhost:50051`.
```text
Usage of ./bin/zkproof-server:
-host string
connect to hostname (default "localhost")
-port string
TCP port (default "50051")
```## zkproof-client
By default, the server is connects to `localhost:50051` as user `testUser` with password `1`.
```text
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")
```### Manual test
- `make all`
- Run `./bin/zkproof-server &`
- Run `./bin/zkproof-client`
- Run `killall zkproof-server` to stop the server.