@chromia/ft4 - v2.1.0
    Preparing search index...

    Interface FtKeyStore

    Represents a key store which holds an ft key

    interface FtKeyStore {
        id: Buffer;
        isInteractive: boolean;
        pubKey: Buffer;
        createKeyHandler(authDescriptor: AnyAuthDescriptor): KeyHandler;
        sign(
            transaction: RawGtx | GTX,
            merkleHashVersionSource: MerkleHashVersionSource,
        ): Promise<Buffer<ArrayBufferLike>>;
    }

    Hierarchy (View Summary)

    Index

    Properties

    id: Buffer
    isInteractive: boolean
    pubKey: Buffer

    Methods

    • Signs a transaction

      Parameters

      • transaction: RawGtx | GTX

        the transaction to sign

      • merkleHashVersionSource: MerkleHashVersionSource

        the source of the merkle hash version

      Returns Promise<Buffer<ArrayBufferLike>>

      the signed transaction, serialized to a Buffer