pubKeyToWalletAddr static method
pubKeyToWalletAddr converts a public key to its NKN wallet address
Implementation
static Future<String?> pubKeyToWalletAddr(Uint8List pubkey) async {
try {
final String address = await _methodChannel.invokeMethod('pubKeyToWalletAddr', {
'pubKey': pubkey,
});
return address;
} catch (e) {
return null;
}
}