DIDs
Last updated
Was this helpful?
Last updated
Was this helpful?
DID stands for Decentralized IDentifiers. DIDs are meant to be globally unique identifiers that allow their owner to prove cryptographic control over them. A DID identifies any subject (e.g., a person, organization, thing, data model, abstract entity, etc.) that the controller of the DID decides that it identifies.
In Truvera, Decentralized Identifiers (DIDs) are created using the UUID v4 standard. This involves selecting a unique 128-bit identifier, typically represented as a 36-character hexadecimal string, along with an initial public key. Users have the flexibility to add and remove public keys associated with their DID document as needed. Additionally, the system supports various operations such as updating, deactivating, and listing all existing DIDs.
For a detailed example of the DIDs workflow. Please refer .
A DID, a public key, and a controller are required to create a new DID. The controller is both the owner of the public key and a DID. The DID can be created using an auto-generated keypair, and the controller will be the same as the DID unless otherwise specified. The DID and public key have no cryptographic relation.
It is important to have a public key types that is supported by Truvera, the supported type of public key is ed25519.
Return a list of all DIDs that your user account controls as fully resolved DID documents.
Exports the DID document and keys as an encrypted Universal Wallet JSON-LD document
The API supports resolving many DID methods, some examples are:
did:cheqd:f48d2ace-4947-4cb7-8550-1cef3d63e651 - resolves through the cheqd blockchain
did:key:z6MkjRagNiMu91DduvCvgEsqLZDVzrJzFrwahc4tXLt9DoHd- the public key is embedded in the DID
Deletes a DID and its metadata from the blockchain and our platform. This will also delete the associated keypair from the key management system meaning that you cannot sign messages or credentials with it after this operation. The DID will no longer be able to be resolved. This operation is not reversible.
When a DID is provided in the path, the API will attempt to resolve that DID into a . This document contains the public keys and more information relating to that DID, check document to learn more.
Return a list of all DIDs that your user account controls as fully resolved DID documents. More info about Get DID
How many items to offset by for pagination
0
How many items to return at one time (max 64)
64
The type of DID for filtering
Response containing a list of DIDs
Returns ecosystems that this DID is a participant in
DID as fully qualified, typically. did:cheqd:
did:cheqd:testnet:ac2b9027-ec1a-4ee2-aad1-1e316e7d6f59
Returns the complete information about the provided "did" which is provided via parameters text box. More info about Get DID
DID as fully qualified, typically. did:cheqd:
did:cheqd:testnet:ac2b9027-ec1a-4ee2-aad1-1e316e7d6f59
A DID Document containing information about a decentralized identifier (DID) and its associated entities.
Returns the metadata for your DID
DID as fully qualified, typically. did:cheqd:
did:cheqd:testnet:ac2b9027-ec1a-4ee2-aad1-1e316e7d6f59
{"id":"did:cheqd:testnet:f48d2ace-4947-4cb7-8550-1cef3d63e651","jobId":"0"}
Deletes a provided DID from the blockchain, further attempts to resolve this DID will fail. More info about Delete DID
DID as fully qualified, typically. did:cheqd:
did:cheqd:testnet:ac2b9027-ec1a-4ee2-aad1-1e316e7d6f59
Object containing unique id of the background task and associated data. This id can be used to query the job status
Creates a new DID on chain with an auto generated keypair, the controller will be the same as the DID unless otherwise specified. More info about Create DID
cheqd
Available options: DID as fully qualified, typically. did:cheqd:
did:cheqd:testnet:ac2b9027-ec1a-4ee2-aad1-1e316e7d6f59
DID as fully qualified, typically. did:cheqd:
did:cheqd:testnet:ac2b9027-ec1a-4ee2-aad1-1e316e7d6f59
Type of public key for DID (NOTE: secp256k1, sr25519 are deprecated)
Object containing unique id of the background task and associated data. This id can be used to query the job status
Exports the DID document and keys as an encrypted Universal Wallet JSON-LD document
DID as fully qualified, typically. did:cheqd:
did:cheqd:testnet:ac2b9027-ec1a-4ee2-aad1-1e316e7d6f59
An encrypted Universal Wallet JSON-LD document