Built on Alloy, op-alloy aggregates the OP Stack's unique primitives — from consensus and RPC types to the subset of L1 types used by Optimistic rollups.
The following crates are provided by op-alloy:
| Crate Name | Description / Purpose | Version |
|---|---|---|
| op-alloy-consensus | Handles consensus-related logic | |
| op-alloy-network | Manages networking functionality | |
| op-alloy-rpc-jsonrpsee | RPC implementation using jsonrpsee |
|
| op-alloy-rpc-types-engine | Type definitions specific to RPC engine | |
| op-alloy-rpc-types | Shared types used across RPC components |
op-alloy is intended to be no_std compatible, initially for use in kona.
The following crates support no_std.
Notice, provider crates do not support no_std compatibility.
| Crate Name | Description / Purpose | Version |
|---|---|---|
op-alloy-consensus |
Handles consensus-related logic | |
op-alloy-rpc-types |
Shared types used across RPC components | |
op-alloy-rpc-types-engine |
RPC types specific to the engine API |
If you would like to add no_std support to a crate, please make sure to update scripts/check_no_std.sh.
op-alloy is inspired by the work of several teams and projects, most notably the Alloy project.
This would not be possible without the hard work from open source contributors. Thank you.
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.