MoneroAccount.fromBip44PrivateKey constructor
MoneroAccount.fromBip44PrivateKey(
- List<
int> privKey, { - MoneroCoins coinType = MoneroCoins.moneroMainnet,
Factory method to create a Monero instance from a BIP44 private key.
Given a privKey
and an optional coinType
, this method constructs a Monero instance
with the associated keys and configurations.
Implementation
factory MoneroAccount.fromBip44PrivateKey(List<int> privKey,
{MoneroCoins coinType = MoneroCoins.moneroMainnet}) {
return MoneroAccount.fromPrivateSpendKey(
Ed25519Utils.scalarReduce(QuickCrypto.keccack256Hash(privKey)),
coinType: coinType);
}