calculatedEncodedChecksum static method
Implementation
static String calculatedEncodedChecksum(String publicKey) {
Uint8List checksum = NanoHelpers.reverse(
Ed25519Blake2b.accountChecksum(NanoHelpers.hexToBytes(publicKey)));
String binaryChecksum =
NanoHelpers.hexToBinary(NanoHelpers.byteToHex(checksum))
.padLeft(40, "0");
return encoder.encode(binaryChecksum);
}