Integrate Snarkify SDK
Introduction
The Snarkify SDK, a Rust-based library, offers a comprehensive interface for engaging with Snarkify Cloud. It allows for the swift conversion of your existing circuit code into a deployable prover. With Snarkify SDK's streamlined process, you can easily tap into the capabilities of Snarkify Cloud using just a handful of straightforward steps.
Installation
Implement your prover
Create a new file
snarkify.rs
in yoursrc/bin
directoryImplement the
ProofHandler
trait andprove
method for proof creationInvoke
snarkify_sdk::run::<{YourProofHandler}>()
in the main function
Here's a snippet of code illustrating how to use the SDK:
Please also checkout this library for a ready-to-deploy example of Poseidon hash prover.
Testing locally
To run your prover locally, simply run,
and you can test the prover locally with a sample request like
Last updated