UNPKG

@nori-zk/proof-conversion

Version:

Verifying zkVM proofs inside o1js circuits, to generate Mina compatible proof

11 lines 457 B
import { Groth16ComputationalPlan } from '../../compute/plans/groth16/index.js'; export async function performRisc0ToGroth16(executor, risc0_proof, risc0_raw_vk) { // print performing sp1 to plonk console.log('Performing Risc0 to Groth16 conversion...'); // Invoke executor return executor.execute(new Groth16ComputationalPlan(), { risc0_proof: risc0_proof, raw_vk: risc0_raw_vk, }); } //# sourceMappingURL=groth16.js.map