Skip to content
New issue

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

Wiki: Advanced SDK Usage #321

Open
sragss opened this issue Apr 23, 2024 · 0 comments
Open

Wiki: Advanced SDK Usage #321

sragss opened this issue Apr 23, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@sragss
Copy link
Collaborator

sragss commented Apr 23, 2024

Advanced

let input = [5u8; 32];
let iters = 100;
let (program, preprocessing) = guest::preprocess_sha2_chain();
let (output, proof) = guest::prove_sha2_chain(program, preprocessing, input, iters);
let verify_result = RV32IJoltVM::verify(preprocessing, proof.proof, proof.commitments);
@moodlezoup moodlezoup added the documentation Improvements or additions to documentation label Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants