Function buildDidDocument

  • Builds a DID document using the provided DID data.

    Parameters

    • did: Did
    • id: string

      The did:btc identifier for the DID.

    Returns DidDocument

    A DID document conforming to the W3C DID specification.