core.derivepublickey
Home > @blaze-cardano/core > derivePublicKey
derivePublicKey() function
Function to derive the public key from a private key.
Signature:
export declare function derivePublicKey(privateKey: Ed25519PrivateNormalKeyHex | Ed25519PrivateExtendedKeyHex): Ed25519PublicKeyHex;
Parameters
| Parameter | Type | Description | 
|---|---|---|
| privateKey | The private key to derive the public key from. | 
Returns:
{Ed25519PublicKeyHex} The derived public key.