mnemonic_derive_sign_keys method

Future<KeyPair> mnemonic_derive_sign_keys(
  1. ParamsOfMnemonicDeriveSignKeys params
)

Validates the seed phrase, generates master key and then derives the key pair from the master key and the specified path

Implementation

Future<KeyPair> mnemonic_derive_sign_keys(
    ParamsOfMnemonicDeriveSignKeys params) async {
  final res = await _tonCore.request(
      'crypto.mnemonic_derive_sign_keys', params.toString());
  return KeyPair.fromMap(res);
}