2025-11-07 16:21:14 +02:00

12 lines
229 B
Rust

pub trait KeyNode {
fn root(seed: [u8; 64]) -> Self;
fn n_th_child(&self, cci: u32) -> Self;
fn chain_code(&self) -> &[u8; 32];
fn child_index(&self) -> &Option<u32>;
fn address(&self) -> nssa::Address;
}