Represents a key store which holds an ft key

interface FtKeyStore {
    id: Buffer;
    isInteractive: boolean;
    pubKey: Buffer;
    createKeyHandler(authDescriptor): KeyHandler;
    sign(transaction): Promise<Buffer>;
}

Hierarchy (view full)

Properties

id: Buffer
isInteractive: boolean
pubKey: Buffer

Methods

  • Signs a transaction

    Parameters

    • transaction: RawGtx | GTX

      the transaction to sign

    Returns Promise<Buffer>

    the signed transaction, serialized to a Buffer