DID Registry

Hypersign Decentralized Identifiers (Hypersign DID) comply W3C DID specification and is built on top of Hypersign Identity Blockchain Network. It implements Hypersign DID scheme (did:hid).

Note: did:hid DID scheme is yet to be officially registered on W3C DID registry.

Decentralised Identifiers are cryptographically-verifiable identifiers which are stored on a decentralised ledger, which enables users to own and manage their ID.

Syntax of did:hid method

The did:hid method are as follows:

did                = "did:" method-name ":" [chain-namespace] ":" method-specific-id
method-name        = "hid"
chain-namespace    = ALPHA / DIGIT
method-specific-id = Minimum 32 Length alphanumeric string
id-char            = ALPHA / DIGIT

Description of ID segments

  • did - Document Identifier of DID Document

  • hid - Method name

  • <chain-namespace> - (Optional) Name of the blockchain where the VC status is registered. It is omitted for the document registered on mainnet chain

  • <method-specific-id> - Alpha-numeric string of minimum 32 character length

Supported Digital Signature Algorithms

  • ed25519

  • secp256k1

Supported DID Method Operations

The did:hid method supports the following operations:

  • Transaction Based:

    • Register a DID document

    • Update a DID document

    • Deactivate a DID document

  • Query Based:

    • Query DID Document(s)

CLI Usage

Register DID

CLI Signature

Example

Query DID

CLI Signature

Example

REST

  1. Get the list of registered DID Documents

URL: http://<REST-URL>/hypersign-protocol/hidnode/ssi/did

Output:

  1. Query the DID Document for an input DID id

URL: http://<REST-URL>/hypersign-protocol/hidnode/ssi/did/did:hid:<chain-namespace>:z8BXg2zjwBRTrjPs7uCnkFBKrL9bPD14HxEJMENxm3CJ4

Output:

Update DID

CLI Signature

Example

Deactivate DID

CLI Signature

Example

Last updated