-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: update anvil install instructions * chore: remove settings.json where it is deprecated * chore: update aggregagtion docs * chore: lint * remove more settings, get-srs --------- Co-authored-by: jason <[email protected]>
- Loading branch information
1 parent
909fe6f
commit 953a443
Showing
9 changed files
with
136 additions
and
92 deletions.
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
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
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 |
---|---|---|
|
@@ -4,30 +4,37 @@ order: 95 | |
--- | ||
|
||
### Installing EZKL | ||
|
||
To use `ezkl` in Python, just `pip install ezkl`. You will generally also need `onnx` installed if you are exporting models, and Pytorch, Tensorflow, or similar if you are creating models. | ||
|
||
`ezkl` uses your system `solc` Solidity compiler, so you may need to tweak it using svm-rs or solc-select, particularly if you are targeting a specific hardfork. | ||
|
||
To use the cli, download a [release binary](https://github.com/zkonduit/ezkl/releases) from GitHub. If you want the latest build, you can also install from source. | ||
|
||
To use the cli, download a [release binary](https://github.com/zkonduit/ezkl/releases) from GitHub. If you want the latest build, you can also install from source. | ||
|
||
### Building from source 🔨 | ||
|
||
Ezkl is built in rust. First [install rust](https://www.rust-lang.org/tools/install), then download the repo and enter the directory | ||
|
||
```bash | ||
git clone [email protected]:zkonduit/ezkl.git | ||
cd ezkl | ||
``` | ||
|
||
After which you may build and install the library | ||
|
||
```bash | ||
cargo install --force --path . | ||
``` | ||
|
||
If you want to build manually with cargo build, be sure to use the release flag as the debug build will result in slow proofs | ||
|
||
```bash | ||
cargo build --release --bin ezkl | ||
``` | ||
|
||
> Note: To render your model circuits, you'll need to compile `ezkl` with the `render` feature (`cargo build --features render --bin ezkl`). This enables the `render-circuit` command which can create `.png` representations of the compiled circuits. You'll also need to install the `libexpat1-dev` and `libfreetype6-dev` libraries on Debian systems (there are equivalents for MacOS as well). | ||
--------- | ||
|
||
##### Rust docs 📖 | ||
|
||
Use `cargo doc --open` to compile and open the Rust documentation for `ezkl` in your default browser. |
Oops, something went wrong.