Skip to main content

kobe_svm/
lib.rs

1//! Solana HD wallet derivation for Kobe.
2//!
3//! Derives Solana addresses from a [`kobe_primitives::Wallet`] seed using SLIP-10 Ed25519.
4//! Supports Phantom/Backpack, Trust Wallet, and Ledger Live derivation styles.
5
6#![cfg_attr(not(feature = "std"), no_std)]
7
8#[cfg(feature = "alloc")]
9extern crate alloc;
10
11#[cfg(feature = "alloc")]
12mod derivation_style;
13#[cfg(feature = "alloc")]
14mod deriver;
15
16#[cfg(feature = "alloc")]
17pub use derivation_style::DerivationStyle;
18#[cfg(feature = "alloc")]
19pub use deriver::{Deriver, SvmAccount};
20#[cfg(feature = "alloc")]
21pub use kobe_primitives::ParseDerivationStyleError;
22pub use kobe_primitives::{DeriveError, DerivedAccount, DerivedPublicKey};