Skip to content

Commit

Permalink
docs(core,ark-zkey): Instructions for how to generate arkzkey
Browse files Browse the repository at this point in the history
  • Loading branch information
oskarth committed Nov 11, 2023
1 parent 0c110e2 commit 67423cf
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
14 changes: 14 additions & 0 deletions ark-zkey/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@ Library to read `zkey` faster by serializing to `arkworks` friendly format.

See https://github.com/oskarth/mopro/issues/25 for context.

## To generate arkzkey

Hacky, but the way we generate `arkzkey` now is by running the corresponding test.

E.g.:

```
cargo test multiplier2 --release -- --nocapture
cargo test keccak256 --release -- --nocapture
cargo test rsa --release -- --nocapture
```

Will take corresponding `zkey` and put `arkzkey`` in same folder.

## Multiplier

NOTE: Need to change const ZKEY here
Expand Down
4 changes: 4 additions & 0 deletions mopro-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ Note that:
- It has to be built for the right architecture
- Have to run `install_name_tool` to adjust install name
- Run `codesign` to sign dylib for use on iOS

## To use ark-zkey

Experimental support for significantly faster zkey loading. See `../ark-zkey` README for how to build arkzkey.

0 comments on commit 67423cf

Please sign in to comment.