alloy-rs / core
High-performance, well-tested & documented core libraries for Ethereum, in Rust
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing alloy-rs/core in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler viewAlloy Core libraries at the root of the Rust Ethereum ecosystem. Alloy is a rewrite of [ ] from the ground up, with exciting new features, high performance, and excellent docs. We have a book on all things Alloy and many examples to help you get started. [ ] has been deprecated, and users are recommended to migrate to Alloy. [ ]: https://github.com/gakonst/ethers-rs [![Build Status][actions-badge]][actions-url] [![Telegram chat][telegram-badge]][telegram-url] [actions-badge]: https://img.shields.io/github/actions/workflow/status/alloy-rs/core/ci.yml?branch=main&style=for-the-badge [actions-url]: https://github.com/alloy-rs/core/actions?query=branch%3Amain [telegram-badge]: https://img.shields.io/endpoint?color=neon&style=for-the-badge&url=https%3A%2F%2Ftg.sumanjay.workers.dev%2Fethers_rs [telegram-url]: https://t.me/ethers_rs Overview This repository contains the following crates: • [ ]: Meta-crate for the entire project • [ ] - Primitive integer and byte types • [ ] - Compile-time [ABI] and [EIP-712] implementations • [ ] - The [ ] procedural macro • [ ] - Run-time [ABI] and [EIP-712] implementations • [ ] - Full Ethereum [JSON-ABI] implementation • [ ] - A simple parser for Solidity type strings • [ ] - [ ]-powered Solidity parser [ ]: https://github.com/alloy-rs/core/tree/main/crates/core [ ]: https://github.com/alloy-rs/core/tree/main/crates/primitives [ ]: https://github.com/alloy-rs/core/tree/main/crates/sol-types [ ]: https://github.com/alloy-rs/core/tree/main/crates/sol-macro [ ]: https://github.com/alloy-rs/core/tree/main/crates/dyn-abi [ ]: https://github.com/alloy-rs/core/tree/main/crates/json-abi [ ]: https://github.com/alloy-rs/core/tree/main/crates/sol-type-parser [ ]: https://github.com/alloy-rs/core/tree/main/crates/syn-solidity [JSON-ABI]: https://docs.soliditylang.org/en/latest/abi-spec.html#json [ABI]: https://docs.soliditylang.org/en/latest/abi-spec.html [EIP-712]: https://eips.ethereum.org/EIPS/eip-712 [ ]: https://docs.rs/alloy-sol-macro/latest/alloy_sol_macro/macro.sol.html [ ]: https://github.com/dtolnay/syn Supported Rust Versions (MSRV) The current MSRV (minimum supported rust version) is 1.85. Alloy will keep a rolling MSRV policy of **at least** two versions behind the latest stable release (so if the latest stable release is 1.58, we would support 1.56). Note that the MSRV is not increased automatically, and only as part of a patch (pre-1.0) or minor (post-1.0) release. Contributing Thanks for your help improving the project! We are so happy to have you! We have a contributing guide to help you get involved in the Alloy project. Pull requests will not be merged unless CI passes, so please ensure that your contribution follows the linting rules and passes clippy. WASM support We provide full support for all the targets. If a crate does not build on a WASM target, please [open an issue]. When building for the target and the feature is enabled, compilation for the crate will fail. This is expected: see [their documentation][getrandom] for more details. To fix this, either disable the feature on or add to your dependencies with the feature enabled: There is currently no plan to provide an official JS/TS-accessible library interface, as we believe [viem] or [ethers.js] serve that need very well. [open an issue]: https://github.com/alloy-rs/core/issues/new/choose [getrandom]: https://docs.rs/getrandom/#webassembly-support [viem]: https://viem.sh [ethers.js]: https://docs.ethers.io/v6/ Note on All crates in this workspace should support environments, with the crate. If you find a crate that does not support , please [open an issue]. [open an issue]: https://github.com/alloy-rs/core/issues/new/choose Credits None of these crates would have been possible without the great work done in: • • • • • • 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.