derive Tweak Pubkey From Xpub
fun deriveTweakPubkeyFromXpub(xpub: String, derivationPath: IntArray, tweak: BIP340Tweak?): BIP340PublicKey
Derives a public key from an extended public key (Xpub).
Returns the derived public key for a given BIP-32 non-hardened derivation path and an extended public key.
Return
The derived public key as a hex string
Parameters
xpub
The extended public key (Xpub) of the keypair, base58 encoded
derivation Path
The BIP-32 non-hardened derivation path to use for computing the public key