kona-derive-alloy
Notice: Requires an std
environment.
An online, alloy-backed derivation pipeline, built on kona-derive
.
Usage
The easiest way to use kona-derive-alloy
to construct a derivation pipeline
backed by alloy providers is to use the exported new_online_pipeline
method.
use Arc;
use BlockInfo;
use RollupConfig;
use *;
let rollup_config = new;
let chain_provider =
new_http;
let l2_chain_provider = new_http;
let beacon_client = new_http;
let blob_provider = new;
let blob_provider = new;
let dap_source =
new_from_parts;
let builder = new;
let origin = default;
let pipeline = new_online_pipeline;
assert_eq!;
assert_eq!;
Features
The most up-to-date feature list will be available on the
docs.rs Feature Flags
tab of the kona-derive-alloy
crate.
Some features include the following.
test-utils
: Test utilities for downstream libraries.