Closed AtropineTears closed 2 years ago
Hi @AtropineTears For -4, you can use p - 4 where p = 2^{252}+27742317777372353535851937790883648493 (the prime field in the scalar field of Ristretto/Curve25519). Does this help?
Closing the issue for now. Please reopen if the above does not work.
Hi,
I am looking to construct a R1CS but need some help. I would like to know how I can use a negative value for the R1CS like it says in this blog post. They use x2 - 4 but i do not know how to make an R1CS Circuit with negative numbers.
I would really appreciate some help with a few other things too.
Thank you.