Options
All
  • Public
  • Public/Protected
  • All
Menu

Class KeystoreClient

Hierarchy

  • KeystoreClient

Implements

Index

Properties

coins

coins: object

Type declaration

Methods

addCoin

generateMnemonic

  • generateMnemonic(coinType: string): string

getAccountFromHardware

  • getAccountFromHardware(coinType: string, index: number, hardware: IHardware): Promise<any>

getAccountFromMnemonic

  • getAccountFromMnemonic(coinType: string, ddress_index: number, mnemonic: string): Promise<any>

getCoin

recoverKeyPairByPrivateKey

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

removeCoin

  • removeCoin(coinType: string): boolean

signTransaction

  • signTransaction<T>(coinType: string, tx: any, signer: T, signerParams: any): Promise<any>

validateAddress

  • validateAddress(coinType: string, address: string): boolean

validatePrivateKey

  • validatePrivateKey(coinType: string, privateKey: string | Buffer): boolean