Skip to content

rayniel95/GiftList

Repository files navigation

About

GiftList

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.

Requirements

  • Docker

Hot to execute

Steps to create the Nextjs client

  1. Go to https://rayniel95.github.io/GiftList/

Steps to create the node server

  1. Install Docker
  2. Download the project
  3. Open a terminal in the project folder
  4. Build the image, execute: docker build ./ -f Dockerfile-node -t server-node
  5. Run the container, execute: docker run -it -p 1225:1225 server-node

How it works

Demo

Watch the demo in Youtube

Watch the code explanation in on Youtube

TODO

  • add golang server
  • add rust server
  • add a demo