#zk-sync #blockchain #codec

zksync_l1_contract_interface

Interfaces for interacting with ZKsync contracts

3 releases (1 unstable)

26.2.1-non-semver-compat Jan 29, 2025
26.1.0-non-semver-compat Jan 22, 2025
0.1.0 Jul 12, 2024

#30 in #zksync

Download history 13/week @ 2024-11-18 9/week @ 2024-11-25 3/week @ 2024-12-02 26/week @ 2024-12-09 2/week @ 2024-12-16 19/week @ 2024-12-23 136/week @ 2025-01-20 176/week @ 2025-01-27 51/week @ 2025-02-03 46/week @ 2025-02-10

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

MIT/Apache

445KB
10K SLoC

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

~76MB
~1.5M SLoC