32 releases (7 breaking)

0.9.2 Jan 8, 2025
0.9.0 Dec 30, 2024
0.7.1 Nov 28, 2024

#156 in Magic Beans

Download history 5812/week @ 2024-09-25 6774/week @ 2024-10-02 8126/week @ 2024-10-09 10416/week @ 2024-10-16 11892/week @ 2024-10-23 8031/week @ 2024-10-30 9718/week @ 2024-11-06 7977/week @ 2024-11-13 9483/week @ 2024-11-20 9750/week @ 2024-11-27 7825/week @ 2024-12-04 8949/week @ 2024-12-11 6787/week @ 2024-12-18 4753/week @ 2024-12-25 6552/week @ 2025-01-01 8385/week @ 2025-01-08

27,703 downloads per month
Used in 12 crates (10 directly)

MIT/Apache

84KB
1.5K SLoC

op-alloy-genesis

CI op-alloy-genesis crate MIT License Apache License Book

Genesis types for Optimism.

Usage

By default, op-alloy-genesis enables both std and serde features.

If you're working in a no_std environment (like kona), disable default features like so.

[dependencies]
op-alloy-genesis = { version = "x.y.z", default-features = false, features = ["serde"] }

Rollup Config

op-alloy-genesis exports a RollupConfig, the primary genesis type for Optimism Consensus.

Provenance

This is based off of alloy-genesis.

Dependencies

~8–11MB
~201K SLoC