fromX
@opcat-labs/scrypt-ts-opcat v1.0.4
@opcat-labs/scrypt-ts-opcat / PublicKey / fromX
Function: fromX()
fromX(
odd,x):PublicKey
Defined in: node_modules/@opcat-labs/opcat/types/publickey.d.cts:185
Instantiate a PublicKey from an X Point
Parameters
odd
boolean
If the point is above or below the x axis
x
The x point
Returns
A new valid instance of PublicKey