deriveKeypair method
Implementation
KeyPair deriveKeypair(
String serviceName, {
int index = 0,
String pathSuffix = '',
}) {
if (services[serviceName] == null) {
throw Exception(
"Service doesn't exist in the keychain",
);
}
return deriveArchethicKeypair(
seed,
services[serviceName]!.derivationPath,
index,
curve: services[serviceName]!.curve,
pathSuffix: pathSuffix,
);
}