#ethereum #primitive #ethers #revm #reth

no-std alloy-chains

Canonical type definitions for EIP-155 chains

49 releases

new 0.1.48 Dec 5, 2024
0.1.47 Nov 5, 2024
0.1.44 Oct 29, 2024
0.1.24 Jul 30, 2024
0.1.3 Nov 20, 2023

#2 in #ethers

Download history 24594/week @ 2024-08-18 26262/week @ 2024-08-25 28488/week @ 2024-09-01 27053/week @ 2024-09-08 27653/week @ 2024-09-15 31116/week @ 2024-09-22 31915/week @ 2024-09-29 44679/week @ 2024-10-06 48005/week @ 2024-10-13 45449/week @ 2024-10-20 49504/week @ 2024-10-27 45220/week @ 2024-11-03 37355/week @ 2024-11-10 39150/week @ 2024-11-17 41106/week @ 2024-11-24 45115/week @ 2024-12-01

165,117 downloads per month
Used in 119 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.81.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