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 can run the peaq DID operations that create and manage 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, wssBaseUrl, seed, customDocumentFields)

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

Update DID Code Examples

remove(name, address, seed)

Deletes a previously created DID Document from the chain.

Remove DID Code Examples