Snarkify
  • 🏗️GPU Prover Network
    • Introduction
    • Deploy a Elastic Prover
      • Integrate Elastic Prover SDK
    • Snakrify CLI
      • Installation
      • Authentication
      • Service Initialization
      • Build & Deployment
      • Proof Generation
      • Team Management
      • GPU Shell Management
    • Advanced Topics
      • Webhook
  • 🏚️High-Performance ZKP
    • zkEVM Halo2 GPU Prover
      • MSM
      • NTT
      • Quotient Polynomial Evaluation
      • KZG Multiopen
      • Polynomial Inversion
      • Permutation Generation
    • ZPrize
  • 🐺Sirius Folding
    • Introduction
    • Quickstart
    • Examples
      • Fold a Summation Circuit
      • Fold a Fibonacci Circuit
      • Fold a Halo2 Circuit
      • Fold the zkevm-circuits
    • Terminologies
    • Sirius Folding APIs
      • `StepCircuit` trait
      • `PublicParams` Struct
      • `IVC` struct
  • LInks
    • Github
    • Telegram Group
    • snarkify.io
Powered by GitBook
On this page
  • Integrate with Snarkify SDK
  • Create your new service
  • Query your service
  1. GPU Prover Network
  2. Snakrify CLI

Service Initialization

Integrate with Snarkify SDK

You can skip this section if you have already followed the steps in Integrate Elastic Prover SDKand verified your change locally.

Switch to your project root directly, and run the following command:

snarkify init

It is simply a shortcut for:

  1. Add snarkify-sdk cargo dependency to Cargo.toml

  2. Create a template snarkify.rs file under /src/bin, in which you have to implement the ProofHandler with your own proof generation logic.

Create your new service

Once your code is ready, running the following command will create a new service on Snarkify platform:

snarkify service create {service_name}

The new service will automatically link to your current project directory, ensuring that all future build and deploy commands seamlessly synchronizes the changes from your working directory to the cloud.

Currently, our platform supports the creation of one service per code directory. We are actively working to enhance this feature, aiming to enable the support of multiple services from a single repository in the near future. Stay tuned for updates!

Query your service

You can use the snarkify service info command to check the status of your service and get the RPC endpoint (service url field) once the deployment is done. Below is an example output:

┌──────────────┬─────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ service id   │ 6b72fa8b01bc4d968f49658e6cf2f5f2                                                                    │
│ service name │ poseidon_test                                                                                       │
│ team name    │ test                                                                                                │
│ state        │ READY                                                                                               │
│ created      │ 2024-01-22T23:16:51                                                                                 │
│ service url  │ https://2omfk53be1.execute-api.us-west-2.amazonaws.com/v1/services/6b72fa8b01bc4d968f49658e6cf2f5f2 │
│ image tag    │ feature_a                                                                                           │
└──────────────┴─────────────────────────────────────────────────────────────────────────────────────────────────────┘
PreviousAuthenticationNextBuild & Deployment

Last updated 11 months ago

🏗️