Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TronKeystoreClient

Hierarchy

  • TronKeystoreClient

Implements

Index

Methods

generateMnemonic

  • generateMnemonic(): string

getAccountFromHardware

  • getAccountFromHardware(_address_index: number, hardware: IHardware): never

getAccountFromMnemonic

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

recoverKeyPairByPrivateKey

  • recoverKeyPairByPrivateKey(priKey: string): Promise<TronKeypair>

signTransaction

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

validateAddress

  • validateAddress(address: string): boolean

validatePrivateKey

  • validatePrivateKey(privateKey: string | Buffer): never