Alloy is a new library for interacting with Ethereum smart-contracts.
Alloy is a high-performance rewrite of the ethers-rs project that has exciting new features and excellent documentation.
The ethers-rs project is being deprecated in favor of Alloy.
Developers who used the web3 and ethers crates for handling contract events, will now find a better dev experience with Alloy.
Alloy’s well-crafted documentation and examples significantly reduce learning curves and enhance productivity.
Alloy comes with examples of different use cases to help developers get started.
Rust developers grappling with the lack of robust and well-established library ecosystems can now protect their project timelines, stability, and overall developer experience with Alloy library.
In this article, the author demonstrates how to use a Rust CLI app built with the Alloy library to fetch Ethereum Name Service (ENS) data.
The author used the Axum web framework for building the Rust CLI app with Alloy library.
Examples of how to work with Ethereum smart-contracts can be found on Alloy library's Github repository.