Full Wallet¶
MoneroWalletFull ¶
Bases: MoneroWallet
Monero wallet implementation which uses monero-project's wallet2.
create_wallet(config) staticmethod ¶
Create a new wallet with the given configuration.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
config | MoneroWalletConfig | the wallet configuration. | required |
Returns:
| Type | Description |
|---|---|
MoneroWalletFull | reference to the wallet instance. |
get_cache_file_buffer() ¶
Get wallet cache file without using filesystem.
Returns:
| Type | Description |
|---|---|
str | Cache file buffer. |
get_keys_file_buffer(password, view_only) ¶
Get wallet keys file without using filesystem.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
password | str | The wallet password. | required |
view_only | bool | Get view-only keys. | required |
Returns:
| Type | Description |
|---|---|
str | Keys file buffer. |
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. |
open_wallet(path, password, nettype) staticmethod ¶
Open an existing wallet from disk.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
path | str | is the path to the wallet file to open. | required |
password | str | is the password of the wallet file to open. | required |
nettype | MoneroNetworkType | is the wallet's network type. | required |
Returns:
| Type | Description |
|---|---|
MoneroWalletFull | reference to the wallet instance. |
wallet_exists(path) staticmethod ¶
Indicates if a wallet exists at the given path.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
path | str | is the path to check for a wallet. | required |
Returns:
| Type | Description |
|---|---|
bool |
|