Skip to content

Keys-Only Wallet

MoneroWalletKeys

Bases: MoneroWallet

Implements a Monero wallet to provide basic key management.

create_wallet_from_keys(config) staticmethod

Create a wallet from an address, view key, and spend key.

Parameters:

Name Type Description Default
config MoneroWalletConfig

is the wallet configuration (network type, address, view key, spend key, language).

required

Returns:

Type Description
MoneroWalletKeys

reference to the wallet instance.

create_wallet_from_seed(config) staticmethod

Create a wallet from an existing mnemonic phrase or seed.

Parameters:

Name Type Description Default
config MoneroWalletConfig

is the wallet configuration (network type, seed, seed offset, is_multisig).

required

Returns:

Type Description
MoneroWalletKeys

reference to the wallet instance.

create_wallet_random(config) staticmethod

Create a new wallet with a randomly generated seed.

Parameters:

Name Type Description Default
config MoneroWalletConfig

is the wallet configuration (network type and language).

required

Returns:

Type Description
MoneroWalletKeys

reference to the wallet instance.

get_seed_languages() staticmethod

Get a list of available languages for the wallet's seed.

Returns:

Type Description
list[str]

The available languages for the wallet's seed.