Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/udhaykumarbala/zkgraph-stringutils


https://github.com/udhaykumarbala/zkgraph-stringutils

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# zkGraph String Utils
This zkgraph helps offload the string operation to offchain and gives the mechanism to prove the offline calculated values

#### Sample contarct Deployment on Sepolia: 0xc9f47C58d6e87D902Acb826cf31220C1429F5236

#### Zkgraph TX hash: 0x6277c46cde355c457c28ada44ec8b703f06e955599a4be82000cc20be2134178

## Usage CLI

> Note: Only `full` image will be processed by zkOracle node. `local` (generated by commands ending with `--local` option) means the zkGraph is compiled locally and only contains partial computation (so that proving and executing will be faster).

The workflow of local zkGraph development must follow: `Develop` (code in /src) -> `Compile` (get compiled wasm image) -> `Execute` (get expected output) -> `Prove` (generate input and pre-test for actual proving in zkOracle) -> `Verify` (verify proof on-chain).

To upload and publish your zkGraph, you should `Upload` (upload code to IPFS), and then `Publish` (register zkGraph on onchain zkGraph Registry).

## Commonly used commands

- **compile**: `npx zkgraph compile`
- **exec**: `npx zkgraph exec `
- **prove**: ` npx zkgraph prove -i|-t|-p`
- ……

Read more: https://github.com/hyperoracle/zkgraph-cli#cli