Skip to content

GetYCoordinate

Returns the Y-coordinate given an X-coordinate on the Stark curve.

Function Signature

func GetYCoordinate(starkX *felt.Felt) *felt.Felt

Expected Output

GetYCoordinate:
  X-Coordinate: 0x5f1614a304f6a40630792a4f6562eee36805f52e94f777d6a78463ae541229b
  Y-Coordinate: 0x76adc9b44071323252b6f7de033fedaa502cbbe0dcf8f6c00982af5120bca74

Related Functions