pub trait Subtree {
    type Suite: KeyDerivationCrypto;

    fn name(&self) -> &'static str;
    fn master(
        &self,
        seed: &Seed
    ) -> <<Self as Subtree>::Suite as KeyDerivationCrypto>::ExtendedPrivateKey; fn key_id(
        &self,
        pk: &<<Self as Subtree>::Suite as AsymmetricCrypto>::PublicKey
    ) -> <<Self as Subtree>::Suite as AsymmetricCrypto>::KeyId; }
Expand description

The operations required to support SLIP-0010

Required Associated Types

The crypto suite used by the network

Required Methods

the name of the network shown on the UI or in Debug info

Calculate the master extended private key in the crypto suite used by the network

Calculate the key identifier from the public key based on the rules used by the network

Trait Implementations

Formats the value using the given formatter. Read more

Implementors