abstractWeb3BaseWallet <T>
Hierarchy
- Array<T>
- Web3BaseWallet
Index
Constructors
publicconstructor
Type parameters
Parameters
accountProvider: Web3AccountProvider<T>
Returns Web3BaseWallet<T>
Methods
publicabstractadd
Parameters
account: string | T
Returns this
publicabstractclear
Returns this
publicabstractcreate
Parameters
numberOfAccounts: number
Returns this
publicabstractdecrypt
Parameters
encryptedWallet: KeyStore[]
password: string
optionaloptions: Record<string, unknown>
Returns Promise<Web3BaseWallet<T>>
publicabstractencrypt
Parameters
password: string
optionaloptions: Record<string, unknown>
Returns Promise<KeyStore[]>
publicabstractget
Parameters
addressOrIndex: string | number
Returns undefined | T
publicabstractload
Parameters
password: string
optionalkeyName: string
Returns Promise<Web3BaseWallet<T>>
publicabstractremove
Parameters
addressOrIndex: string | number
Returns boolean
publicabstractsave
Parameters
password: string
optionalkeyName: string
Returns Promise<boolean>