Skip to main content

Crate kobe_primitives

Crate kobe_primitives 

Source
Expand description

Multi-chain HD wallet derivation library.

Core Wallet type holds a BIP-39 mnemonic and derives seeds for chain-specific derivers (kobe-evm, kobe-btc, kobe-svm, etc.).

let wallet = kobe_primitives::Wallet::from_mnemonic(
    "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about",
    None,
)?;

Re-exports§

pub use bip39::rand_core;

Modules§

bip32
BIP-32 secp256k1 key derivation utilities.
camouflage
Mnemonic camouflage via entropy-layer XOR encryption.
mnemonic
BIP-39 mnemonic utilities.
slip10
SLIP-0010 Ed25519 key derivation.
test_vectors
Well-known BIP-39 / SLIP-10 test vectors, exposed for downstream test suites.

Structs§

DerivedAccount
A derived HD account — unified across all chains.
Wallet
A unified HD wallet that can derive keys for multiple cryptocurrencies.

Enums§

DeriveError
Errors produced by core wallet and key-derivation operations.
Language
Language to be used for the mnemonic phrase.

Traits§

Derive
Unified derivation trait implemented by all chain derivers.
DeriveExt
Extension trait providing batch derivation for all Derive implementors.

Functions§

derive_range
Derive a range of accounts by repeatedly invoking a derivation closure.

Type Aliases§

Result
Convenient Result alias.