8000 GitHub - vlfig/rzkp: Dabblings on recursive zk proofs
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

vlfig/rzkp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZK Cycle detection

This is a simple prototype of distributed zero-knowledge cycle detection via recursive proof aggregation on SP1.

Distributed: no central entity knows the entire graph. Zero-knowledge: each node learns the nodes that exist on paths to it only (and whether there's a cycle).

Inspired by @nibnalin's post Recursive zkSNARKs: Exploring New Territory.

Running the Project

To build the program, run the following command:

cargo build --release

To run the program as the first node in the loop without generating a proof:

cargo run --release -- --execute

To run the program for each node in the loop, generating the execution proof for the next to verify:

cargo run --release

If you're running on the CPU and it is recent:

RUSTFLAGS='-C target-cpu=native -C target-feature=+avx512f' && RUST_LOG=info && time cargo run --release

or

RUSTFLAGS='-C target-cpu=native -C target-feature=+avx512f' RUST_LOG=info time cargo run --release

This will execute the program and display the output, warming up your motherboard in the process. :-)

About

Dabblings on recursive zk proofs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0