Open PerryGraham opened 1 year ago
Hey @alexcambose,
I read everything. I understand the algorithm of provably fair. There is one part that defeats the entire purpose for me. After the bet is over, the client now has the unhashed serverseed, nonce, and original clientseed. Without knowing the combination method, or the method used to calculate a result from the hashed combination, how can the client trust that the endpoint is using the same method as what was used during the bet. Couldn't I (the developer of the server) make the verify
route tell the client that those seeds honestly calculated the outcome? How does this ensure fairness to the client?
https://github.com/alexcambose/provably-fair-example/blob/master/routes/api.js#L19
Should be: