36 releases (8 breaking)

new 0.8.3 Dec 20, 2024
0.7.3 Dec 5, 2024
0.7.0 Nov 28, 2024
0.2.0 Jul 16, 2024
0.1.0 Dec 18, 2023

#275 in Magic Beans

Download history 25067/week @ 2024-08-30 28448/week @ 2024-09-06 30474/week @ 2024-09-13 32525/week @ 2024-09-20 32488/week @ 2024-09-27 45636/week @ 2024-10-04 44987/week @ 2024-10-11 48467/week @ 2024-10-18 47855/week @ 2024-10-25 42549/week @ 2024-11-01 42403/week @ 2024-11-08 38849/week @ 2024-11-15 44923/week @ 2024-11-22 50527/week @ 2024-11-29 52646/week @ 2024-12-06 38556/week @ 2024-12-13

193,977 downloads per month
Used in 162 crates (31 directly)

MIT/Apache

1MB
10K 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

~5.5–10MB
~197K SLoC