Class MoneroWalletConfig

Configuration to create a Monero wallet.

Hierarchy

  • MoneroWalletConfig

Constructors

Properties

accountLookahead: number

Number of accounts to scan (optional).

cacheData: Uint8Array

Wallet cache data to open.

cmd: string[]

Command to start monero-wallet-rpc as a child process.

connectionManager: MoneroConnectionManager

Govern the wallet's server connection.

fs: any

File system compatible with Node.js fs.promises API (defaults to disk or in-memory FS if browser).

isMultisig: boolean

Indicates if the wallet seed is multisig.

keysData: Uint8Array

Wallet keys data to open.

language: string

Language of the wallet's seed phrase (defaults to "English" or auto-detected).

networkType: MoneroNetworkType

Network type of the wallet to open or create.

password: string

Password of the wallet to open or create.

path: string

Path to the wallet to open or create.

primaryAddress: string

Primary address of the wallet to create (only provide if restoring from keys).

privateSpendKey: string

Private spend key of the wallet to create.

privateViewKey: string

Private view key of the wallet to create.

proxyToWorker: boolean

Proxies wallet operations to a worker in order to not block the main thread (default true).

restoreHeight: number

Block height to start scanning from (defaults to 0 unless generating random wallet).

saveCurrent: boolean

Specifies if the currently open RPC wallet should be saved before being closed.

seed: string

Seed of the wallet to ceate (random wallet created if neither seed nor keys given).

seedOffset: string

Offset to derive a new seed from the given seed to recover a secret wallet.

server: string | Partial<MoneroRpcConnection>

Server config to monerod or monero-wallet-rpc.

subaddressLookahead: number

Number of subaddresses to scan per account (optional).

Methods

  • Returns number

  • Returns Uint8Array

  • Returns any

  • Returns boolean

  • Returns Uint8Array

  • Returns string

  • Returns string

  • Returns string

  • Returns string

  • Returns string

  • Returns string

  • Returns boolean

  • Returns number

  • Returns boolean

  • Returns string

  • Returns string

  • Returns number

  • Returns any

Generated using TypeDoc