#zksync #blockchain #cuda #zk-sync #prover #gpu-accelerated #variables

nightly boojum-cuda

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

7 releases

new 0.150.7 Sep 6, 2024
0.150.6 Sep 4, 2024
0.150.4 Aug 16, 2024
0.2.0 Aug 6, 2024
0.1.1 Jul 31, 2024

#111 in Magic Beans

Download history 262/week @ 2024-07-05 105/week @ 2024-07-12 226/week @ 2024-07-19 501/week @ 2024-07-26 397/week @ 2024-08-02 289/week @ 2024-08-09 814/week @ 2024-08-16 753/week @ 2024-08-23 779/week @ 2024-08-30

2,694 downloads per month
Used in shivini

MIT/Apache

630KB
16K SLoC

Rust 14K SLoC // 0.0% comments CUDA 1.5K 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

~13MB
~252K SLoC