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