create
Creates a new "did:dht" DID, derived from an initial identity key, and stores the associated private key in the provided KeyManager.
The method-specific identifier of a "did:dht" DID is a z-base-32 encoded public key.
Note: By default, no additional keys or services are added to the document
Return
A DidDht instance representing the newly created "did:dht" DID.
Parameters
key Manager
A KeyManager instance where the new key will be stored.
options
Optional parameters (CreateDidDhtOptions) to specify additional keys, services, and optional publishing during creation.