Expand description
Core wallet types for Kobe multi-chain wallet CLI.
This crate provides the unified Wallet type that holds a BIP39 mnemonic
and derives seeds for multiple cryptocurrencies.
§Features
std(default): Enable standard library supportalloc: Enable heap allocation without full std (forno_stdenvironments)
§Example
use kobe_core::Wallet;
// Generate a new wallet (requires std or alloc feature with RNG)
let wallet = Wallet::generate(12, None).unwrap();
// Or with a passphrase (BIP39 optional password)
let wallet = Wallet::generate(12, Some("my secret passphrase")).unwrap();
// The same mnemonic can derive addresses for any coin
let seed = wallet.seed();Structs§
- Wallet
- A unified HD wallet that can derive keys for multiple cryptocurrencies.
Enums§
- Error
- Errors that can occur during wallet operations.
Type Aliases§
- Result
- A convenient Result type alias for kobe-core operations.