kobe-sol 0.2.7

Solana wallet utilities for Kobe CLI
Documentation

Solana wallet utilities for Kobe CLI.

Provides Solana 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_sol::Deriver;

// 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 Solana addresses from the wallet
let deriver = Deriver::new(&wallet);
let addr = deriver.derive(0).unwrap();
println!("Address: {}", addr.address);