#ethereum #primitive #ethers #revm #reth

no-std alloy-chains

Canonical type definitions for EIP-155 chains

47 releases

new 0.1.46 Nov 1, 2024
0.1.44 Oct 29, 2024
0.1.24 Jul 30, 2024
0.1.15 Mar 4, 2024
0.1.3 Nov 20, 2023

#428 in Magic Beans

Download history 18828/week @ 2024-07-15 19446/week @ 2024-07-22 20627/week @ 2024-07-29 24509/week @ 2024-08-05 26103/week @ 2024-08-12 24607/week @ 2024-08-19 26350/week @ 2024-08-26 28452/week @ 2024-09-02 26852/week @ 2024-09-09 28823/week @ 2024-09-16 30513/week @ 2024-09-23 32715/week @ 2024-09-30 45988/week @ 2024-10-07 47388/week @ 2024-10-14 45324/week @ 2024-10-21 49494/week @ 2024-10-28

190,893 downloads per month
Used in 105 crates (10 directly)

MIT/Apache

145KB
2K SLoC

alloy-chains

Canonical type definitions for EIP-155 chains.

Supported Rust Versions

Alloy will keep a rolling MSRV (minimum supported rust version) policy of at least 6 months. When increasing the MSRV, the new Rust version must have been released at least six months ago. The current MSRV is 1.79.0.

Note that the MSRV is not increased automatically, and only as part of a minor release.

Adding a new chain

Check src/named.rs's comment for the guidelines on how to add a new chain.

Note on no_std

All crates in this workspace should support no_std environments, with the alloc crate. If you find a crate that does not support no_std, please open an issue.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in these crates by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~4–7MB
~140K SLoC