Module stark

Source
Expand description

Stark HD derivation

This module provides Stark derivation as well as aliases for calling <Stark as HdWallet<_>>::* methods for convenience when you don’t need to support generic HD derivation algorithm.

See Stark docs to learn more about the derivation method.

Structs§

Stark
HD derivation for stark curve

Functions§

derive_child_key_pair
Derives child key pair (extended secret key + public key) from parent key pair
derive_child_key_pair_with_path
Derives a child key pair with specified derivation path from parent key pair
derive_child_public_key
Derives child extended public key from parent extended public key
derive_child_public_key_with_path
Derives a child public key with specified derivation path
derive_hardened_shift
Derive a shift for hardened child
derive_public_shift
Derives a shift for non-hardened child
try_derive_child_key_pair_with_path
Derives a child key pair with specified derivation path from parent key pair
try_derive_child_public_key_with_path
Derives a child public key with specified derivation path