encode function
Implementation
String encode(Uint8List payload) {
Uint8List hash = _sha256x2(payload);
Uint8List combine = Uint8List.fromList(
[payload, hash.sublist(0, 4)].expand((i) => i).toList(growable: false));
return base58.encode(combine);
}