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