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

Support participant onboarding #11

Open
mikeus9908 opened this issue Dec 18, 2024 · 1 comment
Open

Support participant onboarding #11

mikeus9908 opened this issue Dec 18, 2024 · 1 comment
Assignees

Comments

@mikeus9908
Copy link

Add an API endpoint that generates a new identity in Sedimark.
The caller must provide:

  • Service endpoint(s)
  • Subject claims (TBD)

The booth should complete the onboarding operations:

  • Create identity and evm keypairs
  • Create new DID Document and upload on the DLT
  • Communicate with the issuer for obtaining a valid Verifiable Credential
@mikeus9908 mikeus9908 self-assigned this Dec 18, 2024
@psotres
Copy link
Collaborator

psotres commented Dec 19, 2024

Example of SEDIMARK preliminary VC:

------------------------ JWT header -----------------------
{
  "kid": "did:iota:rms:0x2b7ac707e71eda93135e1a457718f2d87f387ff66d62c8084ef06301110086ef#W1lJ9vr23XhK8kV8YTu27njdBBwjtHG0AWoNveHGD18",
  "typ": "JWT",
  "alg": "EdDSA"
}
------------------------ JWT Payload ----------------------
{
  "exp": 1762939547,
  "iss": "did:iota:rms:0x2b7ac707e71eda93135e1a457718f2d87f387ff66d62c8084ef06301110086ef",
  "nbf": 1731317147,
  "jti": "[https://example.market/credentials/22"](https://example.market/credentials/22%22),
  "sub": "did:iota:rms:0x3f6d68268dfbe4773065d46b04aec98d35d3bfcca4282649ed256b97d1834a38",
  "vc": {
    "@context": "[https://www.w3.org/2018/credentials/v1"](https://www.w3.org/2018/credentials/v1%22),
    "type": [
      "VerifiableCredential",
      "MarketplaceCredential"
    ],
    "credentialSubject": {
      "name": "Michele",
      "surname": "Festa",
      "userOf": "SEDIMARK marketplace"
    }
  }
}
------------------------ signature ------------------------
qE5IUBstqp5umFtcYXuNZx9QintXLuz5vSWh46CQKmRv9PW3m5QvZy0uW_xaH_rBP9TI5wddAUF8pEoKKkW1CA

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

No branches or pull requests

2 participants