Function createAccountDID

  • Creates a DID string for an account credential. Used to build a request for a verifiable credential based on an account credential.

    Returns

    DID string in format: did:ccd:{network}:cred:{credId}

    Parameters

    • network: Network

      The Concordium network

    • credId: string

      The credential ID (registration ID)

    Returns DIDString

Generated using TypeDoc