ed25519PubkeyToAddress static method

List<int> ed25519PubkeyToAddress(
  1. List<int> pubkeyBytes
)

Implementation

static List<int> ed25519PubkeyToAddress(List<int> pubkeyBytes) {
  final pubkey = AddrKeyValidator.validateAndGetEd25519Key(pubkeyBytes);
  return QuickCrypto.sha256Hash(pubkey.compressed).sublist(0, 20);
}