signWithAuthenticator method

  1. @override
AccountAuthenticatorEd25519 signWithAuthenticator(
  1. HexInput message
)
override

Signs message and returns an authenticator holding the Ed25519 signature and the account's public key.

Implementation

@override
AccountAuthenticatorEd25519 signWithAuthenticator(HexInput message) {
  return AccountAuthenticatorEd25519(publicKey, privateKey.sign(message));
}