derivePathUnhardened method

Future<PublicKey> derivePathUnhardened(
  1. List<int> path
)

Derive public key from path

Implementation

Future<PublicKey> derivePathUnhardened(List<int> path) async {
  final Uint32List pathBytes = Uint32List.fromList(path);
  final result = await api.publicKeyDerivePathUnhardened(
    sk: byteList,
    path: pathBytes,
  );
  return PublicKey(result);
}