-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,18 @@ | ||
# halo2ccs | ||
Convert a Plonkish circuit in [Halo2](https://zcash.github.io/halo2/) into a [CCS](https://eprint.iacr.org/2023/552) circuit in [sonobe](https://github.com/privacy-scaling-explorations/sonobe). | ||
|
||
[rustdoc](https://pnyda.github.io/halo2ccs) | ||
[rustdoc](https://pnyda.github.io/halo2-ccs-plus/halo2ccs) | ||
|
||
This crate works on [my fork of halo2](https://github.com/pnyda/halo2/tree/ccs) because some of the private members needed to be accessible from external crate. If you wish to convert your circuit you have to add to Cargo.toml | ||
```toml | ||
[dependencies] | ||
halo2_proofs = { git = "https://github.com/pnyda/halo2.git", branch = "ccs" } | ||
halo2_gadgets = { git = "https://github.com/pnyda/halo2.git", branch = "ccs" } | ||
``` | ||
|
||
If you need to switch dependencies of dependencies at once then you can use: | ||
```toml | ||
[patch.crates-io] | ||
halo2_proofs = { git = "https://github.com/pnyda/halo2.git", branch = "ccs" } | ||
halo2_gadgets = { git = "https://github.com/pnyda/halo2.git", branch = "ccs" } | ||
``` |