Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
JernKunpittaya committed Oct 15, 2024
1 parent ba788f5 commit 612757c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions DevConDemo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ Note that we're working with 256-bit integer, resulting in 320-bit prime number,
Scripts/setup-ssl.sh <nparties>
Scripts/setup-clients.sh <nclients>
./compile.py demo_core_initiate -F 256
PLAYERS=<nparties> Scripts/<protocol>.sh demo-demo_core_initiate
PLAYERS=<nparties> Scripts/<protocol>.sh demo_core_initiate
```

2. Interaction during receiving private input
2.1 On Computation server side, run as follows to keep listening to the private input the client's going to provide. Note that these servers, individually, already hardcode into .mpc file, the corresponding delta & zero encoding values from the tlsn proof of the client who is providing input.

```
./compile.py demore_core_save -F 256
PLAYERS=<nparties> Scripts/<protocol>.sh demo-demo_core_save
./compile.py demo_core_save -F 256
PLAYERS=<nparties> Scripts/<protocol>.sh demo_core_save
```

2.2 On Client side who's gonna provide private input, run following file to provide both the private input and the private nonce. Once he provides the input and the computation servers compute and store his commitment successfully, the client who provides input will receive the commitment back, which they can check with their own commitment in tlsn proof. (TODO: Need to figure out what if it doesn't match.)
Expand All @@ -30,8 +30,8 @@ Note that we're working with 256-bit integer, resulting in 320-bit prime number,
2.1 On Computation server side, run as follows to keep listening to the client asking for computation by the computation index (which is public)

```
./compile.py demore_core_query -F 256
PLAYERS=<nparties> Scripts/<protocol>.sh demo-demo_core_query
./compile.py demo_core_query -F 256
PLAYERS=<nparties> Scripts/<protocol>.sh demo_core_query
```

2.2 On Client side who's gonna query computation, run following file to receive the result of the computation and the corresponding commitments of all private inputs. (TODO: Figure out if this step is necessary and how to make it make more sense)
Expand Down

0 comments on commit 612757c

Please sign in to comment.