Closed Trivo25 closed 2 years ago
@Trivo25 is it implemented? It would be nice to have both compiled circuits and keys to be exportable for off-chain applications
@Trivo25 is it implemented? It would be nice to have both compiled circuits and keys to be exportable for off-chain applications
Yes, proofs can be serialized as well as verification keys (of smart contract as well as the ZkProgram API). The prover key can't be currently serialized but there's a separate issue for that https://github.com/o1-labs/snarkyjs/issues/87
Ok, I was just playing with a plain circuit and could not find it
Thins idea was also mentioned in Discord.
Idea: Potentially allowing to "export" and "import" proofs and their coressponding verification key to allow verification and proofing of code outside of the Mina blockchain, inside of web2.0.
Reason: It would open up SnarkyJS to more developers, allowing many web 2.0 devs and other developers to utilize the power of zero knowledge proofs to some extend in normal web applications.
Possible usage: What it could look like
Is something like that feasible and makes sense? Or is something like that potentially even planned already?
Thanks!