1 unstable release

0.1.0 Jun 1, 2024

#58 in #json-rpc-server

Download history 107/week @ 2024-07-27 94/week @ 2024-08-03 99/week @ 2024-08-10 111/week @ 2024-08-17 89/week @ 2024-08-24 191/week @ 2024-08-31 220/week @ 2024-09-07 309/week @ 2024-09-14 315/week @ 2024-09-21 142/week @ 2024-09-28 150/week @ 2024-10-05 135/week @ 2024-10-12 281/week @ 2024-10-19 273/week @ 2024-10-26 599/week @ 2024-11-02 468/week @ 2024-11-09

1,637 downloads per month
Used in 12 crates (8 directly)

MIT/Apache

89KB
1.5K SLoC

linera-alloy-transport

Low-level Ethereum JSON-RPC transport abstraction.

This crate handles RPC connection and request management. It builds an RpcClient on top of the tower Service abstraction, and provides futures for simple and batch RPC requests as well as a unified TransportError type.

Typically, this crate should not be used directly. Most EVM users will want to use the linera-alloy-provider crate, which provides a high-level API for interacting with JSON-RPC servers that provide the standard Ethereum RPC endpoints, or the [linera-alloy-rpc-client] crate, which provides a low-level JSON-RPC API without the specific Ethereum endpoints.

Transports

Alloy maintains the following transports:

Dependencies

~17–27MB
~464K SLoC