getAccountIdFromEd25519PublicKey function

Uint8List getAccountIdFromEd25519PublicKey(
  1. Uint8List publicKey
)

Implementation

Uint8List getAccountIdFromEd25519PublicKey(Uint8List publicKey) {
  final der = Ed25519PublicKey.fromRaw(publicKey).toDer();
  return getAccountIdFromDerKey(der);
}