publicKeyToAddress method
Implementation
@override
String publicKeyToAddress(Uint8List publicKey) {
final hash = publicKeyToBlack2bHash(publicKey);
final slicedHash = hash.substring(0, SUI_ADDRESS_LENGTH * 2);
return '0x${slicedHash.toLowerCase().padLeft(SUI_ADDRESS_LENGTH * 2, '0')}';
}