did.agentCreate a DID based on the write key-pair. function agent(crypto: Crypto.Implementation): Promise<string>;§agent(crypto: Crypto.Implementation): Promise<string>[src]§Parameters§crypto: Crypto.Implementation[src]§Return Type§Promise<string>[src]