2 releases (1 unstable)

new 26.2.1-non-semver-compat Jan 29, 2025
0.1.0 Jul 15, 2024

#659 in Magic Beans

Download history 8/week @ 2024-12-08 1/week @ 2024-12-15 100/week @ 2025-01-26

100 downloads per month
Used in zksync_default_da_clients

MIT/Apache and GPL-3.0-or-later…

5.5MB
123K SLoC

ZK Stack node initialization framework.

This crate provides core abstractions that allow one to compose a ZK Stack node. Main concepts used in this crate are:

  • WiringLayer - builder interface for tasks.
  • Task - a unit of work that can be executed by the node.
  • Resource - a piece of logic that can be shared between tasks. Most resources are represented by generic interfaces and also serve as points of customization for tasks.
  • ZkStackService - a container for tasks and resources that takes care of initialization, running and shutting down.
  • ZkStackServiceBuilder - a builder for the service.

Dependencies

~178MB
~3.5M SLoC