Skip to content

Commit 02d4c81

Browse files
committed
🎨 lint
Signed-off-by: ff137 <[email protected]>
1 parent 0110436 commit 02d4c81

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

DIDMethods.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# DID methods in ACA-Py
1+
# DID Methods in ACA-Py
2+
23
Decentralized Identifiers, or DIDs, are URIs that point to documents that describe cryptographic primitives and protocols used in decentralized identity management.
34
DIDs include methods that describe where and how documents can be retrieved.
45
DID methods support specific types of keys and may or may not require the holder to specify the DID itself.
@@ -8,11 +9,12 @@ ACA-Py provides a `DIDMethods` registry holding all the DID methods supported fo
89
> :warning: Askar and InMemory are the only wallets supporting this registry.
910
1011
## Registering a DID method
12+
1113
By default, ACA-Py supports `did:key` and `did:sov`.
12-
Plugins can register DID additional methods to make them available to holders.
14+
Plugins can register DID additional methods to make them available to holders.
1315
Here's a snippet adding support for `did:web` to the registry from a plugin `setup` method.
1416

15-
```python=
17+
```python
1618
WEB = DIDMethod(
1719
name="web",
1820
key_types=[ED25519, BLS12381G2],
@@ -30,7 +32,7 @@ async def setup(context: InjectionContext):
3032
`POST /wallet/did/create` can be provided with parameters for any registered DID method. Here's a follow-up to the
3133
`did:web` method example:
3234

33-
```json=
35+
```json
3436
{
3537
"method": "web",
3638
"options": {

0 commit comments

Comments
 (0)