Function createAccountCommitmentInputWithHdWallet

  • Creates the commitment input required to generate a proof for account credential statements. Uses a ConcordiumHdWallet to derive the necessary randomness values.

    Returns

    Account commitment input for proof generation

    Parameters

    • statements: AtomicStatementV2[]

      The atomic statements to prove

    • identityProvider: number

      The identity provider index that issued the credential

    • attributes: AttributeList

      The credential holder's attributes

    • wallet: ConcordiumHdWallet

      The HD wallet for deriving randomness

    • identityIndex: number

      The identity index in the wallet

    • credIndex: number

      The credential index in the wallet

    Returns AccountCommitmentInput

Generated using TypeDoc