getKeysFromListOfStrings()

Get private key, public key and wallet address form a seed phrase written on a single Map object

Method signature

Map<String, String> getKeysFromListOfStrings(List<String> seedPhrase);

Parameters

Example

import 'package:circular_api/circular_api.dart';

void main() {
  final circular = CircularAPI();
  final seedPhrase = ["Hello", ",", "World!"];

  final keys = circular.getKeysFromListOfStrings(seedPhrase);
}

Result

The result will be a Map with these keys:

{
  "privateKey" : String,
  "publicKey"  : String,
  "address"    : String,
  "seedPhrase" : String,
}

Last updated