Guess The Weather #64
tofu9989
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Show and tell project type
Builder Bounty Submission
Github Repo Link
https://github.com/tofu9989/GuessTheWeather
Video Walkthough Link
No response
Project Description
"Guess The Weather" is a secure comparison demo where users guess the temperature for the next day in Tokyo and compare their guess with the actual temperature retrieved from a weather API. It showcases the integration of a third-party API using Multi-Party Computation (MPC) to compare the response and the user input privately.
The project is inspired by the tinybin demo from the Nillion team. If the user's guess is correct, the app indicates a successful guess. If the guess is incorrect, the app indicates so.
What problems does your project solve? How does it preserve privacy for users?
"Guess The Weather" solves the problem of securely comparing a user's guess to a target temperature without revealing the values to those involved in the computation, utilizing Multi-Party Computation (MPC). Only the final result of the comparison is publicly known.
The input and target are encoded according to the workflow signature, and every participating node partakes in the preprocessing phase and broadcasts the masked values. Each node then computes locally its share of the computation. The final result of the computation, the comparison output, is obtained by summing the shares of the individual results from the participating nodes.
How does the project use Nillion? Describe and link to any Nada programs
"Guess The Weather" uses the Nillion tinympc library for secure MPC evaluation. The project particularly utilizes tinympc for the preprocessing phase, masking of factors, computation, and broadcasting.
Is there anything else you want to share?
I found the Nillion documentation useful and comprehensive. The demo codebases were very helpful. However, I suggest that the documentation should include an actual step-by-step guide for implementing MPC using Nada or the tinympc library, showing the detailed workflow for setting up the preprocessing phase, creating shares, performing non-interactive computation of masked factors, and reconstructing the result through the summation of result shares received from nodes.
Optional - Link your project and team members' social handles
No response
Optional - Team ETH Address(es)
0xA0e514C4130EBC905c29E85A5E04cBAB6257cEE9
Beta Was this translation helpful? Give feedback.
All reactions