Skip to content

0xrinegade/risc0-solana

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RISC Zero Solana Groth16 Verifier

This is unaudited and not for production.

A RISC Zero Groth16 SNARK verifier, compatible with Solana. It provides functionality for utilizing and verifying RISC Zero proofs on the Solana blockchain.

Usage

Verifying a Proof

let proof: Proof = // ... load or deserialize proof
let public_inputs: PublicInputs<N> = // ... load or deserialize public inputs
let vk: VerificationKey = // ... load or deserialize verification key

let mut verifier: Verifier<N> = Verifier::new(&proof, &public_inputs, &vk);
let is_valid = verifier.verify().expect("Failed to verify proof");

Acknowledgments

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%