Class FoundationDI

Class representing Coldcard Device Integration and implementing the Airgapped interface.

Implements

  • Airgapped

Constructors

Properties

policyRegistrationRequired: boolean = true

Indicates whether policy registration is required.

Methods

  • Extracts a signature from a signed message.

    Parameters

    • message: string

      The signed message.

    Returns Signature

    • The extracted signature.

    Throws

    • Throws an error if the file format is invalid.
  • Extracts device information from a Foundation Passport config file.

    Parameters

    • xpubConfigExport: FoundationXpubExport

      The Foundation Xpub Export object.

    • isMultisigWallet: boolean

      Indicates if the wallet is multisig.

    Returns DeviceKeyParams

    • The device key parameters.