FoodChain1028 / rstark

ZK-STARK prover written in rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rstark CircleCI

WIP: ZK-STARK prover written in rust.

Building wasm

First install wasm-pack, then run wasm-pack build in the project root. A wasm file with some supporting JS will be generated in pkg/.

Profiling

Install the flamegraph crate globally using cargo flamegraph install. Ensure that either perf or dtrace is present in your PATH.

To generate a flamegraph SVG:

cargo flamegraph --example squares

If you're on Mac add the --root flag to the above command.

Open the SVG file in a browser to interact with the stack elements.

Browser support

See here and here for a React based project that uses the wasm built in this repo.

About

ZK-STARK prover written in rust


Languages

Language:Rust 100.0%