Skip to content

Latest commit

 

History

History
 
 

derive

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

kona-derive

CI FPVM Tests Kona Derive License

A no_std compatible implementation of the OP Stack's derivation pipeline.

Features

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.