The abstract base class for Kadena wallets to extend

Hierarchy

Constructors

Properties

#accounts: AccountsList

Accessors

  • get accounts(): AccountsList
  • Returns list of the wallet's accounts and their corresponding pubkeys

    Returns

    Returns AccountsList

Methods

  • Disconnect the wallet and cleanup. The wallet should be safe to delete/gc after calling this.

    Returns

    Returns Promise<void>

  • Quicksigns an array of pact transactions

    Returns

    the signed txs, ready to JSON.stringify and send

    Throws

    if signing failed

    Parameters

    • _cmds: PactCommand[]

    Returns Promise<ICommand[]>

  • Signs a pact transaction

    Returns

    the signed tx, ready to JSON.stringify and send

    Throws

    if signing failed

    Parameters

    • _cmd: PactCommand

    Returns Promise<ICommand>

  • Connect and instantiate the wallet

    Returns

    Throws

    if connection failed

    Parameters

    • _args: any

    Returns Promise<KdaWallet>

  • Checks if this wallet is installed and available for use

    Returns

    Returns Promise<boolean>

  • Returns the name of this wallet

    Returns

    Returns string

Generated using TypeDoc