Skip to content

Commit 88bf7e1

Browse files
committed
readme
1 parent e08b1b6 commit 88bf7e1

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ Since I have your Twitter, it's not completely private... 😏 Next step: build
2626
Preferences are encrypted in your browser.
2727
Ok, I'm lying here... 🙊 [co-noir](https://github.com/TaceoLabs/co-snarks/tree/main/co-noir/co-noir) cannot yet run in the browser (not possible to compile to wasm), so I'm actually encrypting your preferences on the server. But this will soon be changed!
2828

29-
They're sent to multiple MPC servers that check for mutual matches.
29+
They're sent to multiple MPC servers that check for mutual matches.
30+
Third time you caught me lying... I didn't want to pay for 3 servers for this PoC, so I'm actually running everything on 1 server, but it's spinning 3 local listeners, so it's kind of the same... 😂
3031

3132
If a match is found: A ZK proof is generated (with Noir) that confirms the match without revealing your preferences.
3233
If there's no match: no one ever knows.
@@ -35,10 +36,12 @@ If there's no match: no one ever knows.
3536

3637
### MPC server
3738

39+
You'll need a powerful server to compute the proofs fast. I'm renting an Hetzner's CCX33 (8 vcpus, 32GB) and each proof takes about 450ms to generate.
40+
41+
Run the [config.sh](./mpc-server/config.sh) file to generate the certificates and keys for each server.
42+
43+
You'll need to add an env variable for the JWT token: `JWT_SECRET`
44+
3845
### Front
3946

40-
```bash
41-
npm i -g vercel@latest
42-
vercel build
43-
vercel dev -t "<TOKEN>"
44-
```
47+
Edit the [config](./web-app/next.config.ts) with the address of the API

0 commit comments

Comments
 (0)