{"id":15065106,"url":"https://github.com/alloy-rs/core","last_synced_at":"2026-01-28T20:19:36.049Z","repository":{"id":176435215,"uuid":"615421431","full_name":"alloy-rs/core","owner":"alloy-rs","description":"High-performance, well-tested \u0026 documented core libraries for Ethereum, in Rust","archived":false,"fork":false,"pushed_at":"2025-04-23T13:29:20.000Z","size":4011,"stargazers_count":853,"open_issues_count":22,"forks_count":194,"subscribers_count":24,"default_branch":"main","last_synced_at":"2025-04-23T23:07:39.173Z","etag":null,"topics":["blockchain","ethereum","evm","rust","solidity"],"latest_commit_sha":null,"homepage":"https://alloy.rs","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alloy-rs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-17T16:49:39.000Z","updated_at":"2025-04-22T13:11:48.000Z","dependencies_parsed_at":"2023-07-14T09:23:19.482Z","dependency_job_id":"ede348f8-85f0-42b9-a063-1885a0b49885","html_url":"https://github.com/alloy-rs/core","commit_stats":null,"previous_names":["alloy-rs/core","ethers-rs/core"],"tags_count":54,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alloy-rs%2Fcore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alloy-rs%2Fcore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alloy-rs%2Fcore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alloy-rs%2Fcore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alloy-rs","download_url":"https://codeload.github.com/alloy-rs/core/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250528731,"owners_count":21445516,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blockchain","ethereum","evm","rust","solidity"],"created_at":"2024-09-25T00:34:18.546Z","updated_at":"2026-01-28T20:19:36.037Z","avatar_url":"https://github.com/alloy-rs.png","language":"Rust","funding_links":[],"categories":["Core","Rust"],"sub_categories":[],"readme":"# Alloy\n\nCore libraries at the root of the Rust Ethereum ecosystem.\n\nAlloy is a rewrite of [`ethers-rs`] from the ground up, with exciting new\nfeatures, high performance, and excellent docs.\n\nWe have a [book](https://alloy.rs) on all things Alloy and many [examples](https://github.com/alloy-rs/examples) to help you get started.\n\n[`ethers-rs`] has been deprecated, and users are recommended to migrate to Alloy.\n\n[`ethers-rs`]: https://github.com/gakonst/ethers-rs\n\n[![Build Status][actions-badge]][actions-url]\n[![Telegram chat][telegram-badge]][telegram-url]\n\n[actions-badge]: https://img.shields.io/github/actions/workflow/status/alloy-rs/core/ci.yml?branch=main\u0026style=for-the-badge\n[actions-url]: https://github.com/alloy-rs/core/actions?query=branch%3Amain\n[telegram-badge]: https://img.shields.io/endpoint?color=neon\u0026style=for-the-badge\u0026url=https%3A%2F%2Ftg.sumanjay.workers.dev%2Fethers_rs\n[telegram-url]: https://t.me/ethers_rs\n\n## Overview\n\nThis repository contains the following crates:\n\n- [`alloy-core`]: Meta-crate for the entire project\n- [`alloy-primitives`] - Primitive integer and byte types\n- [`alloy-sol-types`] - Compile-time [ABI] and [EIP-712] implementations\n- [`alloy-sol-macro`] - The [`sol!`] procedural macro\n- [`alloy-dyn-abi`] - Run-time [ABI] and [EIP-712] implementations\n- [`alloy-json-abi`] - Full Ethereum [JSON-ABI] implementation\n- [`alloy-sol-type-parser`] - A simple parser for Solidity type strings\n- [`syn-solidity`] - [`syn`]-powered Solidity parser\n\n[`alloy-core`]: https://github.com/alloy-rs/core/tree/main/crates/core\n[`alloy-primitives`]: https://github.com/alloy-rs/core/tree/main/crates/primitives\n[`alloy-sol-types`]: https://github.com/alloy-rs/core/tree/main/crates/sol-types\n[`alloy-sol-macro`]: https://github.com/alloy-rs/core/tree/main/crates/sol-macro\n[`alloy-dyn-abi`]: https://github.com/alloy-rs/core/tree/main/crates/dyn-abi\n[`alloy-json-abi`]: https://github.com/alloy-rs/core/tree/main/crates/json-abi\n[`alloy-sol-type-parser`]: https://github.com/alloy-rs/core/tree/main/crates/sol-type-parser\n[`syn-solidity`]: https://github.com/alloy-rs/core/tree/main/crates/syn-solidity\n[JSON-ABI]: https://docs.soliditylang.org/en/latest/abi-spec.html#json\n[ABI]: https://docs.soliditylang.org/en/latest/abi-spec.html\n[EIP-712]: https://eips.ethereum.org/EIPS/eip-712\n[`sol!`]: https://docs.rs/alloy-sol-macro/latest/alloy_sol_macro/macro.sol.html\n[`syn`]: https://github.com/dtolnay/syn\n\n## Supported Rust Versions (MSRV)\n\n\u003c!--\nWhen updating this, also update:\n- clippy.toml\n- Cargo.toml\n- .github/workflows/ci.yml\n--\u003e\n\nThe current MSRV (minimum supported rust version) is 1.85.\n\nAlloy will keep a rolling MSRV policy of **at least** two versions behind the\nlatest stable release (so if the latest stable release is 1.58, we would\nsupport 1.56).\n\nNote that the MSRV is not increased automatically, and only as part of a patch\n(pre-1.0) or minor (post-1.0) release.\n\n## Contributing\n\nThanks for your help improving the project! We are so happy to have you! We have\n[a contributing guide](./CONTRIBUTING.md) to help you get involved in the\nAlloy project.\n\nPull requests will not be merged unless CI passes, so please ensure that your\ncontribution follows the linting rules and passes clippy.\n\n## WASM support\n\nWe provide full support for all the `wasm*-*` targets. If a crate does not\nbuild on a WASM target, please [open an issue].\n\nWhen building for the `wasm32-unknown-unknown` target and the `\"getrandom\"`\nfeature is enabled, compilation for the `getrandom` crate will fail. This is\nexpected: see [their documentation][getrandom] for more details.\n\nTo fix this, either disable the `\"getrandom\"` feature on `alloy-core` or add\n`getrandom` to your dependencies with the `\"wasm_js\"` feature enabled:\n\n```toml\ngetrandom = { version = \"0.3\", features = [\"wasm_js\"] }\n```\n\nThere is currently no plan to provide an official JS/TS-accessible library\ninterface, as we believe [viem] or [ethers.js] serve that need very well.\n\n[open an issue]: https://github.com/alloy-rs/core/issues/new/choose\n[getrandom]: https://docs.rs/getrandom/#webassembly-support\n[viem]: https://viem.sh\n[ethers.js]: https://docs.ethers.io/v6/\n\n## Note on `no_std`\n\nAll crates in this workspace should support `no_std` environments, with the\n`alloc` crate. If you find a crate that does not support `no_std`, please\n[open an issue].\n\n[open an issue]: https://github.com/alloy-rs/core/issues/new/choose\n\n## Credits\n\nNone of these crates would have been possible without the great work done in:\n\n- [`ethers.js`](https://github.com/ethers-io/ethers.js/)\n- [`rust-web3`](https://github.com/tomusdrw/rust-web3/)\n- [`ruint`](https://github.com/recmo/uint)\n- [`ethabi`](https://github.com/rust-ethereum/ethabi)\n- [`ethcontract-rs`](https://github.com/gnosis/ethcontract-rs/)\n- [`guac_rs`](https://github.com/althea-net/guac_rs/)\n\n#### License\n\n\u003csup\u003e\nLicensed under either of \u003ca href=\"LICENSE-APACHE\"\u003eApache License, Version\n2.0\u003c/a\u003e or \u003ca href=\"LICENSE-MIT\"\u003eMIT license\u003c/a\u003e at your option.\n\u003c/sup\u003e\n\n\u003cbr\u003e\n\n\u003csub\u003e\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in these crates by you, as defined in the Apache-2.0 license,\nshall be dual licensed as above, without any additional terms or conditions.\n\u003c/sub\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falloy-rs%2Fcore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falloy-rs%2Fcore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falloy-rs%2Fcore/lists"}