#zk-sync #blockchain

zksync_l1_contract_interface

Interfaces for interacting with ZKsync contracts

5 releases (1 unstable)

new 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

#995 in Magic Beans

Download history 8/week @ 2024-11-27 16/week @ 2024-12-04 13/week @ 2024-12-11 4/week @ 2024-12-18 16/week @ 2024-12-25 141/week @ 2025-01-22 186/week @ 2025-01-29 58/week @ 2025-02-05 56/week @ 2025-02-12 24/week @ 2025-02-19 8/week @ 2025-02-26 203/week @ 2025-03-05 44/week @ 2025-03-12

282 downloads per month
Used in 9 crates (4 directly)

MIT/Apache

485KB
11K 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:

Utilities for interacting with the ZKsync L1 contract

Provides utilities both to encode input data for the contract and to decode the data provided by the contract.

This crate utilizes traits provided by the web3 crate to encode and decode data. Tokenizable trait represents items that are encoded via single Token, while Tokenize trait represents items that are encoded via array of Tokens (for example, transaction input).

Dependencies

~97MB
~1.5M SLoC