Function: getPublicKey()
function getPublicKey(privateKey, isCompressed): 0x${string}
Returns the public key from the private key using the secp256k1 curve.
Parameters
Parameter | Type | Default value |
---|---|---|
|
|
|
|
|
|
Returns
0x${string}
Defined
@nilfoundation/niljs/src/signers/publicKey.ts:14