Skip to content

Commit

Permalink
Move did:cheqd wallet injection to plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
DaevMithran committed Dec 11, 2024
1 parent ee41b3f commit 190f649
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
8 changes: 0 additions & 8 deletions acapy_agent/wallet/did_method.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,6 @@ def holder_defined_did(self) -> HolderDefinedDid:
holder_defined_did=HolderDefinedDid.NO,
)

CHEQD = DIDMethod(
name="cheqd",
key_types=[ED25519],
rotation=True,
holder_defined_did=HolderDefinedDid.ALLOWED,
)


class DIDMethods:
"""DID Method class specifying DID methods with supported key types."""
Expand All @@ -117,7 +110,6 @@ def __init__(self) -> None:
PEER2.method_name: PEER2,
PEER4.method_name: PEER4,
TDW.method_name: TDW,
CHEQD.method_name: CHEQD,
}

def registered(self, method: str) -> bool:
Expand Down
12 changes: 0 additions & 12 deletions acapy_agent/wallet/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@
DIDMethod,
DIDMethods,
HolderDefinedDid,
CHEQD,
TDW,
)
from .did_posture import DIDPosture
from .error import WalletError, WalletNotFoundError
Expand Down Expand Up @@ -321,16 +319,6 @@ class DIDListQueryStringSchema(OpenAPISchema):
)
method = fields.Str(
required=False,
validate=validate.OneOf(
[
KEY.method_name,
SOV.method_name,
TDW.method_name,
CHEQD.method_name,
PEER2.method_name,
PEER4.method_name,
]
),
metadata={
"example": KEY.method_name,
"description": (
Expand Down

0 comments on commit 190f649

Please sign in to comment.