Skip to main content
This concept has been absorbed into peaqOS. See peaqID for the current identity model.
Using the instance created on the previous pages you are able to execute the peaq DID functionalities that allow for the creation of a DID Document.

create(name, address, seed, customDocumentFields)

Enables the creation of a decentralized identity on-chain for your given entity.

customDocumentFields

Verification

Signature

Services

Create DID Code Examples

read(name, address, wssBaseUrl)

Allows a user to read a previously created DID from the chain.

Read DID Code Examples

update(name, address, seed, customDocumentFields)

Allows the owner of the DID Document to update a previously created one. Uses the same parameters as createDid() function above for the Custom Document Fields.

Update DID Code Examples

remove(name, address, seed)

Deletes a previously created DID Document from the chain.

Remove DID Code Examples