We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 584766c commit 339201aCopy full SHA for 339201a
packages/remote-server/src/default-did.ts
@@ -33,5 +33,15 @@ export async function createDefaultDid(options: CreateDefaultDidOptions) {
33
serviceEndpoint: messagingServiceEndpoint,
34
},
35
})
36
+ // list DIDCommMessaging service at the same endpoint
37
+ await options?.agent?.didManagerAddService({
38
+ did: serverIdentifier.did,
39
+ service: {
40
+ id: serverIdentifier.did + '#msg-didcomm',
41
+ type: 'DIDCommMessaging',
42
+ description: 'Handles incoming DIDComm messages',
43
+ serviceEndpoint: messagingServiceEndpoint,
44
+ },
45
+ })
46
}
47
0 commit comments