Skip to main content

kobe_evm/
lib.rs

1//! Ethereum HD wallet derivation.
2//!
3//! Derives Ethereum (EIP-55 checksummed) addresses from a [`kobe_primitives::Wallet`]
4//! seed following BIP-32/44. Supports `MetaMask`, Ledger Live, and Ledger Legacy
5//! derivation styles.
6
7#![cfg_attr(not(feature = "std"), no_std)]
8
9#[cfg(feature = "alloc")]
10extern crate alloc;
11
12#[cfg(feature = "alloc")]
13mod deriver;
14
15#[cfg(feature = "alloc")]
16pub use deriver::{DerivationStyle, Deriver};
17#[cfg(feature = "alloc")]
18pub use kobe_primitives::ParseDerivationStyleError;
19pub use kobe_primitives::{DeriveError, DerivedAccount, DerivedPublicKey};