Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EthKeystoreClient

Ethereum keystore client that implements IsingleKeystoreClient

Hierarchy

  • EthKeystoreClient

Implements

Index

Properties

ledgerSupport

ledgerSupport: boolean = true

Methods

generateMnemonic

  • generateMnemonic(): string

getAccountFromHardware

getAccountFromMnemonic

  • getAccountFromMnemonic(address_index: number, mnemonic: string): Promise<object>

recoverKeyPairByPrivateKey

  • recoverKeyPairByPrivateKey(priKey: string, options?: any): Promise<Keypair>

signTransaction

  • signTransaction<T>(tx: EthUnsignedTx, signer: T, signerParam: any): Promise<any>

validateAddress

  • validateAddress(address: string): boolean

validatePrivateKey

  • validatePrivateKey(privateKey: string | Buffer): never