MoneroPrivateKey.fromBip44 constructor
Factory method for creating an MoneroPrivateKey from a BIP-44.
Implementation
factory MoneroPrivateKey.fromBip44(List<int> keyBytes) {
final privateKey = IPrivateKey.fromBytes(
keyBytes,
EllipticCurveTypes.ed25519,
);
return MoneroPrivateKey.fromBytes(
Ed25519Utils.scalarReduceConst(
QuickCrypto.keccack256Hash(privateKey.raw),
),
);
}