You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before your application can communicate with KILT extensions, call the `initializeKiltExtensionAPI()` method to signal the API versions supported by your application so the extension can inject the appropriate scripts.
25
+
Before your application can communicate with KILT extensions, call the `initializeKiltExtensionAPI()` method to signal the API versions supported by your application so the extension can inject the appropriate scripts. This should happen at the earliest point possible on page load, or it won't inject the scripts.
37
26
38
27
<TabsgroupId="ts-js-choice">
39
28
<TabItemvalue='ts'label='Typescript'default>
@@ -151,20 +140,16 @@ The following is an example of how you can use this method in a React applicatio
151
140
</TabItem>
152
141
</Tabs>
153
142
154
-
## Well-Known DID Configuration
143
+
## DID Configuration
144
+
145
+
You need [an existing DID configuration](../../01_sdk/02_cookbook/01_dids/00_generate_keys.md) setup for your application to communicate with KILT extensions.
155
146
156
147
This library helps set up the [Well-Known DID Configuration](https://identity.foundation/.well-known/resources/did-configuration/) as required by the [KILT Credential API specification](https://github.com/KILTprotocol/spec-ext-credential-api).
157
148
158
149
### Using the CLI Tool
159
150
160
151
This library includes a CLI tool to create a [DID Configuration Resource](https://identity.foundation/.well-known/resources/did-configuration/#did-configuration-resource). This resource is necessary to establish a secure, end-to-end encrypted communication channel between a conforming browser extension and the application backend.
161
152
162
-
:::warning KILT Account
163
-
164
-
The `createDidConfig` CLI tool **only** works if you installed the package with Yarn.
0 commit comments