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

CHIP-0018: KYC-VC Proof Structure #67

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

danieljperry
Copy link
Contributor

  • Assign CHIP-18
  • Update status to Draft

@danieljperry
Copy link
Contributor Author

This CHIP is now a Draft. It provides a standard for formatting metadata proofs specifically for Know Your Customer Verifiable Credentials on Chia's blockchain. Feel free to discuss it either on Discord or in our developers' forum:
https://developers.chia.net/t/chip-0018-kyc-vc-proof-structure

Please leave your formal reviews in this PR.

@forReason
Copy link

forReason commented Aug 10, 2023

  • Instead of strings like "over_18": "true", consider using boolean values like "over_18": true or "over_18":1
  • dates such as "issuanceDate": "2023-01-01T12:00:00Z", might be of type ulong, unix timestamp to fall in line with existing routes of the rpc interface
  • Ensure that sensitive personal data isn't stored on-chain or in any public platform. Instead, leverage cryptographic proofs or zero-knowledge proofs for verification without revealing the actual data.

@danieljperry
Copy link
Contributor Author

  • Instead of strings like "over_18": "true", consider using boolean values like "over_18": true or "over_18":1

  • dates such as "issuanceDate": "2023-01-01T12:00:00Z", might be of type ulong, unix timestamp to fall in line with existing routes of the rpc interface

One of the key features of this CHIP is that it will remain conformant with the W3C specification for Verifiable Credentials. With this in mind, the values for off-chain metadata fields such as dates must be strings. For example, see the details of the issuanceDate property in the W3C spec: https://www.w3.org/TR/vc-data-model/#issuance-date

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.

None yet

2 participants