Interface: IWallet
Hierarchy​
MobxClearWallet
↳
IWallet
Properties​
accounts​
• accounts: string
[]
activeAccount​
• activeAccount: string
Inherited from​
MobxClearWallet.activeAccount
addAddressCmd​
• addAddressCmd: IWalletAddressCmd
Overrides​
MobxClearWallet.addAddressCmd
mnemonic​
• mnemonic: IMnemonic
Overrides​
MobxClearWallet.mnemonic
removeAddress​
• removeAddress: Object
Type declaration​
Name | Type |
---|---|
get` **is**(): `Object | {} |
run | (address : string ) => void |
Inherited from​
MobxClearWallet.removeAddress
removeAddressCmd​
• removeAddressCmd: IWalletAddressCmd
Overrides​
MobxClearWallet.removeAddressCmd
Methods​
addAccount​
â–¸ addAccount(newAccount
): void
Parameters​
Name | Type |
---|---|
newAccount | string |
Returns​
void
Inherited from​
MobxClearWallet.addAccount
addWalletAddress​
â–¸ addWalletAddress(): void
Returns​
void
Inherited from​
MobxClearWallet.addWalletAddress
changeMnemonic​
â–¸ changeMnemonic(mnemonic
): void
Parameters​
Name | Type |
---|---|
mnemonic | string |
Returns​
void
Inherited from​
MobxClearWallet.changeMnemonic
clearMnemonic​
â–¸ clearMnemonic(): void
Returns​
void
Inherited from​
MobxClearWallet.clearMnemonic
generateMnemonic​
â–¸ generateMnemonic(): void
Returns​
void
Inherited from​
MobxClearWallet.generateMnemonic
getMnemonic​
â–¸ getMnemonic(): string
Returns​
string
Inherited from​
MobxClearWallet.getMnemonic
removeMnemonic​
â–¸ removeMnemonic(): void
Returns​
void
Inherited from​
MobxClearWallet.removeMnemonic
setActiveAccount​
â–¸ setActiveAccount(activeAccount
): void
Parameters​
Name | Type |
---|---|
activeAccount | undefined | string |
Returns​
void
Inherited from​
MobxClearWallet.setActiveAccount
setMnemonic​
â–¸ setMnemonic(mnemonic?
): void
Parameters​
Name | Type |
---|---|
mnemonic? | string |
Returns​
void
Inherited from​
MobxClearWallet.setMnemonic
tryRestoreMnemonicFromStorage​
â–¸ tryRestoreMnemonicFromStorage(): void
Returns​
void
Inherited from​
MobxClearWallet.tryRestoreMnemonicFromStorage