Skip to content

publicKeyOf

publicKeyOf(privateKey): `0x${string}`

Defined in: wrap.ts:69

The public key a sender wraps to, for the holder of a secp256k1 private key.

This is the derived key-agreement key, not the signing key’s own public point: publish this, not the address key.

ParameterType
privateKey`0x${string}`

`0x${string}`