MoneroAccount.fromPrivateSpendKey constructor

MoneroAccount.fromPrivateSpendKey(
  1. List<int> privSkey, {
  2. MoneroCoins coinType = MoneroCoins.moneroMainnet,
})

Factory method to create a Monero instance from a private spend key.

Given a privSkey and an optional coinType, this method constructs a Monero instance with the associated keys and configurations.

Implementation

factory MoneroAccount.fromPrivateSpendKey(List<int> privSkey,
    {MoneroCoins coinType = MoneroCoins.moneroMainnet}) {
  return MoneroAccount._(privKey: privSkey, coinType: coinType);
}