mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-02 13:23:10 +00:00
12 lines
229 B
Rust
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;
|
|
}
|