1 unstable release

0.1.0 Jun 1, 2024

#43 in #json-rpc-server

Download history 43/week @ 2024-06-20 49/week @ 2024-06-27 37/week @ 2024-07-04 74/week @ 2024-07-11 74/week @ 2024-07-18 113/week @ 2024-07-25 67/week @ 2024-08-01 123/week @ 2024-08-08 123/week @ 2024-08-15 79/week @ 2024-08-22 149/week @ 2024-08-29 232/week @ 2024-09-05 242/week @ 2024-09-12 330/week @ 2024-09-19 213/week @ 2024-09-26 170/week @ 2024-10-03

1,011 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

~16–26MB
~464K SLoC