MoneroAccount.multisig constructor

MoneroAccount.multisig({
  1. required MoneroPrivateKey privVkey,
  2. required MoneroPublicKey pubSkey,
  3. required MoneroPrivateKey privSkey,
  4. MoneroCoins coinType = MoneroCoins.moneroMainnet,
})

Implementation

factory MoneroAccount.multisig(
    {required MoneroPrivateKey privVkey,
    required MoneroPublicKey pubSkey,
    required MoneroPrivateKey privSkey,
    MoneroCoins coinType = MoneroCoins.moneroMainnet}) {
  final mPubVkey = privVkey.publicKey;
  return MoneroAccount.__(
      coinConf: coinType.conf,
      privSkey: privSkey,
      privVkey: privVkey,
      pubSkey: pubSkey,
      pubVkey: mPubVkey,
      scubaddr: MoneroSubaddress(privVkey, pubSkey, mPubVkey));
}