Skip to content

feat!: add generate keypair helper #887

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jul 23, 2024
Merged

Conversation

rflechtner
Copy link
Contributor

@rflechtner rflechtner commented Jul 18, 2024

fixes https://github.com/KILTprotocol/ticket/issues/3530

Adds and exposes a generateKeypair function that returns a multikey-encoded keypair.
I had to refactor multikey en-and decoding for that.

How to test:

generateKeypair is being used on did helper integration tests.

Checklist:

  • I have verified that the code works
  • I have verified that the code is easy to understand
    • If not, I have left a well-balanced amount of inline comments
  • I have left the code in a better state
  • I have documented the changes (where applicable)
    • Either PR or Ticket to update the Docs
    • Link the PR/Ticket here

@rflechtner rflechtner changed the base branch from develop to rf-did-helpers July 18, 2024 15:04
@rflechtner rflechtner force-pushed the rf-generate-keypair branch from 0657bbe to 2c26b02 Compare July 22, 2024 10:43
@rflechtner rflechtner requested a review from abdulmth July 22, 2024 10:48
@rflechtner rflechtner marked this pull request as ready for review July 22, 2024 10:48
@abdulmth abdulmth merged commit 57e6d8e into rf-did-helpers Jul 23, 2024
1 check passed
@abdulmth abdulmth deleted the rf-generate-keypair branch July 23, 2024 09:18
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.

2 participants