Skip to main content

createDefaultDid() function

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

This can be used to automatically create a did:web with signing and encryption keys and listing messaging and DIDComm service endpoints.

Signature:

export declare function createDefaultDid(options: CreateDefaultDidOptions): Promise<void>

Parameters

ParameterTypeDescription
optionsCreateDefaultDidOptions

The options guiding the creation of the default DID

This API may change without a BREAKING CHANGE notice.

Returns:

Promise<void>