Crates.io | linera-alloy |
lib.rs | linera-alloy |
version | 0.1.0 |
source | src |
created_at | 2024-06-01 09:52:33.434433 |
updated_at | 2024-06-01 09:52:33.434433 |
description | Connect applications to blockchains |
homepage | https://github.com/MathieuDutSik/alloy |
repository | https://github.com/MathieuDutSik/alloy |
max_upload_size | |
id | 1258600 |
size | 29,486 |
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.
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.
This repository contains the following crates:
alloy
: Meta-crate for the entire project, including linera-alloy-core
linera-alloy-consensus
- Ethereum consensus interfacelinera-alloy-contract
- Interact with on-chain contractslinera-alloy-eips
- Ethereum Improvement Proposal (EIP) implementationslinera-alloy-genesis
- Ethereum genesis file definitionslinera-alloy-json-rpc
- Core data types for JSON-RPC 2.0 clientslinera-alloy-network
- Network abstraction for RPC typeslinera-alloy-node-bindings
- Ethereum execution-layer client bindingslinera-alloy-provider
- Interface with an Ethereum blockchainlinera-alloy-pubsub
- Ethereum JSON-RPC publish-subscribe tower service and type definitionslinera-alloy-rpc-client
- Low-level Ethereum JSON-RPC client implementationlinera-alloy-rpc-types
- Ethereum JSON-RPC types
linera-alloy-rpc-types-engine
- Ethereum execution-consensus layer (engine) API RPC typeslinera-alloy-rpc-types-trace
- Ethereum RPC trace typeslinera-alloy-signer
- Ethereum signer abstraction
linera-alloy-signer-aws
- AWS KMS signer implementationlinera-alloy-signer-gcp
- GCP KMS signer implementationlinera-alloy-signer-ledger
- Ledger signer implementationlinera-alloy-signer-trezor
- Trezor signer implementationlinera-alloy-signer-wallet
- Local wallet (Keystore/Mnemonic/Yubihsm) signer implementationlinera-alloy-transport
- Low-level Ethereum JSON-RPC transport abstraction
linera-alloy-transport-http
- HTTP transport implementationlinera-alloy-transport-ipc
- IPC transport implementationlinera-alloy-transport-ws
- WS transport implementationAlloy 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.
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.
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
:
If you would like to add no_std
support to a crate, please make sure to update
scripts/check_no_std.sh
as well.
None of these crates would have been possible without the great work done in: