Crates.io | kona-derive |
lib.rs | kona-derive |
version | 0.0.2 |
source | src |
created_at | 2024-02-22 20:38:47.339401 |
updated_at | 2024-06-22 23:09:41.680678 |
description | A no_std derivation pipeline implementation for the OP Stack |
homepage | https://github.com/ethereum-optimism/kona |
repository | https://github.com/ethereum-optimism/kona |
max_upload_size | |
id | 1149712 |
size | 3,210,401 |
kona-derive
Notice: This crate is a WIP.
A no_std
compatible implementation of the OP Stack's derivation pipeline.
The most up-to-date feature list will be available on the docs.rs Feature Flags
tab of the kona-derive
crate.
Some features include the following.
serde
: Serialization and Deserialization support for kona-derive
types.k256
: secp256k1 public key recovery support.online
: Exposes an alloy-provider powered data source using "online" HTTP requests.By default, kona-derive
enables features serde
and k256
.
Key recovery using the secp256k1 curve sits behind a k256
feature flag so that when compiled in offline
mode,
secp recovery can fall through to the fpp host, accelerating key recovery. This was necessary since invalid instructions
were found when compiling k256
recovery down to a bare-metal MIPS target. Since public key recovery requires elliptic
curve pairings, k256
fall-through host recovery should drastically accelerate derivation on the FPVM.