fromPoint
scrypt-ts-opcat / PublicKey / fromPoint
Function: fromPoint()
fromPoint(
point
,compressed
?):PublicKey
Defined in: node_modules/@opcat-labs/opcat/types/publickey.d.cts:175
Instantiate a PublicKey from a Point
Parameters
point
A Point instance
compressed?
boolean
whether to store this public key as compressed format
Returns
A new valid instance of PublicKey