MoneroAccount class
A class representing Monero cryptocurrency and its associated keys and configurations.
Constructors
-
MoneroAccount.fromBip44PrivateKey(List<
int> privKey, {MoneroCoins coinType = MoneroCoins.moneroMainnet}) -
Factory method to create a Monero instance from a BIP44 private key.
factory
-
MoneroAccount.fromPrivateSpendKey(List<
int> privSkey, {MoneroCoins coinType = MoneroCoins.moneroMainnet}) -
Factory method to create a Monero instance from a private spend key.
factory
-
MoneroAccount.fromSeed(List<
int> seedBytes, {MoneroCoins coinType = MoneroCoins.moneroMainnet}) -
Factory method to create a Monero instance from a seed.
factory
-
MoneroAccount.fromWatchOnly(List<
int> privVkey, List<int> pubSkey, {MoneroCoins coinType = MoneroCoins.moneroMainnet}) -
Factory method to create a Monero instance from watch-only keys.
factory
- MoneroAccount.multisig({required MoneroPrivateKey privVkey, required MoneroPublicKey pubSkey, required MoneroPrivateKey privSkey, MoneroCoins coinType = MoneroCoins.moneroMainnet})
-
factory
Properties
- coinConf → MoneroCoinConf
-
Monero coin configuration
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isWatchOnly → bool
-
Check if the Monero instance is watch-only (has no private spend key).
no setter
- primaryAddress → String
-
Get the primary address of the Monero instance.
no setter
- privateSpendKey → MoneroPrivateKey
-
Get the private spend key of the Monero instance.
no setter
- privateViewKey → MoneroPrivateKey
-
Get the private view key of the Monero instance.
no setter
- privSkey → MoneroPrivateKey?
-
Private spend key (optional)
final
- privVkey → MoneroPrivateKey
-
Private view key
final
- publicSpendKey → MoneroPublicKey
-
Get the public spend key of the Monero instance.
no setter
- publicViewKey → MoneroPublicKey
-
Get the public view key of the Monero instance.
no setter
- pubSkey → MoneroPublicKey
-
Public spend key
final
- pubVkey → MoneroPublicKey
-
Public view key
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scubaddr → MoneroSubaddress
-
Monero subaddress
final
Methods
-
integratedAddress(
List< int> paymentId) → String - Generate an integrated address by encoding the keys and payment ID.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
subaddress(
int minorIndex, {int majorIndex = 0}) → String - Get a subaddress based on minor and major indexes, or return the primary address if both are 0.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited