MoneroPublicKey.fromPoint constructor

MoneroPublicKey.fromPoint(
  1. EDPoint point
)

Factory method to create a MoneroPublicKey from an Edwards point.

This method creates a new MoneroPublicKey instance from an EDPoint point by calling the private constructor _keyFromPoint with the given point.

Implementation

factory MoneroPublicKey.fromPoint(EDPoint point) {
  return MoneroPublicKey._(_keyFromPoint(point));
}