49 releases (12 breaking)

new 0.13.0 Mar 28, 2025
0.11.1 Feb 12, 2025
0.9.1 Dec 30, 2024
0.7.0 Nov 28, 2024
0.1.0 Dec 18, 2023

#9 in #receipt

Download history 52646/week @ 2024-12-06 48343/week @ 2024-12-13 34614/week @ 2024-12-20 30914/week @ 2024-12-27 52648/week @ 2025-01-03 58753/week @ 2025-01-10 56624/week @ 2025-01-17 61157/week @ 2025-01-24 67763/week @ 2025-01-31 73589/week @ 2025-02-07 66133/week @ 2025-02-14 71894/week @ 2025-02-21 63825/week @ 2025-02-28 78540/week @ 2025-03-07 90875/week @ 2025-03-14 63798/week @ 2025-03-21

310,755 downloads per month
Used in 221 crates (40 directly)

MIT/Apache

8.5MB
11K 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–16MB
~222K SLoC