ICPSigner.fromPhrase constructor
ICPSigner.fromPhrase(})
Implementation
ICPSigner.fromPhrase(
String phrase, {
String passphase = "",
int? index = 0,
List<int>? icPath = IC_BASE_PATH,
CurveType curveType = CurveType.ed25519,
}) {
_phrase = phrase;
_index ??= index;
_acc = ICPAccount.fromPhrase(
_phrase!,
passphase: passphase,
index: _index!,
icPath: icPath,
curveType: curveType,
);
}