@celo/wallet-base"wallet-base"UnlockableWallet

Interface: UnlockableWallet

Hierarchy

Wallet

UnlockableWallet

Index

Properties

Properties

addAccount

addAccount: addInMemoryAccount | addRemoteAccount

Inherited from Wallet.addAccount

Defined in wallets/wallet-base/src/wallet-base.ts:11


computeSharedSecret

computeSharedSecret: function

Inherited from Wallet.computeSharedSecret

Defined in connect/lib/wallet.d.ts:12

Type declaration:

▸ (address: Address, publicKey: string): Promise‹Buffer›

Parameters:

Name Type
address Address
publicKey string

decrypt

decrypt: function

Inherited from Wallet.decrypt

Defined in connect/lib/wallet.d.ts:11

Type declaration:

▸ (address: Address, ciphertext: Buffer): Promise‹Buffer›

Parameters:

Name Type
address Address
ciphertext Buffer

getAccounts

getAccounts: function

Inherited from Wallet.getAccounts

Defined in connect/lib/wallet.d.ts:5

Type declaration:

▸ (): Address[]


hasAccount

hasAccount: function

Inherited from Wallet.hasAccount

Defined in connect/lib/wallet.d.ts:7

Type declaration:

▸ (address?: Address): boolean

Parameters:

Name Type
address? Address

isAccountUnlocked

isAccountUnlocked: function

Defined in wallets/wallet-base/src/wallet-base.ts:16

Type declaration:

▸ (address: string): boolean

Parameters:

Name Type
address string

removeAccount

removeAccount: function

Inherited from Wallet.removeAccount

Defined in connect/lib/wallet.d.ts:6

Type declaration:

▸ (address: Address): void

Parameters:

Name Type
address Address

signPersonalMessage

signPersonalMessage: function

Inherited from Wallet.signPersonalMessage

Defined in connect/lib/wallet.d.ts:10

Type declaration:

▸ (address: Address, data: string): Promise‹string›

Parameters:

Name Type
address Address
data string

signTransaction

signTransaction: function

Inherited from Wallet.signTransaction

Defined in connect/lib/wallet.d.ts:8

Type declaration:

▸ (txParams: CeloTx): Promise‹EncodedTransaction›

Parameters:

Name Type
txParams CeloTx

signTypedData

signTypedData: function

Inherited from Wallet.signTypedData

Defined in connect/lib/wallet.d.ts:9

Type declaration:

▸ (address: Address, typedData: EIP712TypedData): Promise‹string›

Parameters:

Name Type
address Address
typedData EIP712TypedData

unlockAccount

unlockAccount: function

Defined in wallets/wallet-base/src/wallet-base.ts:15

Type declaration:

▸ (address: string, passphrase: string, duration: number): Promise‹boolean›

Parameters:

Name Type
address string
passphrase string
duration number