#zk-sync #blockchain

nightly boojum-cuda

Boojum-CUDA is a library implementing GPU-accelerated cryptographic functionality for the zkSync prover

19 releases (4 breaking)

new 0.152.7 Nov 20, 2024
0.152.6 Nov 19, 2024
0.152.3 Oct 31, 2024
0.151.1 Oct 25, 2024
0.1.1 Jul 31, 2024

#120 in Magic Beans

Download history 502/week @ 2024-07-31 295/week @ 2024-08-07 675/week @ 2024-08-14 720/week @ 2024-08-21 647/week @ 2024-08-28 1033/week @ 2024-09-04 755/week @ 2024-09-11 1369/week @ 2024-09-18 2053/week @ 2024-09-25 3078/week @ 2024-10-02 3997/week @ 2024-10-09 3157/week @ 2024-10-16 4097/week @ 2024-10-23 3105/week @ 2024-10-30 2646/week @ 2024-11-06 2793/week @ 2024-11-13

13,052 downloads per month
Used in 2 crates (via shivini)

MIT/Apache

625KB
16K SLoC

Rust 14K SLoC // 0.0% comments CUDA 2K SLoC // 0.0% comments

zkSync Era: A ZK Rollup For Scaling Ethereum

Logo

zkSync Era is a layer 2 rollup that uses zero-knowledge proofs to scale Ethereum without compromising on security or decentralization. Since it's EVM compatible (Solidity/Vyper), 99% of Ethereum projects can redeploy without refactoring or re-auditing a single line of code. zkSync Era also uses an LLVM-based compiler that will eventually let developers write smart contracts in C++, Rust and other popular languages.

Boojum-CUDA

Boojum-CUDA is a library implementing GPU-accelerated cryptographic functionality for the zkSync prover.

Prerequisites:

  • CUDA Toolkit 12.x
  • CMake 3.24 and up
  • clang
  • rust nightly toolchain

By default, the CUDA code is compiled for the GPU that is present in the system. If there is no GPU in the system or another architecture is desired, the environment variable CUDAARCHS can be set to the desired architecture. See https://cmake.org/cmake/help/latest/variable/CMAKE_CUDA_ARCHITECTURES.html.

Policies

License

zkSync Era is distributed under the terms of either

at your option.

Disclaimer

zkSync Era has been through lots of testing and audits. Although it is live, it is still in alpha state and will go through more audits and bug bounties programs. We would love to hear our community's thoughts and suggestions about it! It is important to state that forking it now can potentially lead to missing important security updates, critical features, and performance improvements.

Dependencies

~21MB
~374K SLoC