Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Gathin23/Math-zkgraph
https://github.com/Gathin23/Math-zkgraph
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/Gathin23/Math-zkgraph
- Owner: Gathin23
- Created: 2024-01-15T15:34:29.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-01-19T01:30:11.000Z (12 months ago)
- Last Synced: 2024-08-02T13:29:50.103Z (5 months ago)
- Language: TypeScript
- Size: 54.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-ora - zkGraph Math Utils
README
# Math-utilities zkgraph
## This zkgraph helps offload the basic math operations offchain and gives the mechanism to prove the offline calculated values
#### Deployed address on Sepolia Testnet: 0xdad4c2936bfce1248966d0a32ce25598bc23725c
#### Published Transaction Hash: 0x843472a69c99fc37e18e48b2da4b63b459e57d32170beb19b15e99a76adf2f8d
## 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