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

integrate with KILT #15

Open
6 tasks
brenzi opened this issue Jun 24, 2023 · 0 comments
Open
6 tasks

integrate with KILT #15

brenzi opened this issue Jun 24, 2023 · 0 comments
Assignees

Comments

@brenzi
Copy link
Member

brenzi commented Jun 24, 2023

Stakeholders

in KILT's vocab

  • claimer: Reputable on Encointer who wants to add a personhood credential to their DID to use a service
  • verifier Service in need for sybil-resilience
  • attester personhood oracle which bridges reputation on Encointer to a verifiable credential for your DID

Story

  1. reputable creates a wallet on KILT using sporran
  2. reputable creates a DID in sporran
  3. reputable sends a claim with reputation proofs to the personhood oracle and specifies the claimer DID on KILT to which the VC should be linked.
  4. personhood oracle attests the claim on KILT blockchain
  5. reputable authenticates vs. service with its VC and DID, without linkability to their Encointer account(s)
  6. service verifies the reputable's claim (verifiable credential) and authorizes access

Implementation

How to attest a claim on KILT

  • register new reputation commitment purpose on Encointer mainnet
  • create a CType more or less like this (the goal of the salt is to break linkability by guessing content because he hash of the CType will be committed onchain upon attesting
{
  "$schema": "http://kilt-protocol.org/draft-01/ctype#",
  "properties": {
    "uniqueness_confidence": {
      "type": "number"
    },
    "valid_until": {
      "type": "string"
      "format": "date"
    },
    "salt": {
      "type": "string"
    }
  },
  "title": "Unique Personhood",
  "type": "object",
  "$id": "kilt:ctype:<hashknownwhenregistered>"
}
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

3 participants