@fuel-ts/account .MnemonicVault
• new MnemonicVault(options
): MnemonicVault
Name | Type |
---|---|
options | MnemonicVaultOptions |
packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:24
• Private
Readonly
#secret: string
packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:18
• numberOfAccounts: number
= 0
packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:22
• pathKey: string
= '{}'
packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:20
• rootPath: string
packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:21
▪ Static
Readonly
type: "mnemonic"
packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:17
▸ addAccount(): Object
Object
Name | Type |
---|---|
address | AbstractAddress |
publicKey | string |
packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:63
▸ exportAccount(address
): string
Name | Type |
---|---|
address | string | AbstractAddress |
string
packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:73
▸ getAccounts(): { address
: AbstractAddress
= wallet.address; publicKey
: string
= wallet.publicKey }[]
{ address
: AbstractAddress
= wallet.address; publicKey
: string
= wallet.publicKey }[]
packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:46
▸ getDerivePath(index
): string
Name | Type |
---|---|
index | number |
string
packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:31
▸ getWallet(address
): WalletUnlocked
Name | Type |
---|---|
address | string | AbstractAddress |
packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:91
▸ serialize(): MnemonicVaultOptions
packages/account/src/wallet-manager/vaults/mnemonic-vault.ts:38