#zksync #contract #blockchain #interface #l1 #input #encode

zksync_l1_contract_interface

Interfaces for interacting with ZKsync contracts

1 unstable release

0.1.0 Jul 12, 2024

#5 in #l1


Used in 6 crates (4 directly)

MIT/Apache

440KB
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

~136MB
~2.5M SLoC