[][src]Function sr25519::derive_pubkey

pub fn derive_pubkey(
    extended_pubkey: ExtendedPubKey,
    id: Message
) -> PyResult<ExtendedPubKey>

Returns the soft derivation of the public key of the specified child.

Arguments

  • extended_pubkey - The extended public key, comprised of the chain code and public key.
  • id - The identifier for the child key to derive.

Returns

A new extended public key for the child.