getPublicKeyFromPrivateKey method
Gets the hexPublicKey from the hexPrivateKey
Future
Implementation
Future<HexPublicKey> getPublicKeyFromPrivateKey(
HexPrivateKey hexPrivateKey) async {
var privateKeyBytes = hex.decode(hexPrivateKey.value!);
return HexPublicKey(
hex.encode(await ED25519_HD_KEY.getPublicKey(privateKeyBytes, false)));
}