MoneroSubaddress constructor
MoneroSubaddress(
- MoneroPrivateKey privVKey,
- MoneroPublicKey pubSKey, [
- MoneroPublicKey? publicVkey
Constructor for creating a Monero subaddress.
The constructor takes a private view key privVKey
and a public spend key pubSKey
.
Optionally, it can also accept a public view key publicVkey
(defaulting to null
).
Implementation
MoneroSubaddress(this.privVKey, this.pubSKey, [MoneroPublicKey? publicVkey])
: pubVKey = publicVkey ?? privVKey.publicKey;