Skip to content

kallydev/alloy

 
 

Repository files navigation

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

Overview

This repository contains the following crates:

  • alloy-json-rpc - Core data types for JSON-RPC 2.0 clients.
  • alloy-transport - Transport implementations for JSON-RPC 2.0 clients.
  • alloy-networks - Network abstraction for RPC types. Allows capturing different RPC param and response types on a per-network basis.
  • alloy-providers - A client trait for interacting with Ethereum-like RPC endpoints. Abstract over alloy_networks::Network, which allows capturing different RPC types on a per-network basis.

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

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 json-rpc focused, we do not intend to support no_std for them at this time.

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.

About

Transports, Middleware, and Networks for the Alloy project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%