Thanks to visit codestin.com
Credit goes to lib.rs

#zk-sync #blockchain

nightly proof-compression

Both cuda and cpu based proof compression and wrapping chain

34 releases

new 0.155.6 Jan 20, 2026
0.155.5 Dec 16, 2025
0.155.4 Oct 29, 2025
0.154.5 Jul 30, 2025
0.152.8 Nov 22, 2024

#10 in #zk-sync

Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

1,851 downloads per month

MIT/Apache

1MB
30K SLoC

ZKsync GPU Acceleration for Cryptography

This repository contains the libraries aimed to provide GPU acceleration for cryptography used in ZKsync project.

Setup

In order to work with the workspace, you'll need.

For Bellman CUDA, clone it to a directory of your choice:

git clone [email protected]:matter-labs/era-bellman-cuda.git

Optionally also build it with the following commands (otherwise it will be built automatically while building the gpu-ffi crate):

cmake -Bera-bellman-cuda/build -Sera-bellman-cuda/ -DCMAKE_BUILD_TYPE=Release
cmake --build era-bellman-cuda/build/

Then add the following variable to your config (.bashrc/.zshrc):

export BELLMAN_CUDA_DIR=<PATH_TO>/era-bellman-cuda

Alternatively, if you can't or don't want to install the CUDA toolkit or Bellman CUDA, you can compile the crates in this workspace without a CUDA toolkit installation and Bellman CUDA. Doing so will result in stubs replacing calls to CUDA API and any GPU device code. The code will compile but any call to one of the stubs will result in an error during runtime. To compile in this mode, either include the rucstc cfg flag named no_cuda, for example by setting the RUSTFLAGS environment variable to --cfg no_cuda, or by setting the environment variable ZKSYNC_USE_CUDA_STUBS to 1 or true or yes in any capitalization.

Crates

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~31MB
~545K SLoC