derivePubkey

fun derivePubkey(secretShare: EcdsaSecretShare, derivationPath: IntArray): EcdsaPublicKey

Derives a public key from an ECDSA secret share.

Returns the derived public key for a given BIP-32 non-hardened derivation path.

Return

The derived public key as a hex string

Parameters

secretShare

The secret share

derivationPath

The BIP-32 non-hardened derivation path to use for computing the public key