|
|
|
|
@@ -31,9 +31,9 @@ EZKL
|
|
|
|
|
|
|
|
|
|
[](https://colab.research.google.com/github/zkonduit/ezkl/blob/main/examples/notebooks/simple_demo_all_public.ipynb)
|
|
|
|
|
|
|
|
|
|
In the backend we use [Halo2](https://github.com/privacy-scaling-explorations/halo2) as a proof system.
|
|
|
|
|
In the backend we use the collaboratively-developed [Halo2](https://github.com/privacy-scaling-explorations/halo2) as a proof system.
|
|
|
|
|
|
|
|
|
|
The generated proofs can then be used on-chain to verify computation, only the Ethereum Virtual Machine (EVM) is supported at the moment.
|
|
|
|
|
The generated proofs can then be verified with much less computational resources, including on-chain (with the Ethereum Virtual Machine), in a browser, or on a device.
|
|
|
|
|
|
|
|
|
|
- If you have any questions, we'd love for you to open up a discussion topic in [Discussions](https://github.com/zkonduit/ezkl/discussions). Alternatively, you can join the ✨[EZKL Community Telegram Group](https://t.me/+QRzaRvTPIthlYWMx)💫.
|
|
|
|
|
|
|
|
|
|
@@ -45,6 +45,8 @@ The generated proofs can then be used on-chain to verify computation, only the E
|
|
|
|
|
|
|
|
|
|
### getting started ⚙️
|
|
|
|
|
|
|
|
|
|
The easiest way to get started is to try out a notebook.
|
|
|
|
|
|
|
|
|
|
#### Python
|
|
|
|
|
Install the python bindings by calling.
|
|
|
|
|
|
|
|
|
|
@@ -70,7 +72,7 @@ curl https://raw.githubusercontent.com/zkonduit/ezkl/main/install_ezkl_cli.sh |
|
|
|
|
|
|
|
|
|
|
https://user-images.githubusercontent.com/45801863/236771676-5bbbbfd1-ba6f-418a-902e-20738ce0e9f0.mp4
|
|
|
|
|
|
|
|
|
|
For more details visit the [docs](https://docs.ezkl.xyz).
|
|
|
|
|
For more details visit the [docs](https://docs.ezkl.xyz). The CLI is faster than Python, as it has less overhead. For even more speed and convenience, check out the [remote proving service](https://ei40vx5x6j0.typeform.com/to/sFv1oxvb), which feels like the CLI but is backed by a tuned cluster.
|
|
|
|
|
|
|
|
|
|
Build the auto-generated rust documentation and open the docs in your browser locally. `cargo doc --open`
|
|
|
|
|
|
|
|
|
|
@@ -124,17 +126,6 @@ unset ENABLE_ICICLE_GPU
|
|
|
|
|
|
|
|
|
|
**NOTE:** Even with the above environment variable set, icicle is disabled for circuits where k <= 8. To change the value of `k` where icicle is enabled, you can set the environment variable `ICICLE_SMALL_K`.
|
|
|
|
|
|
|
|
|
|
### repos
|
|
|
|
|
|
|
|
|
|
The EZKL project has several libraries and repos.
|
|
|
|
|
|
|
|
|
|
| Repo | Description |
|
|
|
|
|
| --- | --- |
|
|
|
|
|
| [@zkonduit/ezkl](https://github.com/zkonduit/ezkl) | the main ezkl repo in rust with wasm and python bindings |
|
|
|
|
|
| [@zkonduit/ezkljs](https://github.com/zkonduit/ezkljs) | typescript and javascript tooling to help integrate ezkl into web apps |
|
|
|
|
|
|
|
|
|
|
----------------------
|
|
|
|
|
|
|
|
|
|
### contributing 🌎
|
|
|
|
|
|
|
|
|
|
If you're interested in contributing and are unsure where to start, reach out to one of the maintainers:
|
|
|
|
|
@@ -151,7 +142,7 @@ More broadly:
|
|
|
|
|
- To report bugs or request new features [create a new issue within Issues](https://github.com/zkonduit/ezkl/issues) to inform the greater community.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be licensed to Zkonduit Inc. under the terms and conditions specified in the [CLA](https://github.com/zkonduit/ezkl/blob/main/cla.md), which you agree to by intentionally submitting a contribution. In particular, you have the right to submit the contribution and we can distribute it under the Apache 2.0 license, among other terms and conditions.
|
|
|
|
|
Any contribution intentionally submitted for inclusion in the work by you shall be licensed to Zkonduit Inc. under the terms and conditions specified in the [CLA](https://github.com/zkonduit/ezkl/blob/main/cla.md), which you agree to by intentionally submitting a contribution. In particular, you have the right to submit the contribution and we can distribute it, among other terms and conditions.
|
|
|
|
|
|
|
|
|
|
### no security guarantees
|
|
|
|
|
|
|
|
|
|
@@ -159,4 +150,7 @@ Ezkl is unaudited, beta software undergoing rapid development. There may be bugs
|
|
|
|
|
|
|
|
|
|
> NOTE: Because operations are quantized when they are converted from an onnx file to a zk-circuit, outputs in python and ezkl may differ slightly.
|
|
|
|
|
|
|
|
|
|
### no warranty
|
|
|
|
|
|
|
|
|
|
Copyright (c) 2024 Zkonduit Inc. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
|
|
|