auxToKeypair static method

String auxToKeypair(
  1. MultiKeypair keypair
)

Implementation

static String auxToKeypair(MultiKeypair keypair) {
  final result = aux_to_raw(
      keypair.seed.toNativeUtf8(),
      keypair.sk.substring(0, 66).toNativeUtf8(),
      jsonEncode(keypair.aux).toNativeUtf8());
  return Response.fromJson(result.cast<Utf8>().toDartString())
      .handleResponse();
}