This project is an application which gives out gifts, but only to names on the list. The catch is that on the server you are only allowed to store one 32 byte value in the server memory. This 32 byte value has to be enough for the server to be able to determine who is on the list.
The client is the prover here. They are the ones trying to prove to the server that the one name is in the list. Likewise think of the server as the verifier here. They are taking the client's proof and, using minimal information, able to verify that the name sent from the client is actually in the list.
- Docker
- Install Docker
- Download the project
- Open a terminal in the project folder
- Build the image, execute:
docker build ./ -f Dockerfile-node -t server-node
- Run the container, execute:
docker run -it -p 1225:1225 server-node
Watch the code explanation in on Youtube
- add golang server
- add rust server
- add a demo