derivePublicKey static method

Uint8List derivePublicKey(
  1. Uint8List privateKey
)

Derives the Ed25519 public key from a 32-byte private key.

This is a static method for use by SLIP-0010 HD wallet derivation. Returns a 32-byte Ed25519 public key.

Implementation

static Uint8List derivePublicKey(Uint8List privateKey) {
  return _getPublicKey(privateKey);
}