Skip to content

issa-me-sush/decentralized-content-moderation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zkGraph decentralized moderation

Content moderation for a decentralized social network or any kind of customized DAO or decentralized network/ecosystem

  • Image ID: 0A8B1DBE8B29A582EFE2504255ECBF7B
  • IPFS Hash: QmWm3CG4Nc1zEcY69MbvEWrwgprNnuQz5HRW7nkiYDh4uu
  • Block Number for flagging output: 5115068
  • Block Number for non-flagging output - empty bytes: 5115074

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 <block id>
  • prove: npx zkgraph prove <block id> <expected state> -i|-t|-p
  • ……

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published