migrate codebase to arkworks and change curve to bls12-377

This commit is contained in:
Mara Mihali
2022-06-17 12:28:11 +01:00
parent c5f20877cc
commit b085c670be
7 changed files with 17 additions and 5 deletions

View File

@@ -8,6 +8,8 @@
//! `(Z3 + 5) * 1 - I0 = 0`
//!
//! [here]: https://medium.com/@VitalikButerin/quadratic-arithmetic-programs-from-zero-to-hero-f6d558cea649
use ark_bls12_377::Fr as Scalar;
use ark_ff::{BigInteger, PrimeField};
use ark_std::{One, UniformRand, Zero};
use libspartan::{InputsAssignment, Instance, SNARKGens, VarsAssignment, SNARK};
use merlin::Transcript;