#transport #json-rpc #signer #alloy #ethereum #connect #blockchain

no-std linera-alloy

Connect applications to blockchains

1 unstable release

0.1.0 Jun 1, 2024

#30 in #signer

Download history 61/week @ 2024-08-23 109/week @ 2024-08-30 219/week @ 2024-09-06 262/week @ 2024-09-13 313/week @ 2024-09-20 129/week @ 2024-09-27 159/week @ 2024-10-04 111/week @ 2024-10-11 239/week @ 2024-10-18 214/week @ 2024-10-25 607/week @ 2024-11-01 446/week @ 2024-11-08 634/week @ 2024-11-15 1198/week @ 2024-11-22 1737/week @ 2024-11-29 771/week @ 2024-12-06

4,362 downloads per month
Used in 4 crates (3 directly)

MIT/Apache

735KB
7.5K SLoC

Alloy

Alloy connects applications to blockchains.

Alloy is a rewrite of ethers-rs from the ground up, with exciting new features, high performance, and excellent docs.

ethers-rs will continue to be maintained until we have achieved feature-parity in Alloy. No action is currently needed from devs.

Telegram chat

Installation

Currently, Alloy is not hosted on crates.io, the Rust package registry.

To incorporate Alloy into your project, you will need to specify the GitHub repository as the source. This can be achieved by executing the following command in your terminal:

cargo add alloy --git https://github.com/alloy-rs/alloy

After incorporating Alloy, you may wish to utilize specific features of the crate. These features can be enabled through modifications in your project's Cargo.toml file. A comprehensive list of available features can be found at this GitHub link.

Overview

This repository contains the following crates:

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.76.

Note that the MSRV is not increased automatically, and only as part of a minor 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.

Note on no_std

Because these crates are primarily network-focused, we do not intend to support no_std for most of them at this time.

The following crates support no_std:

  • linera-alloy-eips
  • linera-alloy-genesis
  • linera-alloy-serde
  • linera-alloy-consensus

If you would like to add no_std support to a crate, please make sure to update scripts/check_no_std.sh as well.

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.

Dependencies

~8–41MB
~685K SLoC