21 releases (1 unstable)

new 29.5.0-non-semver-compat Oct 16, 2025
29.1.2-non-semver-compat Aug 26, 2025
29.0.0-non-semver-compat Jul 29, 2025
28.10.0-non-semver-compat Jul 25, 2025
0.1.0 Jul 13, 2024

#87 in #zk-sync

Download history 93/week @ 2025-06-25 84/week @ 2025-07-02 199/week @ 2025-07-09 177/week @ 2025-07-23 63/week @ 2025-07-30 10/week @ 2025-08-06 86/week @ 2025-08-13 154/week @ 2025-08-20 181/week @ 2025-08-27 81/week @ 2025-09-03 19/week @ 2025-09-10 142/week @ 2025-09-17 230/week @ 2025-09-24 81/week @ 2025-10-01 11/week @ 2025-10-08

468 downloads per month
Used in 4 crates

MIT/Apache

555KB
12K SLoC

Data Availability Client

This crate contains a trait that has to be implemented by all the DA clients.

Overview

This trait assumes that every implementation follows these logical assumptions:

  • The DA client is only serving as a connector between the ZK chain's sequencer and the DA layer.
  • The DA client is not supposed to be a standalone application, but rather a library that is used by the da_dispatcher.
  • The logic of the retries is implemented in the da_dispatcher, not in the DA clients.
  • The dispatch_blob is supposed to be idempotent, and work correctly even if called multiple times with the same params.
  • The get_inclusion_data has to return the data only when the state roots are relayed to the L1 verification contract (if the DA solution has one).

Dependencies

~14–26MB
~321K SLoC