Skip to content

feat: implement deactivate prism:did operations on sdk-ts - #665

Merged
elribonazo merged 1 commit into
mainfrom
features/prism-did-deactivate
Jul 3, 2026
Merged

feat: implement deactivate prism:did operations on sdk-ts#665
elribonazo merged 1 commit into
mainfrom
features/prism-did-deactivate

Conversation

@elribonazo

@elribonazo elribonazo commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Description

This pull request implements the deactivate prism:did operation, whenever a DID is published, updated or deactivated upon submitting the transaction we will get the TxID, we will need to store it somewhere and use this endpoint to get the latest operation hash into the deactivate operation.

Code breakdown:

castor.deactivateDID("prism", {previousOperationHash: Uint8Array}) => AtalaObject 

This AtalaObject needs to be submitted to the neoprism node or to one of the existing web3 wallets in Cardano.

Checklist

  • My PR follows the contribution guidelines of this project
  • My PR is free of third-party dependencies that don't comply with the Allowlist
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked the PR title to follow the conventional commit specification

@elribonazo
elribonazo requested a review from a team as a code owner July 3, 2026 10:31
@elribonazo elribonazo linked an issue Jul 3, 2026 that may be closed by this pull request
patextreme
patextreme previously approved these changes Jul 3, 2026
Signed-off-by: Francisco Javier Ribo Labrador <elribonazo@gmail.com>
@elribonazo
elribonazo force-pushed the features/prism-did-deactivate branch from 750433c to 8c25f80 Compare July 3, 2026 13:23
@elribonazo
elribonazo enabled auto-merge July 3, 2026 13:23
@elribonazo
elribonazo requested a review from patextreme July 3, 2026 13:23
@sonarqubecloud

sonarqubecloud Bot commented Jul 3, 2026

Copy link
Copy Markdown

@elribonazo
elribonazo added this pull request to the merge queue Jul 3, 2026
Merged via the queue into main with commit b5f0a60 Jul 3, 2026
8 checks passed
@elribonazo
elribonazo deleted the features/prism-did-deactivate branch July 3, 2026 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: deactivate prism:did

2 participants