kobe-btc 0.2.8

Bitcoin wallet utilities for Kobe CLI
Documentation

Bitcoin wallet utilities for Kobe CLI.

Provides Bitcoin 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_btc::{Deriver, Network, AddressType};

// Create a wallet from kobe-core
let wallet = Wallet::generate(12, None).unwrap();

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