ICICLE Overview
What is ICICLE?â
ICICLE is a cryptography library designed to accelerate zero-knowledge proofs (ZKPs) using multiple compute backends, including GPUs, CPUs, and potentially other platforms. ICICLE's key strength lies in its ability to implement blazing-fast cryptographic primitives, enabling developers to significantly reduce proving times with minimal effort.
Key Featuresâ
- Acceleration of âzkâ Math: ICICLE provides optimized implementations for cryptographic primitives crucial to zero-knowledge proofs, such as elliptic curve operations, MSM, NTT, Poseidon hash, and more.
- Set of Libraries: ICICLE includes a comprehensive set of libraries supporting various fields, curves, and other cryptographic needs.
- Cross-Language Support: Available bindings for C++, Rust, Go, and potentially Python make ICICLE accessible across different development environments.
- Backend Agnosticism: Develop on CPU and deploy on various backends, including GPUs, specialized hardware, and other emerging platforms, depending on your project's needs.
- Extensibility: Designed for easy integration and extension, allowing you to build and deploy custom backends and cryptographic primitives.
Evolution from v2 to v3â
Originally, ICICLE was focused solely on GPU acceleration. With the release of v3, ICICLE now supports multiple backends, making it more versatile and adaptable to different hardware environments. Whether you're leveraging the power of GPUs or exploring other compute platforms, ICICLE v3 is designed to fit your needs.
Who Uses ICICLE?â
ICICLE has been successfully integrated and used by leading ZK companies such as Celer Network, Gnark, and others to enhance their ZK proving pipelines.
Don't Have Access to a GPU?â
We understand that not all developers have access to GPUs, but this shouldn't limit your ability to develop with ICICLE. Here are some ways to gain access to GPUs.
Grantsâ
At Ingonyama, we are committed to accelerating progress in ZK and cryptography. If you're an engineer, developer, or academic researcher, we invite you to check out our grant program. We can provide access to GPUs and even fund your research.
Google Colabâ
Google Colab is a great platform to start experimenting with ICICLE instantly. It offers free access to NVIDIA T4 GPUs, which are more than sufficient for experimenting and prototyping with ICICLE.
For a detailed guide on setting up Google Colab with ICICLE, refer to this article.
Vast.aiâ
Vast.ai offers a global GPU marketplace where you can rent different types of GPUs by the hour at competitive prices. Whether you need on-demand or interruptible rentals, Vast.ai provides flexibility for various use cases. Learn more about their rental options here.
What Can You Do with ICICLE?â
ICICLE can be used similarly to any other cryptography library. Through various integrations, ICICLE has proven effective in multiple use cases:
Boost Your ZK Prover Performanceâ
If you're a circuit developer facing bottlenecks, integrating ICICLE into your prover may solve performance issues. ICICLE is integrated into popular ZK provers like Gnark and Halo2, enabling immediate GPU acceleration without additional code changes.
Integrating into Existing ZK Proversâ
ICICLE allows for selective acceleration of specific parts of your ZK prover, helping to address specific bottlenecks without requiring a complete rewrite of your prover.
Developing Your Own ZK Proversâ
For those building ZK provers from the ground up, ICICLE is an ideal tool for creating optimized and scalable provers. The ability to scale across multiple machines within a data center is a key advantage when using ICICLE with GPUs.
Developing Proof of Conceptsâ
ICICLE is also well-suited for prototyping and developing small-scale projects. With bindings for Golang and Rust, you can easily create a library implementing specific cryptographic primitives, such as a KZG commitment library, using ICICLE.
Get Started with ICICLEâ
Explore the full capabilities of ICICLE by diving into the Architecture, Getting Started Guide and the Programmer's Guide to learn how to integrate, deploy, and extend ICICLE across different backends.
If you have any questions or need support, feel free to reach out on Discord, GitHub or support@ingonyama.com. We're here to help you accelerate your ZK development with ICICLE.