Skip to content
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

Implement Contract initialization #8

Closed
4 tasks
miguelnietoa opened this issue Nov 3, 2023 · 0 comments
Closed
4 tasks

Implement Contract initialization #8

miguelnietoa opened this issue Nov 3, 2023 · 0 comments
Labels
👍 Feature New feature or request

Comments

@miguelnietoa
Copy link
Member

Objective

Implement the initialize function in the contract.

Note
This contract should be able to set the DID attributes on initialization. However, the contract will not receive the DID attributes for now. Once the function to set the DID attributes is implemented, the initialize function will need to be updated.

Checklist

  • Receive admin and DID method.
  • Perform base32 encoding in Rust without relying on external crates.
  • Generate a random DID method-specific ID, encode it in base32, and return it within the initialize function.
  • Add tests.
@miguelnietoa miguelnietoa added the 👍 Feature New feature or request label Nov 3, 2023
@miguelnietoa miguelnietoa mentioned this issue Nov 8, 2023
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👍 Feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant