Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/varun-doshi/proof-of-blacklist-zkgraph
https://github.com/varun-doshi/proof-of-blacklist-zkgraph
Last synced: about 16 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/varun-doshi/proof-of-blacklist-zkgraph
- Owner: varun-doshi
- Created: 2024-01-02T14:53:25.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-01-02T14:56:10.000Z (11 months ago)
- Last Synced: 2024-11-11T23:37:31.541Z (4 days ago)
- Language: TypeScript
- Size: 82 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# zkGraph Proof of Blacklist
### This zkGraph tracks blacklisted address on Sepolia USDT
#### USDT address on Sepolia Testnet: 0x7169D38820dfd117C3FA1f22a697dBA58d90BA06
#### Event being read on Sepolia USDT: AddedBlackList(address)
## 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