61 releases (14 breaking)

new 0.15.10 May 7, 2025
0.15.7 Apr 30, 2025
0.13.0 Mar 28, 2025
0.9.1 Dec 30, 2024
0.1.0 Dec 18, 2023

#689 in Magic Beans

Download history 56142/week @ 2025-01-16 59882/week @ 2025-01-23 66517/week @ 2025-01-30 72609/week @ 2025-02-06 67852/week @ 2025-02-13 70770/week @ 2025-02-20 65366/week @ 2025-02-27 74382/week @ 2025-03-06 90370/week @ 2025-03-13 80663/week @ 2025-03-20 80635/week @ 2025-03-27 82878/week @ 2025-04-03 81873/week @ 2025-04-10 76355/week @ 2025-04-17 93199/week @ 2025-04-24 67736/week @ 2025-05-01

334,693 downloads per month
Used in 277 crates (45 directly)

MIT/Apache

8MB
12K SLoC

alloy-consensus

Ethereum consensus interface.

This crate contains constants, types, and functions for implementing Ethereum EL consensus and communication. This includes headers, blocks, transactions, EIP-2718 envelopes, EIP-2930, EIP-4844, and more.

In general a type belongs in this crate if it is committed to in the EL block header. This includes:

  • transactions
  • blocks
  • headers
  • receipts
  • EIP-2718 envelopes.

Provenance

Much of this code was ported from reth-primitives as part of ongoing alloy migrations.

Dependencies

~6–12MB
~233K SLoC