pub struct Bip44PublicAccount<C: KeyDerivationCrypto + 'static> { /* private fields */ }
Expand description

Represents a given account of a given coin in the BIP32 tree.

Implementations

Backdoor to mount a BIP44 account at any place in the BIP32 tree. Use only for implementing advanced or fringe non-standard use-cases.

Accessor for the underlying BIP32 node.

Creates a sub-account for either external keys (receiving addresses) or internal keys (change addresses). This distinction might help in accounting.

Creates a key with a given index used on the chain for storing balance or authenticating actions. By default these keys are made on the receiving sub-account.

Accessor for the BIP44 path of the account.

Accessor for the BIP32 path of the account.

Accessor for the underlying nwtwork.

Recreates the public API of a BIP44 account from the BIP32 readable format

Returns the extended public key in the BIP32 readable format with the version bytes of the network.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.