kobe-eth 0.2.7

Ethereum wallet utilities for Kobe CLI
Documentation

Ethereum wallet utilities for Kobe CLI.

Provides Ethereum address derivation from a unified [kobe_core::Wallet].

Features

  • std (default): Enable standard library support
  • alloc: Enable heap allocation without full std (for no_std environments)
  • rand: Enable random key generation for StandardWallet

Usage

use kobe_core::Wallet;
use kobe_eth::{Deriver, DerivationStyle};

// Create a wallet from mnemonic
let wallet = Wallet::from_mnemonic(
    "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about",
    None
).unwrap();

// Derive Ethereum addresses from the wallet
let deriver = Deriver::new(&wallet);
let addr = deriver.derive(0, false, 0).unwrap();
println!("Address: {}", addr.address);

// Derive using Ledger Live style
let addr = deriver.derive_with_style(DerivationStyle::LedgerLive, 0).unwrap();
println!("Ledger Live Address: {}", addr.address);