#zk-sync #blockchain

zksync_contracts

Definitions of main ZKsync smart contracts

5 releases (1 unstable)

27.0.0-non-semver-compat Mar 21, 2025
26.7.0-non-semver-compat Mar 6, 2025
26.2.1-non-semver-compat Jan 29, 2025
26.1.0-non-semver-compat Jan 22, 2025
0.1.0 Jul 12, 2024

#970 in Magic Beans

Download history 144/week @ 2024-12-06 64/week @ 2024-12-13 63/week @ 2024-12-20 61/week @ 2024-12-27 49/week @ 2025-01-03 43/week @ 2025-01-10 171/week @ 2025-01-17 291/week @ 2025-01-24 208/week @ 2025-01-31 215/week @ 2025-02-07 127/week @ 2025-02-14 38/week @ 2025-02-21 156/week @ 2025-02-28 97/week @ 2025-03-07 43/week @ 2025-03-14 196/week @ 2025-03-21

500 downloads per month
Used in 56 crates (22 directly)

MIT/Apache

205KB
5K SLoC

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.

Documentation

The most recent documentation can be found here:

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 bounty 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.


lib.rs:

Set of utility functions to read contracts both in Yul and Sol format.

Careful: some of the methods are reading the contracts based on the workspace environment variable.

Dependencies

~8–15MB
~184K SLoC