We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am a bit confused about saving the params, proofs and pvk as JSON files so I can move them between machines.
params
proofs
pvk
I've followed the example repo at https://github.com/arcalinea/bellman-examples/blob/master/src/cube.rs#L154 and also see a write implementation on the proof structure here: https://github.com/zkcrypto/bellman/blob/master/src/groth16/mod.rs#L43
Can someone help me export these variables?
The text was updated successfully, but these errors were encountered:
Not JSON but mayne this helps? Use whatever circuit instead of what I've provided.
use std::fs; let params = generate_random_parameters::<Bn256, _, _>( MerkleTreeCircuit { params: j_params, nullifier: None, secret: None, proof: vec![], }, rng, )?; let mut v = vec![]; params.write(&mut v)?; fs::write("test/test.params", hex::encode(&v[..]).unwrap();
Sorry, something went wrong.
Merge pull request #34 from ebfull/output-circuit
4f4a2d6
WIP circuit development
No branches or pull requests
I am a bit confused about saving the
params
,proofs
andpvk
as JSON files so I can move them between machines.I've followed the example repo at https://github.com/arcalinea/bellman-examples/blob/master/src/cube.rs#L154 and also see a write implementation on the proof structure here: https://github.com/zkcrypto/bellman/blob/master/src/groth16/mod.rs#L43
Can someone help me export these variables?
The text was updated successfully, but these errors were encountered: